From fe6bd70b72c2138fb66649ef76b2aaf941d703b9 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 17 Dec 2015 13:55:43 -0500 Subject: [PATCH] (html,css) Group settings in event/task editors --- .../UIxAppointmentEditorTemplate.wox | 454 +++++++++--------- .../SchedulerUI/UIxAttendeesEditor.wox | 1 + .../SchedulerUI/UIxTaskEditorTemplate.wox | 399 +++++++-------- .../scss/components/dialog/dialog.scss | 3 - .../scss/core/structure.scss | 15 + 5 files changed, 454 insertions(+), 418 deletions(-) diff --git a/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox b/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox index cafc6b9aa..1d524ea08 100644 --- a/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox +++ b/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox @@ -11,7 +11,7 @@ visibility_off vpn_key - + - -
- - - - - - - - - - {{calendar.name}} - - -
- - - - {{category}} - - - - - - - - - - - - - - - -
- - -
- -
- - - -
- -
- - - -
- -
- - - -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
- -
-
- - - + +
+
+ + + + - - remove_circle + + + + + {{calendar.name}} + + +
+ + + + + + + + + {{category}} + + +
+ + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ + + + + + remove_circle + +
+
+
+ + add_circle +
-
- - add_circle - - + +
+ +
+ + + + + + + +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
- - - - - -
-
+
+
@@ -172,97 +177,102 @@ + + add + +
+
+ +
+ +
+ + + + + + + + + + + + +
- - add - -
-
- -
- -
- - - - - - - - - - - - -
-
- - -
- {{card.$$fullname}} - {{card.$$email}} +
+
+ search + + +
+ {{card.$$fullname}} + {{card.$$email}} +
+
+
+ + expand_more + +
+ + + +
+
- - - - expand_more - +
{{$chip.name || $chip.email}}
+ + close +
+
+
+ +
- - - -
- -
-
{{$chip.name || $chip.email}}
- - close -
-
-
- -
- - - - -
- +
+ + + + +
+ +
diff --git a/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox b/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox index 4dccaf377..5d28ded3d 100644 --- a/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox +++ b/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox @@ -55,6 +55,7 @@
+ diff --git a/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox b/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox index 97f87eebb..8d997bfb5 100644 --- a/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox +++ b/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox @@ -23,205 +23,218 @@
- -
- - - - - - - - - - {{calendar.name}} - - -
- - - - {{category}} - - - - - - - - - - - - - - - -
- - -
- -
-
- -
-
- - - - remove_circle - -
-
-
- - add_circle - - -
- -
-
- -
-
- - - - remove_circle - -
-
-
- - add_circle - - -
- -
- - - - - - - - - - - - -
-
- -
{{editor.component.percentComplete}}
-
- -
-
- - - + +
+
+ + + + - - remove_circle + + + + + {{calendar.name}} + + +
+ + + + + + + + + {{category}} + + +
+ + + + + + + + + + + + + +
+ + +
+
+ +
+
+ + + + + + remove_circle + +
+
+
+ + add_circle +
-
- - add_circle - - + +
+ +
+
+ +
+
+ + + + remove_circle + +
+
+
+ + add_circle + + +
+ +
+
+ +
+
+ + + + remove_circle + +
+
+
+ + add_circle + + +
+ +
+ + + + + + + + + + + + +
+
+ +
{{editor.component.percentComplete}}
+
- - - - - - -
- - - - - - - - -
- - add - + +
+ +
+ + + + + + + + +
+ + add + +
+
+ +
+ +
+ + + + + + + + + + + + + +
-
- -
- -
- - - - - - - - - - - - - -
- - - - -
- + +
+ + + + +
+ +
diff --git a/UI/WebServerResources/scss/components/dialog/dialog.scss b/UI/WebServerResources/scss/components/dialog/dialog.scss index 2a96dcc92..f03da576a 100644 --- a/UI/WebServerResources/scss/components/dialog/dialog.scss +++ b/UI/WebServerResources/scss/components/dialog/dialog.scss @@ -8,9 +8,6 @@ height: 100%; border-radius: 0; flex-basis: 100%; - md-dialog-content { - padding: $layout-gutter-width; - } } body.popup { diff --git a/UI/WebServerResources/scss/core/structure.scss b/UI/WebServerResources/scss/core/structure.scss index c1f020830..ac41b6f66 100644 --- a/UI/WebServerResources/scss/core/structure.scss +++ b/UI/WebServerResources/scss/core/structure.scss @@ -24,6 +24,9 @@ html * { &--top { padding-top: $mg; } + &--bottom { + padding-bottom: $mg; + } } .sg-logo { @@ -41,4 +44,16 @@ html * { top: 0; bottom: 0; width: 3px; +} + +// Group fields of a form +// See https://www.google.com/design/spec/patterns/settings.html#settings-grouping-settings +.sg-has-form-sections { + background-color: $colorGrey300; +} +.sg-form-section { + @extend .md-whiteframe-2dp; + @extend .md-padding; + background-color: white; + margin-bottom: $mg/2; } \ No newline at end of file