aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-27 23:14:40 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-27 23:14:40 -0400
commit80add8aac0893006a5434b59e60c463f59a5de05 (patch)
treeafbfa52fa835f63d003c148a7d36c2d170157d00 /src
parent8fb72b08161fa7e1cae93f51894e69c93afeb85e (diff)
downloadguff-80add8aac0893006a5434b59e60c463f59a5de05.tar.bz2
guff-80add8aac0893006a5434b59e60c463f59a5de05.zip
add stub backup and import settings tabs
Diffstat (limited to 'src')
-rw-r--r--src/guff.cr12
-rw-r--r--src/views/admin-page.ecr34
2 files changed, 46 insertions, 0 deletions
diff --git a/src/guff.cr b/src/guff.cr
index 5524aca..edd5522 100644
--- a/src/guff.cr
+++ b/src/guff.cr
@@ -1926,6 +1926,18 @@ module Guff
name: "General",
text: "Manage general settings.",
}, {
+ id: "backups",
+ css: "",
+ icon: "fa-archive",
+ name: "Backups",
+ text: "Manage backups.",
+ }, {
+ id: "import",
+ css: "",
+ icon: "fa-upload",
+ name: "Import / Export",
+ text: "Import and export posts.",
+ }, {
id: "sites",
css: "",
icon: "fa-sitemap",
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr
index f82d06c..feada44 100644
--- a/src/views/admin-page.ecr
+++ b/src/views/admin-page.ecr
@@ -409,6 +409,40 @@
</div><!-- panel-body -->
</div><!-- panel -->
</div><!-- tab-pane -->
+
+ <div
+ id='settings-pane-backups'
+ class='tab-pane'
+ role='tabpanel'
+ >
+ <div class='panel panel-default'>
+ <div class='panel-heading'>
+ </div><!-- panel-heading -->
+
+ <div class='panel-body'>
+ <p>
+ TODO: backups
+ </p>
+ </div><!-- panel-body -->
+ </div><!-- panel -->
+ </div><!-- tab-pane -->
+
+ <div
+ id='settings-pane-import'
+ class='tab-pane'
+ role='tabpanel'
+ >
+ <div class='panel panel-default'>
+ <div class='panel-heading'>
+ </div><!-- panel-heading -->
+
+ <div class='panel-body'>
+ <p>
+ TODO: import
+ </p>
+ </div><!-- panel-body -->
+ </div><!-- panel -->
+ </div><!-- tab-pane -->
</div><!-- tab-content -->
</div><!-- col-md-9 -->
</div><!-- row -->