From abcc70722c3577e63b53fcd3acf19d2916d810df Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 5 Feb 2015 19:37:55 -0800 Subject: event form cleanup backported from trinidad - still need to style the checkboxes --- view/tpl/event_form.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 2479068f3..1cea156dd 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -14,9 +14,12 @@
{{$t_text}}
- +{{$required}} + +
{{$s_text}}
+ {{$s_dsel}}

-- cgit v1.2.3 From e7a68eaef002a9263d20076bcbe6b4c93378255f Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 5 Feb 2015 21:01:02 -0800 Subject: style the checkboxes in the event form --- view/tpl/event_form.tpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 1cea156dd..444e77df7 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -24,7 +24,12 @@

-
{{$n_text}}
+
+ +
+
+
@@ -35,8 +40,7 @@
- -
{{$a_text}}
+{{include file="field_checkbox.tpl" field=$adjust}}
-- cgit v1.2.3 From a1d84f96b6a0852b785a459279d7756aeaa90614 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 8 Feb 2015 19:25:35 -0800 Subject: first cut at putting editor tools in event form --- view/tpl/event_form.tpl | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 444e77df7..4ce57798c 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -55,9 +55,74 @@
{{$d_text}}
+ + + + + + + +{{if $qcomment}} + +{{/if}} +
+
+
+
+ + + + + +
+ +
+ + + +
+ +
+ + +
+ + + + + + +
{{$l_text}}

-- cgit v1.2.3 From 69894e28c48dabb1061b55156dbafc91f7c75ea1 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 8 Feb 2015 20:23:02 -0800 Subject: we still need an event preview but this looks a lot better. --- view/tpl/event_form.tpl | 136 +++++++++++++++++++++++++++++++----------------- view/tpl/event_head.tpl | 4 +- 2 files changed, 89 insertions(+), 51 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 4ce57798c..5ade55870 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -56,54 +56,38 @@
{{$d_text}}
- - - - - - - - - -{{if $qcomment}} - -{{/if}} -
-
+ +
+
-
- - - - - +
+ + + + +
- - - + + +
@@ -115,23 +99,77 @@ {{/if}} --> -
+
+
+
{{$l_text}}
+ +
+
+
+
+ + + + + +
+ +
+ + + +
+ +
+ + +
-
{{$l_text}}
-
+
+ + +
+ +
+
+
+ -
{{$sh_text}}
+ - {{$acl}} +{{$acl}}
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 830347555..11dba2f9d 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -118,9 +118,9 @@ $(document).ready(function() { - $('#event-share-checkbox').change(function() { + $('#id_share').change(function() { - if ($('#event-share-checkbox').is(':checked')) { + if ($('#id_share').is(':checked')) { $('#event-permissions-button').show(); } else { -- cgit v1.2.3