summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 05:16:31 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 05:16:31 +0100
commita73c6bc96cc6c61fc8de6c5f12def7b52ad2174d (patch)
tree570964fa00353b54887ff8fe89f3d50c53197872
parentb4b3f4f17b6b347633459c3f00322d78e77f0814 (diff)
downloadpadlite-teams-a73c6bc96cc6c61fc8de6c5f12def7b52ad2174d.tar.gz
padlite-teams-a73c6bc96cc6c61fc8de6c5f12def7b52ad2174d.tar.bz2
padlite-teams-a73c6bc96cc6c61fc8de6c5f12def7b52ad2174d.zip
templates/group: add fullsize links in tables cells
-rw-r--r--static/css/custom.css20
-rw-r--r--templates/group.html4
2 files changed, 22 insertions, 2 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index 2f86aee..415fe0e 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -8,3 +8,23 @@
padding: 15px 0;
}
+.table > thead > tr > th.nopadding > a.block,
+.table > tbody > tr > th.nopadding > a.block,
+.table > tfoot > tr > th.nopadding > a.block,
+.table > thead > tr > td.nopadding > a.block,
+.table > tbody > tr > td.nopadding > a.block,
+.table > tfoot > tr > td.nopadding > a.block {
+ display: block;
+ width: 100%;
+ line-height: 38px;
+}
+
+.table > thead > tr > th.nopadding,
+.table > tbody > tr > th.nopadding,
+.table > tfoot > tr > th.nopadding,
+.table > thead > tr > td.nopadding,
+.table > tbody > tr > td.nopadding,
+.table > tfoot > tr > td.nopadding {
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
diff --git a/templates/group.html b/templates/group.html
index 8d90599..fdc53ee 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -30,8 +30,8 @@
{% endif %}
<tr>
- <td class="col-sm-11">
- <a href="{{ url_for('pad', group_name=group.name, pad_name=pad.name) }}" class="btn-block">{{pad}}</a>
+ <td class="col-sm-11 nopadding">
+ <a href="{{ url_for('pad', group_name=group.name, pad_name=pad.name) }}" class="block">{{pad}}</a>
</td>
<td class="col-sm-1 text-right">
<a href="{{ url_for('pad_change', group_name=group.name, pad_name=pad.name) }}" class="btn-block glyphicon glyphicon-cog" />