From 4a483c95b554676c7d48bc2589ac502823dbdad1 Mon Sep 17 00:00:00 2001 From: will Date: Mon, 16 Nov 2015 16:48:22 -0500 Subject: [PATCH 01/13] first stage of transition to new post ui --- app/common/locales/en.json | 5 +- server/www/templates/posts/post-editor.html | 480 ++++++++------------ 2 files changed, 196 insertions(+), 289 deletions(-) diff --git a/app/common/locales/en.json b/app/common/locales/en.json index 77b5988606..02b0e83720 100644 --- a/app/common/locales/en.json +++ b/app/common/locales/en.json @@ -195,6 +195,7 @@ "timeline" : "Timeline" }, "post": { + "add_incident" : "Add Incident", "posts" : "Posts", "publish_for_you" : "Just you", "publish_for_everyone" : "Everyone", @@ -260,9 +261,9 @@ "author_email" : "Email", "form" : { "categories" : "Categories", - "description" : "Post Description", + "description" : "Description", "location" : "Location", - "title" : "Post Title", + "title" : "Title", "link" : { "name" : "Link Name", "url" : "Link url", diff --git a/server/www/templates/posts/post-editor.html b/server/www/templates/posts/post-editor.html index b1eeabc7d6..5d03b936b8 100644 --- a/server/www/templates/posts/post-editor.html +++ b/server/www/templates/posts/post-editor.html @@ -1,302 +1,208 @@
-
- -
- -
- -

post.modify.create_type

- post.modify.change_type - - -

post.modify.edit_type

- -
- -
- -
- -
-

- - -
- +
+
-

- - -
- - -

+

+
+
+ +
+ +
+

+ translate="{{'post.valid.title.' + error}}">

+ +
-
- -
- - - -
-
- -
- +
+
+
+ +
+
- - -
- +
+
+ post.modify.form.categories +
+ + +

+
- - - - - +
+ + +
+
+ +
+ +
+ + +
+ +
+ + + + + + + + +
+ +
+ + +
+ +
+ + + - -
- -
+ + - -
- + + + + + + + +
- - - - - - - - - - - - - -
-
- -

- - -
-
- -
-

{{'post.modify.contact_info' | translate}}

- - -

-

- - -

-

-
+

+ + + +
+
+
- From ee79e9e40753f70e210faec05e2513fba7e18504 Mon Sep 17 00:00:00 2001 From: will Date: Mon, 16 Nov 2015 17:20:00 -0500 Subject: [PATCH 02/13] added new add/edit ui --- server/www/templates/posts/post-editor.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/server/www/templates/posts/post-editor.html b/server/www/templates/posts/post-editor.html index 5d03b936b8..244404ec1b 100644 --- a/server/www/templates/posts/post-editor.html +++ b/server/www/templates/posts/post-editor.html @@ -1,4 +1,18 @@
+ + + +