Ver a proveniência

Clean up, units.

master
Ben Kurtovic há 8 anos
ascendente
cometimento
705168771a
3 ficheiros alterados com 7 adições e 3 eliminações
  1. +4
    -0
      static/style.css
  2. +2
    -2
      templates/index.mako
  3. +1
    -1
      templates/support/header.mako

+ 4
- 0
static/style.css Ver ficheiro

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

.unit {
font-size: small;
}

+ 2
- 2
templates/index.mako Ver ficheiro

@@ -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 Ver ficheiro

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

Carregando…
Cancelar
Guardar