Skip to content

Commit a78eba1

Browse files
committed
Added a quick button on homepage to link to new databases added in the current year
1 parent 0c24f36 commit a78eba1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

templates/core/home.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
<h1 class="display-3">Database of Databases</h1>
1414
<p class="lead">Discover and learn about <b>{{ num_systems|intcomma }}</b> database management systems</p>
1515
<form id="mainsearch" action="{% url 'browse' %}" method="GET" >
16-
<div class="form-group">
16+
<div class="form-group mb-1">
1717
<input autofocus type="text" name="q" class="form-control form-control-lg" aria-describedby="Search field" placeholder="Search" style="max-width:700px;margin:0 auto;">
1818
</div>
1919
<p class="lead">
20-
<a href="{% url 'browse' %}" class="btn btn-secondary active" role="button" aria-pressed="true"><i class="fas fa-th"></i> Browse</a>
20+
<a href="{% url 'browse' %}" class="btn btn-secondary active mt-2" role="button" aria-pressed="true"><i class="fas fa-th"></i> Browse</a>
2121
&nbsp;
22-
<a href="{% url 'stats' %}" class="btn btn-secondary active" role="button" aria-pressed="true"><i class="far fa-chart-bar"></i> Leaderboards</a>
22+
<a href="{% url 'stats' %}" class="btn btn-secondary active mt-2" role="button" aria-pressed="true"><i class="far fa-chart-bar"></i> Leaderboards</a>
23+
&nbsp;
24+
<a href="{% url 'browse' %}?start-min={% now "Y" %}" class="btn btn-secondary active mt-2" role="button" aria-pressed="true"><i class="fas fa-trophy"></i> New in {% now "Y" %}</a>
2325
</p>
2426
</form>
2527
</div>

0 commit comments

Comments
 (0)