summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Dobrowolski <admin@tastycode.pl>2017-04-08 12:59:24 +0200
committerPiotr Dobrowolski <admin@tastycode.pl>2017-04-08 12:59:24 +0200
commitba98a32eb3dd72d13ffae50207ce421a72cf2824 (patch)
treea21ce733929d05e94d08d8a30f03504b702082e3
parent23370b41d9abd22ba82028f2b3a3832593e71acd (diff)
downloadbitvend-ba98a32eb3dd72d13ffae50207ce421a72cf2824.tar.gz
bitvend-ba98a32eb3dd72d13ffae50207ce421a72cf2824.tar.bz2
bitvend-ba98a32eb3dd72d13ffae50207ce421a72cf2824.tar.xz
bitvend-ba98a32eb3dd72d13ffae50207ce421a72cf2824.zip
Table .placeholder styling
-rw-r--r--bitvend/templates/base.html5
-rw-r--r--bitvend/templates/index.html5
2 files changed, 10 insertions, 0 deletions
diff --git a/bitvend/templates/base.html b/bitvend/templates/base.html
index 692a419..9096398 100644
--- a/bitvend/templates/base.html
+++ b/bitvend/templates/base.html
@@ -35,6 +35,11 @@
.input-group-btn .btn {
padding-bottom: 8px;
}
+ .placeholder {
+ text-align: center;
+ opacity: 0.5;
+ font-style: italic;
+ }
</style>
</head>
<body>
diff --git a/bitvend/templates/index.html b/bitvend/templates/index.html
index afd89b3..2c2cbe6 100644
--- a/bitvend/templates/index.html
+++ b/bitvend/templates/index.html
@@ -90,6 +90,11 @@
{% else %}
<tr><td colspan=3 class="placeholder">Nothing to see here...</td></tr>
{% endfor %}
+ {% if transactions.count() == 10 %}
+ <tr><td colspan=3 class="placeholder">
+ <a href="{{ url_for('.transactions') }}" class="btn btn-block">See more...</a>
+ </td></tr>
+ {% endif %}
</table>
</div>
</div>