Pārlūkot izejas kodu

Clean up, units.

master
Ben Kurtovic pirms 9 gadiem
vecāks
revīzija
705168771a
3 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  1. +4
    -0
      static/style.css
  2. +2
    -2
      templates/index.mako
  3. +1
    -1
      templates/support/header.mako

+ 4
- 0
static/style.css Parādīt failu

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

.unit {
font-size: small;
}

+ 2
- 2
templates/index.mako Parādīt failu

@@ -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 Parādīt failu

@@ -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">

Notiek ielāde…
Atcelt
Saglabāt