Slight layout tweak

This commit is contained in:
Eelco Dolstra 2013-11-06 13:32:56 +01:00
parent 55f9d23933
commit 8928c35ecd
2 changed files with 11 additions and 15 deletions

View file

@ -65,28 +65,24 @@
</div> </div>
<div class="container"> <div class="container">
[% IF flashMsg %] [% IF flashMsg %]
<br />
<div class="alert alert-info">[% flashMsg %]</div> <div class="alert alert-info">[% flashMsg %]</div>
[% END %] [% END %]
[% IF successMsg %] [% IF successMsg %]
<br />
<div class="alert alert-success">[% successMsg %]</div> <div class="alert alert-success">[% successMsg %]</div>
[% END %] [% END %]
[% IF errorMsg %] [% IF errorMsg %]
<br />
<div class="alert alert-warning">Error: [% errorMsg %]</div> <div class="alert alert-warning">Error: [% errorMsg %]</div>
[% END %] [% END %]
[% IF !hideHeader %] [% IF !hideHeader %]
<div class="page-header"> <div class="page-header">
<h1><small>[% IF c.user_exists && starUri; INCLUDE makeStar; " "; END; HTML.escape(title) %]</small></h1> [% IF c.user_exists && starUri; INCLUDE makeStar; " "; END; HTML.escape(title) %]
</div> </div>
[% ELSE %] [% ELSE %]
<br /> [% IF first %]<br />[% first = 0; END; %]
[% END %] [% END %]
[% content %] [% content %]

View file

@ -2,6 +2,9 @@
body { body {
padding-top: 40px; padding-top: 40px;
} }
div.alert {
margin-top: 1em;
}
} }
.logo { .logo {
@ -68,16 +71,13 @@ h3 {
} }
div.page-header { div.page-header {
margin-top: 0em; margin-top: 1em;
margin-bottom: 1em; margin-bottom: 1em;
} padding-top: 0em;
padding-bottom: 0.5em;
div.page-header h1 { color: #999999;
margin-bottom: 0em; font-size: 123.809%;
} font-weight: normal;
div.page-header h1 small {
font-size: 45%;
} }
.shell-prompt { .shell-prompt {