aboutsummaryrefslogtreecommitdiff
path: root/src/views/admin-page.ecr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-26 00:17:18 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-26 00:17:18 -0400
commit377ffbe0f9e3749bcebd3e61ef9623cc45485dd8 (patch)
tree4947cd3072c556db6edd24195da3ab80c786555a /src/views/admin-page.ecr
parenta60a65f49e94d31bc17d89fd5e4e536a0f50d065 (diff)
downloadguff-377ffbe0f9e3749bcebd3e61ef9623cc45485dd8.tar.bz2
guff-377ffbe0f9e3749bcebd3e61ef9623cc45485dd8.zip
populate settings tab
Diffstat (limited to 'src/views/admin-page.ecr')
-rw-r--r--src/views/admin-page.ecr186
1 files changed, 100 insertions, 86 deletions
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr
index af031eb..7845682 100644
--- a/src/views/admin-page.ecr
+++ b/src/views/admin-page.ecr
@@ -270,80 +270,6 @@
</div><!-- tab-pane -->
<div
- id='admin-pane-users'
- class='tab-pane'
- role='tabpanel'
- >
- <div class='panel panel-default'>
- <div class='panel-heading'>
- <div class='btn-toolbar'>
- <div class='btn-group btn-group-sm'>
- <a
- href='#'
- class='btn btn-primary'
- title='Create new user.'
- data-toggle='modal'
- data-target='#user-add-dialog'
- >
- <i class='fa fa-user-plus'></i>
- Add User
- </a><!-- btn -->
- </div><!-- btn-group -->
-
- <div class='btn-group btn-group-sm pull-right'>
- <a
- href='#'
- class='btn btn-default search-toggle'
- title='Toggle search field.'
- >
- <i class='fa fa-search'></i>
- </a><!-- btn-->
- </div><!-- btn-group -->
-
- <div class='btn-group btn-group-sm pull-right'>
- <a
- href='#'
- id='users-reload'
- class='btn btn-default'
- title='Reload users.'
- >
- <span class='loading'>
- <i class='fa fa-refresh'></i>
- </span>
-
- <span class='loading hidden'>
- <i class='fa fa-spinner fa-spin'></i>
- </span>
- </a><!-- #reload -->
- </div><!-- btn-group -->
- </div><!-- btn-toolbar -->
- </div><!-- panel-heading -->
-
- <div class='panel-heading hidden search-toggle'>
- <div class='input-group input-group-sm'>
- <span class='input-group-addon'>
- <i class='fa fa-search'></i>
- </span>
-
- <input
- type='text'
- id='users-q'
- class='form-control'
- title='Enter search terms'
- />
- </div><!-- input-group -->
- </div><!-- panel-heading -->
-
- <div id='users' class='list-group'>
- <span class='list-group-item disabled'>
- <i class='fa fa-spinner fa-spin'></i>
- Loading...
- </span><!-- list-group-item -->
- </div><!-- list-group -->
- </div><!-- panel -->
- </div><!-- tab-pane -->
-
- <div
id='admin-pane-settings'
class='tab-pane'
role='tabpanel'
@@ -351,22 +277,29 @@
<div class='panel panel-default'>
<div class='panel-body'>
<div class='row'>
- <div class='col-md-2'>
+ <div class='col-md-3'>
<ul class='nav nav-pills nav-stacked' role='tablist'><%=
tabs("settings")
%></ul><!-- nav -->
- </div><!-- col-md-2 -->
+ </div><!-- col-md-3 -->
- <div class='col-md-10'>
+ <div class='col-md-9'>
<div class='tab-content'>
<div
id='settings-pane-general'
class='tab-pane active'
role='tabpanel'
>
- <p>
- TODO: general settings
- </p>
+ <div class='panel panel-default'>
+ <div class='panel-heading'>
+ </div><!-- panel-heading -->
+
+ <div class='panel-body'>
+ <p>
+ TODO: general settings
+ </p>
+ </div><!-- panel-body -->
+ </div><!-- panel -->
</div><!-- tab-pane -->
<div
@@ -376,11 +309,85 @@
>
<div class='panel panel-default'>
<div class='panel-heading'>
+ <div class='btn-toolbar'>
+ <div class='btn-group btn-group-sm'>
+ <a
+ href='#'
+ class='btn btn-primary'
+ title='Create new user.'
+ data-toggle='modal'
+ data-target='#user-add-dialog'
+ >
+ <i class='fa fa-user-plus'></i>
+ New User
+ </a><!-- btn -->
+ </div><!-- btn-group -->
+
+ <div class='btn-group btn-group-sm pull-right'>
+ <a
+ href='#'
+ class='btn btn-default search-toggle'
+ title='Toggle search field.'
+ >
+ <i class='fa fa-fw fa-search'></i>
+ </a><!-- btn-->
+ </div><!-- btn-group -->
+
+ <div class='btn-group btn-group-sm pull-right'>
+ <a
+ href='#'
+ id='users-reload'
+ class='btn btn-default'
+ title='Reload users.'
+ >
+ <span class='loading'>
+ <i class='fa fa-fw fa-refresh'></i>
+ </span>
+
+ <span class='loading hidden'>
+ <i class='fa fa-fw fa-spinner fa-spin'></i>
+ </span>
+ </a><!-- #reload -->
+ </div><!-- btn-group -->
+ </div><!-- btn-toolbar -->
</div><!-- panel-heading -->
- <div class='panel-body'>
+ <div class='panel-heading hidden search-toggle'>
+ <div class='input-group input-group-sm'>
+ <span class='input-group-addon'>
+ <i class='fa fa-search'></i>
+ </span>
+
+ <input
+ type='text'
+ id='users-q'
+ class='form-control'
+ title='Enter search terms'
+ />
+ </div><!-- input-group -->
+ </div><!-- panel-heading -->
+
+ <div id='users' class='list-group'>
+ <span class='list-group-item disabled'>
+ <i class='fa fa-spinner fa-spin'></i>
+ Loading...
+ </span><!-- list-group-item -->
+ </div><!-- list-group -->
+ </div><!-- panel -->
+ </div><!-- tab-pane -->
+
+ <div
+ id='settings-pane-themes'
+ class='tab-pane'
+ role='tabpanel'
+ >
+ <div class='panel panel-default'>
+ <div class='panel-heading'>
+ </div><!-- panel-heading -->
+
+ <div id='themes' class='panel-body'>
<p>
- TODO: users settings
+ TODO: themes
</p>
</div><!-- panel-body -->
</div><!-- panel -->
@@ -391,12 +398,19 @@
class='tab-pane'
role='tabpanel'
>
- <p>
- TODO: sites settings
- </p>
+ <div class='panel panel-default'>
+ <div class='panel-heading'>
+ </div><!-- panel-heading -->
+
+ <div id='sites' class='panel-body'>
+ <p>
+ TODO: sites settings
+ </p>
+ </div><!-- panel-body -->
+ </div><!-- panel -->
</div><!-- tab-pane -->
</div><!-- tab-content -->
- </div><!-- col-md-10 -->
+ </div><!-- col-md-9 -->
</div><!-- row -->
</div><!-- panel-body -->
</div><!-- panel -->