diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 861447e90b..bb255fa460 100644 --- a/view/theme/quattro/dark/style.css +++ b/view/theme/quattro/dark/style.css @@ -1793,6 +1793,28 @@ span[id^="showmore-wrap"] { .rounded(5px); height: 18px; }*/ +a.actionbutton { + border: 1px solid #999999; + background-color: #cccccc; + color: #2d2d2d; + font-size: 8pt; + padding: 2pt; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +a.actionbutton i.icon { + display: inline-block; + vertical-align: baseline; + padding: 0; +} +a.actionbutton:hover { + text-decoration: none; + background-color: #ffffff; +} +h2 > .actionbutton { + float: right; +} /** acl **/ #photo-edit-perms-select, #photos-upload-permissions-wrapper, diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index 7b702bb4c8..6f68a9598f 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -1793,6 +1793,28 @@ span[id^="showmore-wrap"] { .rounded(5px); height: 18px; }*/ +a.actionbutton { + border: 1px solid #999999; + background-color: #cccccc; + color: #2d2d2d; + font-size: 8pt; + padding: 2pt; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +a.actionbutton i.icon { + display: inline-block; + vertical-align: baseline; + padding: 0; +} +a.actionbutton:hover { + text-decoration: none; + background-color: #ffffff; +} +h2 > .actionbutton { + float: right; +} /** acl **/ #photo-edit-perms-select, #photos-upload-permissions-wrapper, diff --git a/view/theme/quattro/lilac/style.css b/view/theme/quattro/lilac/style.css index 3fb953b8b5..f6093c5c22 100644 --- a/view/theme/quattro/lilac/style.css +++ b/view/theme/quattro/lilac/style.css @@ -1793,6 +1793,28 @@ span[id^="showmore-wrap"] { .rounded(5px); height: 18px; }*/ +a.actionbutton { + border: 1px solid #999999; + background-color: #cccccc; + color: #2d2d2d; + font-size: 8pt; + padding: 2pt; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +a.actionbutton i.icon { + display: inline-block; + vertical-align: baseline; + padding: 0; +} +a.actionbutton:hover { + text-decoration: none; + background-color: #ffffff; +} +h2 > .actionbutton { + float: right; +} /** acl **/ #photo-edit-perms-select, #photos-upload-permissions-wrapper, diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 62cb4c60b7..631a63333a 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -1093,6 +1093,27 @@ span[id^="showmore-wrap"] { height: 18px; }*/ +a.actionbutton { + border: 1px solid @Grey3; + background-color: @Grey2; + color: @Grey5; + font-size: 8pt; + padding: 2pt; + .rounded(); + + i.icon { + display: inline-block; + vertical-align: baseline; + padding: 0; + } + + &:hover { + text-decoration: none; + background-color: @Grey1; + } +} +h2 > .actionbutton { float: right; } + /** acl **/ #photo-edit-perms-select, diff --git a/view/theme/quattro/templates/event_form.tpl b/view/theme/quattro/templates/event_form.tpl new file mode 100644 index 0000000000..7cca2be364 --- /dev/null +++ b/view/theme/quattro/templates/event_form.tpl @@ -0,0 +1,46 @@ + +

{{$title}}

+ +

{{$desc}}

+ +
+ + + + + + + {{include file="field_custom.tpl" field=array('start_text', $s_text, $s_dsel, "")}} + {{include file="field_custom.tpl" field=array('finish_text', $f_text, $f_dsel, "")}} + + {{include file="field_checkbox.tpl" field=array('nofinish', $n_text, $n_checked, "")}} + {{include file="field_checkbox.tpl" field=array('adjust', $a_text, $a_checked, "")}} +
+ {{include file="field_input.tpl" field=array('summary', $t_text, $t_orig, "")}} + {{include file="field_textarea.tpl" field=array('desc', $d_text, $d_orig, "")}} + + {{include file="field_textarea.tpl" field=array('location', $l_text, $l_orig, "")}} +
+ {{include file="field_checkbox.tpl" field=array('share', $sh_text, $sh_checked, "")}} + + {{$acl}} + +
+ + +
+
+ + diff --git a/view/theme/quattro/templates/events-js.tpl b/view/theme/quattro/templates/events-js.tpl new file mode 100644 index 0000000000..ec8aa586cc --- /dev/null +++ b/view/theme/quattro/templates/events-js.tpl @@ -0,0 +1,7 @@ + +{{$tabs}} +

{{$title}} {{$new_event.1}}

+ + + +
diff --git a/view/theme/quattro/templates/events.tpl b/view/theme/quattro/templates/events.tpl new file mode 100644 index 0000000000..7a50498ebd --- /dev/null +++ b/view/theme/quattro/templates/events.tpl @@ -0,0 +1,24 @@ + +{{$tabs}} +

{{$title}} {{$new_event.1}}

+ + +
+ + {{$calendar}} + +
+
+ + +{{foreach $events as $event}} +
+ {{if $event.is_first}}
{{$event.d}}
{{/if}} + {{if $event.item.author_name}}{{$event.item.author_name}}{{/if}} + {{$event.html}} + {{if $event.item.plink}}{{/if}} + {{if $event.edit}}{{/if}} +
+
+ +{{/foreach}}