aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-29 18:28:05 -0700
committerfriendica <info@friendica.com>2014-04-29 18:28:05 -0700
commit31fd284b3c99595a11e3a1401409f5ca2a5d5cfd (patch)
tree3087c59fd22dd0655f960c9a370412dc207f78ba /view
parent5c8c555461335e4bd836acff66c10ad303af8335 (diff)
downloadvolse-hubzilla-31fd284b3c99595a11e3a1401409f5ca2a5d5cfd.tar.gz
volse-hubzilla-31fd284b3c99595a11e3a1401409f5ca2a5d5cfd.tar.bz2
volse-hubzilla-31fd284b3c99595a11e3a1401409f5ca2a5d5cfd.zip
clean up the webpage list a bit
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_webpages.css6
-rw-r--r--view/theme/redbasic/css/style.css13
-rw-r--r--view/tpl/webpagelist.tpl29
3 files changed, 30 insertions, 18 deletions
diff --git a/view/css/mod_webpages.css b/view/css/mod_webpages.css
new file mode 100644
index 000000000..1b5a798cd
--- /dev/null
+++ b/view/css/mod_webpages.css
@@ -0,0 +1,6 @@
+.webpage-list-table tr {
+ height: 20px;
+}
+.webpage-list-table td {
+ padding: 5px;
+}
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 881377e00..26ac639ee 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1715,19 +1715,6 @@ header {
.profile-thing-list {
list-style-type: none;
}
-/*
-.profile-thing-list li {
- float: left;
- margin-right: 25px;
-}
-*/
-
-
-div#pagelist-content-wrapper {
-width: 80%;
-margin-left: auto;
-margin-right: auto;
-}
div.page-list-item {
margin: 20px;
diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl
index c19836a28..4ae153423 100644
--- a/view/tpl/webpagelist.tpl
+++ b/view/tpl/webpagelist.tpl
@@ -1,16 +1,35 @@
{{if $pages}}
<div id="pagelist-content-wrapper" class="generic-content-wrapper">
+ <table class="webpage-list-table">
+ <tr><td>{{$actions_txt}}</td><td>{{$pagelink_txt}}</td><td>{{$title_txt}}</td><td>{{$created_txt}}</td><td>{{$edited_txt}}</td></tr>
{{foreach $pages as $key => $items}}
{{foreach $items as $item}}
- <div class="page-list-item">
- {{if $edit}}<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}"><i class="icon-pencil design-icons design-edit-icon"></i></a> {{/if}}
- {{if $view}}<a href="page/{{$channel}}/{{$item.title}}" title="{{$view}}"><i class="icon-external-link design-icons design-view-icon"></i></a> {{/if}}
- {{if $preview}}<a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" title="{{$preview}}" class="webpage-preview" ><i class="icon-eye-open design-icons design-preview-icon"></i></a> {{/if}}
+ <tr>
+ <td>
+ {{if $edit}}<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}"><i class="icon-pencil design-icons design-edit-icon btn btn-default"></i></a> {{/if}}
+ {{if $view}}<a href="page/{{$channel}}/{{$item.pagetitle}}" title="{{$view}}"><i class="icon-external-link design-icons design-view-icon btn btn-default"></i></a> {{/if}}
+ {{if $preview}}<a href="page/{{$channel}}/{{$item.pagetitle}}?iframe=true&width=80%&height=80%" title="{{$preview}}" class="webpage-preview" ><i class="icon-eye-open design-icons design-preview-icon btn btn-default"></i></a> {{/if}}
+ </td>
+ <td>
+ {{if $view}}<a href="page/{{$channel}}/{{$item.pagetitle}}" title="{{$view}}">{{$item.pagetitle}}</a>
+ {{else}}{{$item.pagetitle}}
+ {{/if}}
+ </td>
+ <td>
{{$item.title}}
- </div>
+ </td>
+ <td>
+ {{$item.created}}
+ </td>
+ <td>
+ {{$item.edited}}
+ </td>
+ </tr>
{{/foreach}}
{{/foreach}}
+
+ </table>
</div>
<div class="clear"></div>