From 31fd284b3c99595a11e3a1401409f5ca2a5d5cfd Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 29 Apr 2014 18:28:05 -0700 Subject: clean up the webpage list a bit --- view/css/mod_webpages.css | 6 ++++++ view/theme/redbasic/css/style.css | 13 ------------- view/tpl/webpagelist.tpl | 29 ++++++++++++++++++++++++----- 3 files changed, 30 insertions(+), 18 deletions(-) create mode 100644 view/css/mod_webpages.css (limited to 'view') 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}}
+ + {{foreach $pages as $key => $items}} {{foreach $items as $item}} -
- {{if $edit}} {{/if}} - {{if $view}} {{/if}} - {{if $preview}} {{/if}} +
+ + + + + + {{/foreach}} {{/foreach}} + +
{{$actions_txt}}{{$pagelink_txt}}{{$title_txt}}{{$created_txt}}{{$edited_txt}}
+ {{if $edit}} {{/if}} + {{if $view}} {{/if}} + {{if $preview}} {{/if}} + + {{if $view}}{{$item.pagetitle}} + {{else}}{{$item.pagetitle}} + {{/if}} + {{$item.title}} - + + {{$item.created}} + + {{$item.edited}} +
-- cgit v1.2.3