summaryrefslogtreecommitdiffstats
path: root/front_end
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2020-03-03 12:37:50 +0000
committerKornel <kornel@geekhood.net>2020-03-03 19:24:32 +0000
commit9d2af084e1a86015e473b46501cc7d7b9abe1d19 (patch)
treec95695adc8350845244e5303528473b981d58f6e /front_end
parent87af4966975e6b70b176f9fe75877ba99b7a6264 (diff)
List style unf
Diffstat (limited to 'front_end')
-rw-r--r--front_end/templates/cat_page.rs.html4
-rw-r--r--front_end/templates/trending.rs.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/front_end/templates/cat_page.rs.html b/front_end/templates/cat_page.rs.html
index 3c04d82..ba8e42b 100644
--- a/front_end/templates/cat_page.rs.html
+++ b/front_end/templates/cat_page.rs.html
@@ -63,7 +63,7 @@
@if p.has_subcategories_and_siblings() {
<nav id="category-subcategories" role="navigation">
<div class="inner-col">
- <ul>
+ <ul class="crates-list">
@for subcat in p.subcategories_and_siblings() {
<li><a href="@url.category(subcat)">
<div class=h>
@@ -80,7 +80,7 @@
<div id="category-crates" class="cat-@p.cat.slug">
<div class="inner-col">
- <ul>
+ <ul class="crates-list">
@for (c, downloads) in &p.crates {
<li>
<a href="@url.krate(c)">
diff --git a/front_end/templates/trending.rs.html b/front_end/templates/trending.rs.html
index 2db0002..1090291 100644
--- a/front_end/templates/trending.rs.html
+++ b/front_end/templates/trending.rs.html
@@ -27,13 +27,13 @@
<div class="inner-col">
<section class="new">
<h3>Notable new releases</h3>
- <ul>
+ <ul class="crates-list">
@:simple_list_html(updated, url, markup, true)
</ul>
</section>
<section class="trending">
<h3>Trending this month</h3>
- <ul>
+ <ul class="crates-list">
@:simple_list_html(trending, url, markup, false)
</ul>
</section>