diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 861447e90..bb255fa46 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 7b702bb4c..6f68a9598 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 3fb953b8b..f6093c5c2 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 62cb4c60b..631a63333 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 000000000..7cca2be36 --- /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 000000000..ec8aa586c --- /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 000000000..7a50498eb --- /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}}