aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-30 15:10:14 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-30 15:10:14 -0400
commit0557ef64e2bd1161fd98a5dff6e45aea8e0d7567 (patch)
tree2960808d40679eb3059a8bbf22d389e81b5cb83d /src/views
parente6ebc011f255596f09fec40f69049514d52bebef (diff)
downloadguff-0557ef64e2bd1161fd98a5dff6e45aea8e0d7567.tar.bz2
guff-0557ef64e2bd1161fd98a5dff6e45aea8e0d7567.zip
add site assets and remove set_default
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dialogs/admin/page-edit.ecr4
-rw-r--r--src/views/dialogs/admin/site-add.ecr42
2 files changed, 43 insertions, 3 deletions
diff --git a/src/views/dialogs/admin/page-edit.ecr b/src/views/dialogs/admin/page-edit.ecr
index e44cf86..1eb609a 100644
--- a/src/views/dialogs/admin/page-edit.ecr
+++ b/src/views/dialogs/admin/page-edit.ecr
@@ -207,7 +207,7 @@
<textarea
id='page-edit-styles'
- class='form-control'
+ class='form-control asset-list'
title='Newline-delimited list of styles for this page.'
aria-describedby='page-edit-styles-help'
></textarea>
@@ -224,7 +224,7 @@
<textarea
id='page-edit-scripts'
- class='form-control'
+ class='form-control asset-list'
title='Newline-delimited list of scripts for this page.'
aria-describedby='page-edit-scripts-help'
></textarea>
diff --git a/src/views/dialogs/admin/site-add.ecr b/src/views/dialogs/admin/site-add.ecr
index 86fd7df..0f99364 100644
--- a/src/views/dialogs/admin/site-add.ecr
+++ b/src/views/dialogs/admin/site-add.ecr
@@ -129,7 +129,7 @@
role='tabpanel'
>
<div class='row'>
- <div class='col-md-6'>
+ <div class='col-md-12'>
<div class='form-group'>
<label for='site-add-theme_id'>
Theme
@@ -148,6 +148,46 @@
Site theme.
</p>
</div><!-- form-group -->
+ </div><!-- col-md-12 -->
+ </div><!-- row -->
+
+ <div class='row'>
+ <div class='col-md-6'>
+ <div class='form-group'>
+ <label for='site-add-styles'>
+ Styles
+ </label>
+
+ <textarea
+ id='site-add-styles'
+ class='form-control asset-list'
+ title='Newline-delimited site styles.'
+ aria-describedby='site-add-styles-help'
+ ></textarea>
+
+ <p id='site-add-styles-help' class='help-block'>
+ Newline-delimited site styles.
+ </p>
+ </div><!-- form-group -->
+ </div><!-- col-md-6 -->
+
+ <div class='col-md-6'>
+ <div class='form-group'>
+ <label for='site-add-scripts'>
+ Scripts
+ </label>
+
+ <textarea
+ id='site-add-scripts'
+ class='form-control asset-list'
+ title='Newline-delimited site scripts.'
+ aria-describedby='site-add-scripts-help'
+ ></textarea>
+
+ <p id='site-add-scripts-help' class='help-block'>
+ Newline-delimited site scripts.
+ </p>
+ </div><!-- form-group -->
</div><!-- col-md-6 -->
</div><!-- row -->
</div><!-- tab-pane -->