Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
ben
/
copyvios
espelhamento de
https://github.com/earwig/copyvios
Observar
1
Favorito
1
Fork
0
Código
Versões
0
Atividade
Ver código fonte
More adjustments.
pull/24/head
Ben Kurtovic
12 anos atrás
pai
a68e63af4b
commit
3cf62618b2
2 arquivos alterados
com
10 adições
e
6 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
pages/settings.mako
+9
-5
static/css/main.css
+ 1
- 1
pages/settings.mako
Ver arquivo
@@ -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
Ver arquivo
@@ -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 {
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar