Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some tags did not have closing tags and indentation was not proper in this file #2969

Merged
merged 3 commits into from
Feb 10, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 66 additions & 58 deletions openlibrary/admin/templates/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,28 @@
<div class="contentRight" style="float:right;">
<table class="records">
<tr>
<td><div class="amount">xxx</div>
<div class="label">Total Records</div></td>
<td><div class="amount">xxx</div>
<div class="label">Full Text</div></td>
<td><div class="amount">xxx</div>
<div class="label">Unique IP<span class="lowercase">s</span> Yesterday</div></td>
<td>
<div class="amount">xxx</div>
<div class="label">Total Records</div>
</td>
<td>
<div class="amount">xxx</div>
<div class="label">Full Text</div>
</td>
<td>
<div class="amount">xxx</div>
<div class="label">Unique IP<span class="lowercase">s</span> Yesterday</div>
</td>
</tr>
</table>
</div>
<h1>$_("Admin Center")</h1>
<div class="small">
<a href="http://monitor.us.archive.org/cgi-bin/nagios3/status.cgi?hostgroup=24.openlibrary&style=detail">Nagios</a>
| <a href="/admin/block">Block IPs</a>
| <a href="/admin/loans">Loans</a>
</div>
<div class="small">
<a
href="http://monitor.us.archive.org/cgi-bin/nagios3/status.cgi?hostgroup=24.openlibrary&style=detail">Nagios</a>
| <a href="/admin/block">Block IPs</a>
| <a href="/admin/loans">Loans</a>
</div>
</div>
<div id="contentBody">

Expand All @@ -35,45 +42,45 @@ <h2>Record Counts</h2>
</tr>
<tr class="major">
<td class="">Works</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr>
<td class="">Editions</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr>
<td class="">eBooks</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr>
<td class="">Covers</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr class="major">
<td class="">Authors</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr class="major">
<td class="">Subjects</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr class="major">
<td class="">Lists</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr class="major">
<td class="">User Accounts</td>
Expand Down Expand Up @@ -103,32 +110,33 @@ <h2>Edits</h2>
<tbody>
<tr class="major">
<td class="type">Human</td>
<td class="amount"><strong>$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount"><strong>$commify(1234)</strong></td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr class="even">
<td class="type">Bot</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
<tr class="totals">
<td class="type">Total</td>
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
</tr>
</tbody>
</table>

</div>

<div class="contentRight">
<div class="head rel"> <span class="caption"><a href="/admin/people" class="fixthis">New Accounts Per Day</a></span>
<div class="head rel"> <span class="caption"><a href="/admin/people" class="fixthis">New Accounts Per
Day</a></span>
<h2>Members</h2>
</div>
<div class="chartHolder">
Expand All @@ -147,10 +155,10 @@ <h2>Members</h2>
</thead>
<tbody>
<tr class="major">
<td class="amount"><strong>$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount">$commify(1234)
<td class="amount"><strong>$commify(1234)</strong></td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount">$commify(1234)</td>
<td class="amount shift"><strong>$:macros.MemberCount()</strong></td>
</tr>
<tr class="even">
Expand All @@ -168,7 +176,7 @@ <h2>Members</h2>

<div class="contentQuarter center" id="logged">
<div class="titleSmall">Logged In : Logged Out</div>
<br/>
<br />
<div class="largest fixthis">x : x</div>
</div>

Expand All @@ -178,12 +186,12 @@ <h2>Members</h2>
<div class="titleSmall fixthis">Prolific Member Editors</div>
<div class="smaller">
<a href="[USER PROFILE]">name</a>,
<a href="[USER PROFILE"]>name</a>,
<a href="[USER PROFILE"]>name</a>,
<a href="[USER PROFILE"]>name</a>,
<a href="[USER PROFILE"]>ip address</a>,
<a href="[USER PROFILE"]>name</a>,
<a href="[USER PROFILE"]>name</a>
<a href="[USER PROFILE" ]>name</a>,
hornc marked this conversation as resolved.
Show resolved Hide resolved
<a href="[USER PROFILE" ]>name</a>,
<a href="[USER PROFILE" ]>name</a>,
<a href="[USER PROFILE" ]>ip address</a>,
<a href="[USER PROFILE" ]>name</a>,
<a href="[USER PROFILE" ]>name</a>
</div>
</div>

Expand All @@ -192,7 +200,7 @@ <h2>Members</h2>
<div id="uniqueIps">
<div class="measurements">

<h3>Unique IPs</h3>
<h3>Unique IPs</h3>
<div class="caption">Yesterday</div>
<div class="measure large"><strong>xxx</strong></div>
<div class="caption">Day</div>
Expand All @@ -208,4 +216,4 @@ <h3>Unique IPs</h3>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>