diff options
Diffstat (limited to 'server/templates')
-rw-r--r-- | server/templates/arch.html | 12 | ||||
-rw-r--r-- | server/templates/error_404.html | 1 | ||||
-rw-r--r-- | server/templates/feature.html | 12 | ||||
-rw-r--r-- | server/templates/host.html | 16 | ||||
-rw-r--r-- | server/templates/keyword.html | 14 | ||||
-rw-r--r-- | server/templates/lang.html | 12 | ||||
-rw-r--r-- | server/templates/layout.html | 1 | ||||
-rw-r--r-- | server/templates/mirror.html | 12 | ||||
-rw-r--r-- | server/templates/package.html | 12 | ||||
-rw-r--r-- | server/templates/package_c.html | 14 | ||||
-rw-r--r-- | server/templates/package_cp.html | 16 | ||||
-rw-r--r-- | server/templates/profile.html | 12 | ||||
-rw-r--r-- | server/templates/repo.html | 14 |
13 files changed, 73 insertions, 75 deletions
diff --git a/server/templates/arch.html b/server/templates/arch.html index 535399c..04ddcf6 100644 --- a/server/templates/arch.html +++ b/server/templates/arch.html @@ -2,10 +2,10 @@ $def with (arch_data) $var title: Arch <table border="1"> - <tr> - <th>Arch</th> - <th>Hosts</th> - </tr> - $for arch in arch_data.keys(): - <tr><td>$arch</td><td>$arch_data[arch]['HOSTS']</td></tr> + <tr> + <th>Arch</th> + <th>Hosts</th> + </tr> + $for arch in arch_data.keys(): + <tr><td>$arch</td><td>$arch_data[arch]['HOSTS']</td></tr> </table> diff --git a/server/templates/error_404.html b/server/templates/error_404.html index d310a86..1d701eb 100644 --- a/server/templates/error_404.html +++ b/server/templates/error_404.html @@ -3,4 +3,3 @@ $var title: Page not found <p>The requested page was not found.</p> <p><strong>Developer note:</strong> Because Google and Microsoft think its OK to violate web standards for their own benefit, you must ensure that your error pages are larger than 512 bytes if you wish them to be displayed instead of the "friendly" error pages the browsers show. Which is why this message is here. To make the page longer. Bah.</p> - diff --git a/server/templates/feature.html b/server/templates/feature.html index 03c4bbd..e4529ae 100644 --- a/server/templates/feature.html +++ b/server/templates/feature.html @@ -2,10 +2,10 @@ $def with (feature_data) $var title: Feature <table border="1"> - <tr> - <th>Feature</th> - <th>Hosts</th> - </tr> - $for feature in feature_data.keys(): - <tr><td>$feature</td><td>$feature_data[feature]['HOSTS']</td></tr> + <tr> + <th>Feature</th> + <th>Hosts</th> + </tr> + $for feature in feature_data.keys(): + <tr><td>$feature</td><td>$feature_data[feature]['HOSTS']</td></tr> </table> diff --git a/server/templates/host.html b/server/templates/host.html index 04b1bff..b252bff 100644 --- a/server/templates/host.html +++ b/server/templates/host.html @@ -17,40 +17,40 @@ Stats for host $data['UUID'] : <br/> <br/> <li>FEATURES : <ul> $for f in data['FEATURES']: - <li>$f</li> + <li>$f</li> </ul> </li> <li>ACCEPT_KEYWORDS : <ul> $for k in data['ACCEPT_KEYWORDS']: - <li>$k</li> + <li>$k</li> </ul> </li> <li>USE : <ul> $for u in data['USE']: - <li>$u</li> + <li>$u</li> </ul> </li> <li>LANG : <ul> $for l in data['LANG']: - <li>$l</li> + <li>$l</li> </ul> </li> <li>GENTOO_MIRRORS : <ul> $for m in data['GENTOO_MIRRORS']: - <li>$m</li> + <li>$m</li> </ul> </li> <li>Installed packages : <ul> $code: - packages = data['PACKAGES'].keys() - packages.sort() + packages = data['PACKAGES'].keys() + packages.sort() $for p in packages: - <li>$p</li> + <li>$p</li> </ul> </li> </ul> diff --git a/server/templates/keyword.html b/server/templates/keyword.html index 4855040..2dee5ea 100644 --- a/server/templates/keyword.html +++ b/server/templates/keyword.html @@ -2,11 +2,11 @@ $def with (keyword_data) $var title: Keyword <table border="1"> - <tr> - <th>Keyword</th> - <th>Hosts</th> - <th>Packages</th> - </tr> - $for keyword in keyword_data.keys(): - <tr><td>$keyword</td><td>$keyword_data[keyword]['HOSTS']</td><td>$keyword_data[keyword]['PACKAGES']</td></tr> + <tr> + <th>Keyword</th> + <th>Hosts</th> + <th>Packages</th> + </tr> + $for keyword in keyword_data.keys(): + <tr><td>$keyword</td><td>$keyword_data[keyword]['HOSTS']</td><td>$keyword_data[keyword]['PACKAGES']</td></tr> </table> diff --git a/server/templates/lang.html b/server/templates/lang.html index cfda84a..bd4b2ba 100644 --- a/server/templates/lang.html +++ b/server/templates/lang.html @@ -2,10 +2,10 @@ $def with (lang_data) $var title: Lang <table border="1"> - <tr> - <th>Lang</th> - <th>Hosts</th> - </tr> - $for lang in lang_data.keys(): - <tr><td>$lang</td><td>$lang_data[lang]['HOSTS']</td></tr> + <tr> + <th>Lang</th> + <th>Hosts</th> + </tr> + $for lang in lang_data.keys(): + <tr><td>$lang</td><td>$lang_data[lang]['HOSTS']</td></tr> </table> diff --git a/server/templates/layout.html b/server/templates/layout.html index 48140d6..b144b29 100644 --- a/server/templates/layout.html +++ b/server/templates/layout.html @@ -9,4 +9,3 @@ $def with (content) $:content </body> </html> - diff --git a/server/templates/mirror.html b/server/templates/mirror.html index a6189bc..311f8fa 100644 --- a/server/templates/mirror.html +++ b/server/templates/mirror.html @@ -2,10 +2,10 @@ $def with (mirror_data) $var title: Mirror <table border="1"> - <tr> - <th>Mirror</th> - <th>Hosts</th> - </tr> - $for mirror in mirror_data.keys(): - <tr><td>$mirror</td><td>$mirror_data[mirror]['HOSTS']</td></tr> + <tr> + <th>Mirror</th> + <th>Hosts</th> + </tr> + $for mirror in mirror_data.keys(): + <tr><td>$mirror</td><td>$mirror_data[mirror]['HOSTS']</td></tr> </table> diff --git a/server/templates/package.html b/server/templates/package.html index f1a4e5c..6b1f7da 100644 --- a/server/templates/package.html +++ b/server/templates/package.html @@ -7,10 +7,10 @@ No. of category-packages: $pdata['CP_COUNT']</br> No. of category-package-versions: $pdata['CPV_COUNT']</br> Top Categories:</br> <table border="1"> - <tr> - <th>Category</th> - <th>Hosts</th> - </tr> - $for p in pdata['TOP_C']: - <tr><td>$p['CAT']</td><td>$p['HOST_COUNT']</td></tr> + <tr> + <th>Category</th> + <th>Hosts</th> + </tr> + $for p in pdata['TOP_C']: + <tr><td>$p['CAT']</td><td>$p['HOST_COUNT']</td></tr> </table> diff --git a/server/templates/package_c.html b/server/templates/package_c.html index 8247173..4971ca7 100644 --- a/server/templates/package_c.html +++ b/server/templates/package_c.html @@ -6,11 +6,11 @@ No. of category-packages: $pdata['CP_COUNT']</br> No. of category-package-versions: $pdata['CPV_COUNT']</br> Top CPs:</br> <table border="1"> - <tr> - <th>Category</th> - <th>Package</th> - <th>Hosts</th> - </tr> - $for p in pdata['TOP_CP']: - <tr><td>$p['CAT']</td><td>$p['PKG']</td><td>$p['HOST_COUNT']</td></tr> + <tr> + <th>Category</th> + <th>Package</th> + <th>Hosts</th> + </tr> + $for p in pdata['TOP_CP']: + <tr><td>$p['CAT']</td><td>$p['PKG']</td><td>$p['HOST_COUNT']</td></tr> </table> diff --git a/server/templates/package_cp.html b/server/templates/package_cp.html index 30fdb25..ac39835 100644 --- a/server/templates/package_cp.html +++ b/server/templates/package_cp.html @@ -5,12 +5,12 @@ No. of hosts: $pdata['HOST_COUNT']</br> No. of category-package-versions: $pdata['CPV_COUNT']</br> Top CPVs:</br> <table border="1"> - <tr> - <th>Category</th> - <th>Package</th> - <th>Version</th> - <th>Hosts</th> - </tr> - $for p in pdata['TOP_CPV']: - <tr><td>$p['CAT']</td><td>$p['PKG']</td><td>$p['VER']</td><td>$p['HOST_COUNT']</td></tr> + <tr> + <th>Category</th> + <th>Package</th> + <th>Version</th> + <th>Hosts</th> + </tr> + $for p in pdata['TOP_CPV']: + <tr><td>$p['CAT']</td><td>$p['PKG']</td><td>$p['VER']</td><td>$p['HOST_COUNT']</td></tr> </table> diff --git a/server/templates/profile.html b/server/templates/profile.html index 702b03b..b6feb4d 100644 --- a/server/templates/profile.html +++ b/server/templates/profile.html @@ -2,10 +2,10 @@ $def with (profile_data) $var title: Profile <table border="1"> - <tr> - <th>Profile/th> - <th>Hosts</th> - </tr> - $for profile in profile_data.keys(): - <tr><td>$profile</td><td>$profile_data[profile]['HOSTS']</td></tr> + <tr> + <th>Profile/th> + <th>Hosts</th> + </tr> + $for profile in profile_data.keys(): + <tr><td>$profile</td><td>$profile_data[profile]['HOSTS']</td></tr> </table> diff --git a/server/templates/repo.html b/server/templates/repo.html index 63371bb..98d94f6 100644 --- a/server/templates/repo.html +++ b/server/templates/repo.html @@ -2,11 +2,11 @@ $def with (repo_data) $var title: Repository <table border="1"> - <tr> - <th>Repository</th> - <th>Hosts</th> - <th>Packages</th> - </tr> - $for repo in repo_data.keys(): - <tr><td>$repo</td><td>$repo_data[repo]['HOSTS']</td><td>$repo_data[repo]['PACKAGES']</td></tr> + <tr> + <th>Repository</th> + <th>Hosts</th> + <th>Packages</th> + </tr> + $for repo in repo_data.keys(): + <tr><td>$repo</td><td>$repo_data[repo]['HOSTS']</td><td>$repo_data[repo]['PACKAGES']</td></tr> </table> |