Browse Source

Clean up, units.

master
Ben Kurtovic 8 years ago
parent
commit
705168771a
3 changed files with 7 additions and 3 deletions
  1. +4
    -0
      static/style.css
  2. +2
    -2
      templates/index.mako
  3. +1
    -1
      templates/support/header.mako

+ 4
- 0
static/style.css View File

@@ -86,3 +86,7 @@ footer {
font-style: italic;
color: #555;
}

.unit {
font-size: small;
}

+ 2
- 2
templates/index.mako View File

@@ -24,11 +24,11 @@
<table>
<tr>
<td>TIF</td>
<td>${"{0:.2f}".format(result["tif"])} views/min</td>
<td>${"{0:.2f}".format(result["tif"])} <span class="unit">views/min</span></td>
</tr>
<tr>
<td>Transclusions</td>
<td>${result["transclusions"]}</td>
<td>${result["transclusions"]} <span class="unit">pages</span></td>
</tr>
<tr>
<td>Protection</td>


+ 1
- 1
templates/support/header.mako View File

@@ -10,6 +10,6 @@
<body>
<header>
<h1><a href="${request.script_root}">TIF Calculator</a></h1>
<p>Calculate the <a href="https://en.wikipedia.org/wiki/User:The_Earwig/Sandbox/TIF">template influence factor</a> of any page on the English Wikipedia</p>
<p>Calculate the <a href="https://en.wikipedia.org/wiki/User:The_Earwig/Sandbox/TIF">template influence factor</a> of any page on the English Wikipedia.</p>
</header>
<div id="container">

Loading…
Cancel
Save