aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-07-12 23:01:55 +0100
committerThomas Willingham <founder@kakste.com>2013-07-12 23:01:55 +0100
commitf45efcab780cefaaa5a677684ac1fc444632a3de (patch)
tree7a5c45ca101b782f7f326b8655ac47e5fec3ceec /view
parentc28f7e06222ac8ef1adf1e7813d1f2c5d0cd130a (diff)
downloadvolse-hubzilla-f45efcab780cefaaa5a677684ac1fc444632a3de.tar.gz
volse-hubzilla-f45efcab780cefaaa5a677684ac1fc444632a3de.tar.bz2
volse-hubzilla-f45efcab780cefaaa5a677684ac1fc444632a3de.zip
Small amount of work on webpages.
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/dark.css14
-rw-r--r--view/theme/redbasic/css/style.css14
-rw-r--r--view/tpl/webpagelist.tpl21
3 files changed, 37 insertions, 12 deletions
diff --git a/view/theme/redbasic/css/dark.css b/view/theme/redbasic/css/dark.css
index 74e109f95..43912be69 100644
--- a/view/theme/redbasic/css/dark.css
+++ b/view/theme/redbasic/css/dark.css
@@ -167,4 +167,16 @@ ul.menu-popup .menu-sep {
.my-comment-photo {
border-radius: 5px;
box-shadow: 4px 4px 3px #000;
-} \ No newline at end of file
+}
+
+
+div#pagelist-content-wrapper {
+width: 80%;
+background: #111;
+margin-left: auto;
+margin-right: auto;
+}
+
+div.page-list-item {
+margin: 20px;
+}
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 762c35a18..9caa9145a 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -3893,4 +3893,16 @@ width: 200px;
float: left;
margin-right: 25px;
}
-*/ \ No newline at end of file
+*/
+
+
+div#pagelist-content-wrapper {
+width: 80%;
+background: #fff;
+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 c05e2ebee..5c00dee6b 100644
--- a/view/tpl/webpagelist.tpl
+++ b/view/tpl/webpagelist.tpl
@@ -1,12 +1,13 @@
{{if $pages}}
-<div id="pagelist-content-wrapper">
-{{foreach $pages as $key => $items}}
-<ul class="page-list">
-{{foreach $items as $item}}
-<li><a href="editwebpage/{{$item.url}}">{{$editlink}}</a> {{$item.title}}</li>
-{{/foreach}}
-</ul>
-<div class="clear"></div>
-</div>
-{{/foreach}}
+
+ <div id="pagelist-content-wrapper">
+ {{foreach $pages as $key => $items}}
+ {{foreach $items as $item}}
+ <div class="page-list-item"><a href="editwebpage/{{$item.url}}">{{$editlink}}</a> | <a href="page/{{$channel}}/{{$item.title}}">{{$view}}</a> {{$item.title}}</div>
+ {{/foreach}}
+ {{/foreach}}
+ </div>
+
+ <div class="clear"></div>
+
{{/if}}