aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md9
-rw-r--r--src/guff/views/ecrs/test/auth.ecr62
-rw-r--r--src/guff/views/html/test/auth.cr2
3 files changed, 43 insertions, 30 deletions
diff --git a/TODO.md b/TODO.md
index c7b8463..be74a44 100644
--- a/TODO.md
+++ b/TODO.md
@@ -12,6 +12,12 @@ TODO
* user password strength
* expires\_at for posts
+* save and publish dropdown
+* move slug to "advanced" in new blog
+* make "new post" split button
+* `post_changes` table
+* `blog` `pages` and `projects` tables, and `post_type` column
+
Tabs
----
* Home
@@ -27,5 +33,6 @@ Projects
Editors
-------
* tinymce (http://tinymce.com/)
-* ace (https://ace.c9.io/)
+* ckeditor!! <-- best
+* ace (https://ace.c9.io/) <-- best
* codemirror (http://codemirror.net/)
diff --git a/src/guff/views/ecrs/test/auth.ecr b/src/guff/views/ecrs/test/auth.ecr
index 6999737..10b9518 100644
--- a/src/guff/views/ecrs/test/auth.ecr
+++ b/src/guff/views/ecrs/test/auth.ecr
@@ -599,33 +599,39 @@
class='tab-pane'
role='tabpanel'
>
- <div class='form-group'>
- <label for='post-new-blog-name'>
- Title
- </label>
-
- <input
- type='text'
- id='post-new-blog-name'
- class='form-control'
- title='Enter title for blog post.'
- placeholder='Blog Post Title'
- />
- </div><!-- form-group -->
-
- <div class='form-group'>
- <label for='post-new-blog-slug'>
- Slug
- </label>
-
- <input
- type='text'
- id='post-new-blog-slug'
- class='form-control'
- title='Enter slug for blog post.'
- placeholder='blog-post-slug'
- />
- </div><!-- form-group -->
+ <div class='row'>
+ <div class='col-md-6'>
+ <div class='form-group'>
+ <label for='post-new-blog-name'>
+ Title
+ </label>
+
+ <input
+ type='text'
+ id='post-new-blog-name'
+ class='form-control'
+ title='Enter title for blog post.'
+ placeholder='Blog Post Title'
+ />
+ </div><!-- form-group -->
+ </div><!-- col-md-6 -->
+
+ <div class='col-md-6'>
+ <div class='form-group'>
+ <label for='post-new-blog-slug'>
+ Slug
+ </label>
+
+ <input
+ type='text'
+ id='post-new-blog-slug'
+ class='form-control'
+ title='Enter slug for blog post.'
+ placeholder='blog-post-slug'
+ />
+ </div><!-- form-group -->
+ </div><!-- col-md-6 -->
+ </div><!-- row -->
<div class='form-group'>
<label for='post-new-blog-body'>
@@ -635,7 +641,7 @@
<textarea
id='post-new-blog-body'
class='form-control'
- rows='10'
+ rows='15'
></textarea>
</div><!-- form-group -->
</div><!-- #post-new-tab-pane-blog -->
diff --git a/src/guff/views/html/test/auth.cr b/src/guff/views/html/test/auth.cr
index a9b9d85..60bafb3 100644
--- a/src/guff/views/html/test/auth.cr
+++ b/src/guff/views/html/test/auth.cr
@@ -4,7 +4,7 @@ require "../page"
class Guff::TestAuthHTMLView
TITLE = "Guff Auth Test"
FEATURES = %w{bootstrap font-awesome guff/util}
- # /guff-stuff/tinymce-4.3.7/tinymce.min.js
+
SCRIPTS = %w{
/guff-stuff/ckeditor-4.5.8-custom/ckeditor.js
/guff-stuff/js/search-field.js