This website works better with JavaScript.
首頁
說明
登入
ben
/
copyvios
镜像来自
https://github.com/earwig/copyvios
關註
1
收藏
1
複製
0
程式碼
版本發佈
0
Activity
瀏覽代碼
More adjustments.
pull/24/head
Ben Kurtovic
12 年之前
父節點
a68e63af4b
當前提交
3cf62618b2
共有
2 個文件被更改
,包括
10 次插入
和
6 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
pages/settings.mako
+9
-5
static/css/main.css
+ 1
- 1
pages/settings.mako
查看文件
@@ -2,12 +2,12 @@
<%namespace module="toolserver.settings" import="main"/>\
<%! from json import dumps, loads %>
<% bot, cookies, status, langs, projects = main(environ, headers) %>
<h1>Settings</h1>
% if status:
<div class="green-box">
<p>${status}</p>
</div>
% endif
<h1>Settings</h1>
<p>This page contains some configurable options for this Toolserver site. Settings are saved as cookies. You can view and delete all cookies generated by this site at the bottom of this page.</p>
<form action="${environ['PATH_INFO']}" method="post">
<input type="hidden" name="action" value="set">
+ 9
- 5
static/css/main.css
查看文件
@@ -11,6 +11,10 @@ ul, ol {
line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0.30em;
}
div#header {
margin: 30px 60px 30px 60px;
padding: 2px 15px 2px 15px;
@@ -21,7 +25,7 @@ div#header {
div#container {
line-height: 1.25;
margin: 0 60px 100px 60px;
padding:
5px 15px 10
px 15px;
padding:
15px 15px 15
px 15px;
border: 1px solid #777;
background-color: #FFF;
}
@@ -81,15 +85,15 @@ div.divider {
div.green-box {
padding: 0 10px 0 10px;
margin: 0 5px 10px 5px;
background-color: #
F
EE;
border: 1px solid #
F
77;
background-color: #E
F
E;
border: 1px solid #7
F
7;
}
div.red-box {
padding: 0 10px 0 10px;
margin: 0 5px 10px 5px;
background-color: #
E
FE;
border: 1px solid #
7
F7;
background-color: #F
E
E;
border: 1px solid #F
7
7;
}
div.indentable {
Write
Preview
Loading…
取消
儲存