diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-07-30 03:29:13 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-07-30 03:29:13 -0400 |
commit | 9db15612b16b140bd7958be983d93de0b943cb01 (patch) | |
tree | 125e73894b6eae719899bda00ca49842543fe49c /src/views/panes | |
parent | 040cbfc93f870fd4242d112757bf1c52ddf7a2a0 (diff) | |
download | guff-9db15612b16b140bd7958be983d93de0b943cb01.tar.bz2 guff-9db15612b16b140bd7958be983d93de0b943cb01.zip |
populate sites api and site list
Diffstat (limited to 'src/views/panes')
-rw-r--r-- | src/views/panes/settings/sites.ecr | 67 |
1 files changed, 62 insertions, 5 deletions
diff --git a/src/views/panes/settings/sites.ecr b/src/views/panes/settings/sites.ecr index 774a023..d5cf91f 100644 --- a/src/views/panes/settings/sites.ecr +++ b/src/views/panes/settings/sites.ecr @@ -5,12 +5,69 @@ > <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 site.' + data-toggle='modal' + data-target='#site-add-dialog' + > + <i class='fa fa-plus-circle'></i> + New Site + </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='sites-reload' + class='btn btn-default' + title='Reload sites.' + > + <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-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='sites-q' + class='form-control' + title='Enter search terms' + /> + </div><!-- input-group --> </div><!-- panel-heading --> - <div id='sites' class='panel-body'> - <p> - TODO: sites settings - </p> - </div><!-- panel-body --> + <div id='sites' 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 --> |