Update info page.

This commit is contained in:
Lars Jung 2014-07-02 22:15:57 +02:00
parent ccd98fb113
commit b5e6f9b860
3 changed files with 58 additions and 70 deletions

View file

@ -16,14 +16,6 @@ body#h5ai-info {
color: @col-hover; color: @col-hover;
} }
} }
.idx-file {
margin-top: 1em;
font-size: 0.6em;
display: block;
color: #aaa;
}
code { code {
margin: 0 0.2em; margin: 0 0.2em;
padding: 2px 4px; padding: 2px 4px;
@ -41,63 +33,72 @@ body#h5ai-info {
font-size: 1.15em; font-size: 1.15em;
margin: 2.6em 0 0 0; margin: 2.6em 0 0 0;
} }
p {
line-height: 1.6em;
} #support {
p + p { margin: 12px auto 24px auto;
margin-top: 1.2em; padding: 6px 18px;
} width: 164px;
li { font-size: 12px;
margin-top: 0.6em; background: @col-widget-back;
line-height: 1.4em; border: @border-widget;
border-radius: 4px;
.paypal {
margin: 6px 0 0 0;
}
} }
#login-wrapper { #login-wrapper {
margin: 96px 0; margin: 96px 0;
font-size: 14px; font-size: 14px;
}
#pass { #pass {
-moz-appearance: none; -moz-appearance: none;
-ms-appearance: none; -ms-appearance: none;
-webkit-appearance: none; -webkit-appearance: none;
font-family: @font-family; font-family: @font-family;
font-weight: @font-weight; font-weight: @font-weight;
color: @col; color: @col;
background: @col-widget-back-highlight; background: @col-widget-back-highlight;
border: @border-widget; border: @border-widget;
outline: none; outline: none;
display: inline-block; display: inline-block;
width: 200px; width: 200px;
height: 30px; height: 30px;
padding: 0 6px; padding: 0 6px;
margin: 8px; margin: 8px;
} }
#login, #logout {
display: inline-block;
padding: 4px 16px;
margin: 8px;
background-color: @col-widget-back;
border: @border-widget;
cursor: pointer;
color: @col; #login, #logout {
cursor: pointer; display: inline-block;
text-decoration: none; padding: 4px 16px;
.transition(all 0.2s ease-in-out); margin: 8px;
background-color: @col-widget-back;
border: @border-widget;
cursor: pointer;
&:hover, &.hover { color: @col;
background-color: @col-widget-back-highlight; cursor: pointer;
color: @col-hover; text-decoration: none;
} .transition(all 0.2s ease-in-out);
}
#hint { &:hover, &.hover {
margin: 12px auto; background-color: @col-widget-back-highlight;
width: 360px; color: @col-hover;
color: @col;
font-size: 12px;
} }
} }
#hint {
margin: 12px auto;
width: 360px;
color: @col;
font-size: 12px;
}
#tests-wrapper { #tests-wrapper {
margin: 96px 0; margin: 96px 0;
} }
@ -110,6 +111,7 @@ body#h5ai-info {
padding: 0; padding: 0;
.test { .test {
margin: 12px 0 0 0;
padding: 6px; padding: 6px;
.label { .label {
@ -139,18 +141,8 @@ body#h5ai-info {
} }
} }
#bottombar { #bottombar {
font-size: 13px; font-size: 13px;
} }
#donation {
margin: 12px auto;
width: 360px;
color: @col;
font-size: 12px;
.paypal {
margin: 6px;
}
}
} }

View file

@ -153,10 +153,6 @@ modulejs.define('info', ['$', 'config'], function ($, config) {
init = function () { init = function () {
$('<span class="idx-file">Index: <code class="value"></code></span>')
.appendTo('body')
.find('.value').text(setup.INDEX_HREF);
if (setup.AS_ADMIN) { if (setup.AS_ADMIN) {
addTests(); addTests();
} }

View file

@ -21,7 +21,7 @@ html.no-js.browser( lang="en" )
h1 h1
a( href="{{pkg.url}}" ) {{pkg.name}} a( href="{{pkg.url}}" ) {{pkg.name}}
div#donation div#support
| show your love and support for h5ai with a small donation | show your love and support for h5ai with a small donation
div.paypal div.paypal
form( action="https://www.paypal.com/cgi-bin/webscr", method="post", target="_top" ) form( action="https://www.paypal.com/cgi-bin/webscr", method="post", target="_top" )