* Added authentication.
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
<h2>Information</h2>
|
||||
|
||||
<table>
|
||||
<table class="layoutTable">
|
||||
<tr>
|
||||
<th>Build ID:</th>
|
||||
<td>[% build.id %]</td>
|
||||
|
@ -109,8 +109,12 @@
|
||||
<li>
|
||||
<div class="title">Admin</div>
|
||||
<ul class="submenu">
|
||||
[% INCLUDE makeLink uri = c.uri_for('/users') title = "Users" %]
|
||||
[% INCLUDE makeLink uri = c.uri_for('/createproject') title = "Create a project" %]
|
||||
[% IF c.user_exists %]
|
||||
[% INCLUDE makeLink uri = c.uri_for('/logout') title = "Logout" %]
|
||||
[% ELSE %]
|
||||
[% INCLUDE makeLink uri = c.uri_for('/login') title = "Login" %]
|
||||
[% END %]
|
||||
[% INCLUDE makeLink uri = c.uri_for('/createproject') title = "Create project" %]
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -121,6 +125,9 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
Generated on [% date.format %].
|
||||
[% IF c.user_exists %]
|
||||
You are logged in as <tt>[% c.user.username %]</tt>.
|
||||
[% END %]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
<h4>Information</h4>
|
||||
|
||||
<table>
|
||||
<table class="layoutTable">
|
||||
[% IF edit %]
|
||||
<tr>
|
||||
<th>Identifier:</th>
|
||||
@ -148,7 +148,7 @@
|
||||
|
||||
<h2>General information</h2>
|
||||
|
||||
<table>
|
||||
<table class="layoutTable">
|
||||
[% IF edit %]
|
||||
<tr>
|
||||
<th>Identifier:</th>
|
||||
@ -258,7 +258,7 @@
|
||||
|
||||
<h2>Statistics</h2>
|
||||
|
||||
<table>
|
||||
<table class="layoutTable">
|
||||
<tr>
|
||||
<th>Finished builds:</th>
|
||||
<td>[% finishedBuilds %]</td>
|
||||
|
@ -29,6 +29,10 @@ table {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.layoutTable td, .layoutTable th {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
|
Reference in New Issue
Block a user