aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-04-04 22:34:59 -0400
committerPaul Duncan <pabs@pablotron.org>2016-04-04 22:34:59 -0400
commitfa113df69b65281187184676c231dab99b29e538 (patch)
treeaf260cd26d60f4f5e97d4a0d10cc14cdbc85a1a8
parent9b408027406a37c25a57b3290e8155885b502bc4 (diff)
downloadold-guff-master.tar.bz2
old-guff-master.zip
s/blog post/blog entry/, add slug lockHEADmaster
-rw-r--r--src/guff/views/ecrs/test/auth.ecr91
1 files changed, 72 insertions, 19 deletions
diff --git a/src/guff/views/ecrs/test/auth.ecr b/src/guff/views/ecrs/test/auth.ecr
index 124a414..4ae1827 100644
--- a/src/guff/views/ecrs/test/auth.ecr
+++ b/src/guff/views/ecrs/test/auth.ecr
@@ -500,7 +500,7 @@
<h4 class='modal-title'>
<i class='fa fa-edit'></i>
- Edit Blog Post
+ Edit Blog Entry
</h4><!-- modal-title -->
</div><!-- modal-header -->
@@ -515,10 +515,15 @@
<input
type='text'
id='blog-edit-name'
- class='form-control'
- title='Enter title for blog post.'
- placeholder='Blog Post Title'
+ class='form-control post-name'
+ title='Enter title for blog entry.'
+ placeholder='Blog Entry Title'
+ aria-describedby='blog-edit-name-help'
/>
+
+ <p id='blog-edit-name-help' class='help-block'>
+ Title of blog entry.
+ </p>
</div><!-- form-group -->
</div><!-- col-md-6 -->
@@ -528,13 +533,30 @@
Slug
</label>
- <input
- type='text'
- id='blog-edit-slug'
- class='form-control'
- title='Enter slug for blog post.'
- placeholder='blog-post-title'
- />
+ <div class='input-group'>
+ <input
+ type='text'
+ id='blog-edit-slug'
+ class='form-control post-slug'
+ disabled='disabled'
+ title='Enter slug for blog entry.'
+ placeholder='blog-post-title'
+ aria-describedby='blog-edit-slug-help'
+ />
+
+ <a
+ href='#'
+ class='btn input-group-addon btn-default post-slug-lock'
+ title='Toggle slug lock.'
+ aria-describedby='page-edit-slug-help'
+ >
+ <i class='fa fa-lock'></i>
+ </a><!-- slog-lock -->
+ </div><!-- input-group -->
+
+ <p id='blog-edit-slug-help' class='help-block'>
+ Slug of blog entry.
+ </p>
</div><!-- form-group -->
</div><!-- col-md-6 -->
</div><!-- row -->
@@ -548,7 +570,12 @@
id='blog-edit-body'
class='form-control'
rows='15'
+ aria-describedby='blog-edit-body-help'
></textarea>
+
+ <p id='blog-edit-body-help' class='help-block'>
+ Body of this blog entry.
+ </p>
</div><!-- form-group -->
</div><!-- modal-body -->
@@ -613,10 +640,15 @@
<input
type='text'
id='page-edit-name'
- class='form-control'
+ class='form-control post-name'
title='Enter title for page.'
placeholder='Page Title'
+ aria-describedby='page-edit-name-help'
/>
+
+ <p id='page-edit-name-help' class='help-block'>
+ Title of page.
+ </p>
</div><!-- form-group -->
</div><!-- col-md-6 -->
@@ -626,13 +658,29 @@
Path
</label>
- <input
- type='text'
- id='page-edit-slug'
- class='form-control'
- title='Enter path for this page.'
- placeholder='page-title'
- />
+ <div class='input-group'>
+ <input
+ type='text'
+ id='page-edit-slug'
+ class='form-control post-slug'
+ disabled='disabled'
+ title='Enter path for this page.'
+ placeholder='page-title'
+ />
+
+ <a
+ href='#'
+ class='btn input-group-addon btn-default post-slug-lock'
+ title='Toggle path lock.'
+ aria-describedby='page-edit-slug-help'
+ >
+ <i class='fa fa-lock'></i>
+ </a><!-- slog-lock -->
+ </div><!-- input-group -->
+
+ <p id='page-edit-slug-help' class='help-block'>
+ URL path of page.
+ </p>
</div><!-- form-group -->
</div><!-- col-md-6 -->
</div><!-- row -->
@@ -646,7 +694,12 @@
id='page-edit-body'
class='form-control'
rows='15'
+ aria-describedby='page-edit-body-help'
></textarea>
+
+ <p id='page-edit-body-help' class='help-block'>
+ Body of this page.
+ </p>
</div><!-- form-group -->
</div><!-- modal-body -->