diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-20 15:03:57 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-20 15:03:57 +0200 |
commit | 15691d3ced329dd8d6aa2c4fa7ca1ec1886a1c70 (patch) | |
tree | 1b0b97a7c5bc2b66dd074fa0efa5e7625ae5a986 /view | |
parent | 6f2dd5d32546c8f812e04bf098d61c7ec6ba73ac (diff) | |
download | volse-hubzilla-15691d3ced329dd8d6aa2c4fa7ca1ec1886a1c70.tar.gz volse-hubzilla-15691d3ced329dd8d6aa2c4fa7ca1ec1886a1c70.tar.bz2 volse-hubzilla-15691d3ced329dd8d6aa2c4fa7ca1ec1886a1c70.zip |
wiki css fixes
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_wiki.css | 15 | ||||
-rw-r--r-- | view/tpl/wikilist.tpl | 12 |
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}} |