aboutsummaryrefslogtreecommitdiff
path: root/src/views/panes/admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/panes/admin')
-rw-r--r--src/views/panes/admin/posts.ecr2
-rw-r--r--src/views/panes/admin/settings.ecr23
2 files changed, 24 insertions, 1 deletions
diff --git a/src/views/panes/admin/posts.ecr b/src/views/panes/admin/posts.ecr
index 5e6571d..5b8e669 100644
--- a/src/views/panes/admin/posts.ecr
+++ b/src/views/panes/admin/posts.ecr
@@ -33,7 +33,7 @@
:type => "divider",
}] + %i{blog page project}.map { |id|
# get post type
- post_type = Guff::Views::AdminPageView::POST_TYPES[id]
+ post_type = Guff::POST_TYPES[id]
{
:id => post_type[:id],
diff --git a/src/views/panes/admin/settings.ecr b/src/views/panes/admin/settings.ecr
new file mode 100644
index 0000000..0824ce8
--- /dev/null
+++ b/src/views/panes/admin/settings.ecr
@@ -0,0 +1,23 @@
+<div
+ id='admin-pane-settings'
+ class='tab-pane'
+ role='tabpanel'
+>
+ <div class='panel panel-default'>
+ <div class='panel-body'>
+ <div class='row'>
+ <div class='col-md-3'>
+ <ul class='nav nav-pills nav-stacked' role='tablist'><%=
+ tabs
+ %></ul><!-- nav -->
+ </div><!-- col-md-3 -->
+
+ <div class='col-md-9'>
+ <div class='tab-content'><%=
+ panes
+ %></div><!-- tab-content -->
+ </div><!-- col-md-9 -->
+ </div><!-- row -->
+ </div><!-- panel-body -->
+ </div><!-- panel -->
+</div><!-- tab-pane -->