aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_wiki.css15
-rw-r--r--view/tpl/wikilist.tpl12
2 files changed, 14 insertions, 13 deletions
diff --git a/view/css/mod_wiki.css b/view/css/mod_wiki.css
index a16ab47c5..4e4c71e1d 100644
--- a/view/css/mod_wiki.css
+++ b/view/css/mod_wiki.css
@@ -33,17 +33,18 @@
width: 100%;
}
+td i {
+ padding: 7px 5px;
+ cursor: pointer;
+}
+
#wikis-index th:nth-child(1),
#wikis-index td:nth-child(1){
padding: 7px 3px 7px 10px;
}
-#wikis-index th:nth-child(6),
-#wikis-index td:nth-child(6){
- padding: 7px 10px 7px 7px;
-}
-
-.wikis-index-tool {
- padding: 7px 10px;
+#wikis-index th:nth-last-child(1),
+#wikis-index td:nth-last-child(1){
+ padding-right: 10px;
}
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index 094c1e265..801cb17fd 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -29,11 +29,11 @@
<tr>
<th width="96%">{{$name}}</th>
<th width="1%">{{$type}}</th>
- <th width="1%" class="wikis-index-tool"></th>
+ <th width="1%"></th>
{{if $owner}}
- <th width="1%" class="wikis-index-tool"></th>
+ <th width="1%"></th>
{{/if}}
- <th width="1%" class="wikis-index-tool"></th>
+ <th width="1%"></th>
{{if $owner}}
<th width="1%"></th>
{{/if}}
@@ -43,15 +43,15 @@
<td><a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="{{$view}}"{{if $wiki.active}} class="active"{{/if}}>{{$wiki.title}}</a></td>
<td>{{if $wiki.typelock}}{{$wiki.mimeType}}{{else}}{{$unlocked}}{{/if}}</td>
{{if $owner}}
- <td class="wikis-index-tool"><i class="fa fa-pencil" onclick="openCloseTR('wikis-index-edit-{{$wiki.id}}')"></i></td>
+ <td><i class="fa fa-pencil" onclick="openCloseTR('wikis-index-edit-{{$wiki.id}}')"></i></td>
{{/if}}
- <td class="wikis-index-tool dropdown">
+ <td class="dropdown">
{{if $wiki.lockstate == 'lock'}}
<i class="fa fa-lock lockview" data-toggle="dropdown" onclick="lockview('item',{{$wiki.id}});"></i>
<ul id="panel-{{$wiki.id}}" class="lockview-panel dropdown-menu dropdown-menu-right"></ul>
{{/if}}
</td>
- <td class="wikis-index-tool"><i class="fa fa-download" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;"></i></td>
+ <td><i class="fa fa-download" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;"></i></td>
{{if $owner}}
<td><i class="fa fa-trash-o drop-icons" onclick="wiki_delete_wiki('{{$wiki.title}}', '{{$wiki.resource_id}}'); return false;"></i></td>
{{/if}}