aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-25 22:35:24 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-25 22:35:24 +0200
commit31b5b06e42415ffaf98ca09ca8641ae64e67280f (patch)
tree1b7e0ea2df7bc55c8e23458f38a3f2ec64afe726 /view
parente01873b4cf3c217f7ee0baafbee1ba9dd42e0408 (diff)
downloadvolse-hubzilla-31b5b06e42415ffaf98ca09ca8641ae64e67280f.tar.gz
volse-hubzilla-31b5b06e42415ffaf98ca09ca8641ae64e67280f.tar.bz2
volse-hubzilla-31b5b06e42415ffaf98ca09ca8641ae64e67280f.zip
Provide webpage layout description
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_layouts.css10
-rw-r--r--view/tpl/layoutlist.tpl6
2 files changed, 12 insertions, 4 deletions
diff --git a/view/css/mod_layouts.css b/view/css/mod_layouts.css
index 5a3c86733..8e0a945bf 100644
--- a/view/css/mod_layouts.css
+++ b/view/css/mod_layouts.css
@@ -15,14 +15,18 @@
padding: 7px 3px 7px 10px;
}
-#layout-list-table th:nth-child(5),
-#layout-list-table td:nth-child(5){
- padding: 7px 3px;
+#layout-list-table th:nth-child(2){
white-space: nowrap;
}
#layout-list-table th:nth-child(6),
#layout-list-table td:nth-child(6){
+ padding: 7px 3px;
+ white-space: nowrap;
+}
+
+#layout-list-table th:nth-child(7),
+#layout-list-table td:nth-child(7){
padding: 7px 10px 7px 7px;
white-space: nowrap;
}
diff --git a/view/tpl/layoutlist.tpl b/view/tpl/layoutlist.tpl
index 6812cf95b..ab7408eae 100644
--- a/view/tpl/layoutlist.tpl
+++ b/view/tpl/layoutlist.tpl
@@ -18,7 +18,8 @@
<div id="pagelist-content-wrapper" class="section-content-wrapper-np">
<table id="layout-list-table">
<tr>
- <th width="97%">{{$name}}</th>
+ <th width="1%">{{$name}}</th>
+ <th width="94%">{{$descr}}</th>
<th width="1%"></th>
<th width="1%"></th>
<th width="1%"></th>
@@ -35,6 +36,9 @@
{{$item.title}}
{{/if}}
</td>
+ <td>
+ {{$item.descr}}
+ </td>
<td class="webpage-list-tool">
{{if $edit}}
<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}"><i class="icon-pencil"></i></a>