aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_page.css14
-rw-r--r--view/tpl/page_display.tpl7
-rw-r--r--view/tpl/smarty3/page_display.tpl7
3 files changed, 28 insertions, 0 deletions
diff --git a/view/css/mod_page.css b/view/css/mod_page.css
new file mode 100644
index 000000000..a0b63775e
--- /dev/null
+++ b/view/css/mod_page.css
@@ -0,0 +1,14 @@
+
+.page-author {
+ font-size: 1.2em;
+ margin-bottom: 12px;
+}
+
+.page-date {
+ margin-bottom: 10px;
+}
+
+
+.page-body {
+
+}
diff --git a/view/tpl/page_display.tpl b/view/tpl/page_display.tpl
new file mode 100644
index 000000000..a79d505dd
--- /dev/null
+++ b/view/tpl/page_display.tpl
@@ -0,0 +1,7 @@
+<div class=page">
+ <h3 class="page-title">$title</h3>
+
+ <div class="page-author"><a class=="page-author-link" href="$auth_url">$author</a></div>
+ <div class="page-date">$date</div>
+ <div class="page-body">body</div>
+</div>
diff --git a/view/tpl/smarty3/page_display.tpl b/view/tpl/smarty3/page_display.tpl
new file mode 100644
index 000000000..98bb81aeb
--- /dev/null
+++ b/view/tpl/smarty3/page_display.tpl
@@ -0,0 +1,7 @@
+<div class=page">
+ <h3 class="page-title">{{$title}}</h3>
+
+ <div class="page-author"><a class=="page-author-link" href="{{$auth_url}}">{{$author}}</a></div>
+ <div class="page-date">{{$date}}</div>
+ <div class="page-body">body</div>
+</div>