updated calendar settings
This commit is contained in:
parent
33f24a42b8
commit
d1518f2901
|
@ -11,8 +11,8 @@ OC_UTIL::addStyle('', 'jquery.multiselect');
|
||||||
?>
|
?>
|
||||||
<form id="calendar">
|
<form id="calendar">
|
||||||
<fieldset class="personalblock">
|
<fieldset class="personalblock">
|
||||||
<label for="timezone"><strong><?php echo $l->t('Timezone');?></strong></label>
|
<table class="nostyle">
|
||||||
<select style="display: none;" id="timezone" name="timezone">
|
<tr><td><label for="timezone" class="bold"><?php echo $l->t('Timezone');?></label></td><td><select style="display: none;" id="timezone" name="timezone">
|
||||||
<?php
|
<?php
|
||||||
$continent = '';
|
$continent = '';
|
||||||
foreach($_['timezones'] as $timezone):
|
foreach($_['timezones'] as $timezone):
|
||||||
|
@ -27,33 +27,40 @@ OC_UTIL::addStyle('', 'jquery.multiselect');
|
||||||
echo '<option value="'.$timezone.'"'.($_['timezone'] == $timezone?' selected="selected"':'').'>'.$city.'</option>';
|
echo '<option value="'.$timezone.'"'.($_['timezone'] == $timezone?' selected="selected"':'').'>'.$city.'</option>';
|
||||||
endif;
|
endif;
|
||||||
endforeach;?>
|
endforeach;?>
|
||||||
</select>
|
</select></td></tr>
|
||||||
<label for="timeformat"><strong><?php echo $l->t('Timeformat');?></strong></label>
|
|
||||||
<select style="display: none;" id="timeformat" title="<?php echo "timeformat"; ?>" name="timeformat">
|
<tr><td><label for="timeformat" class="bold"><?php echo $l->t('Timeformat');?></label></td><td>
|
||||||
<option value="24" id="24h"><?php echo $l->t("24h"); ?></option>
|
<select style="display: none;" id="timeformat" title="<?php echo "timeformat"; ?>" name="timeformat">
|
||||||
<option value="ampm" id="ampm"><?php echo $l->t("12h"); ?></option>
|
<option value="24" id="24h"><?php echo $l->t("24h"); ?></option>
|
||||||
</select><br />
|
<option value="ampm" id="ampm"><?php echo $l->t("12h"); ?></option>
|
||||||
<label for="firstdayofweek"><strong><?php echo $l->t('First day of the week');?></strong></label>
|
</select>
|
||||||
<select style="display: none;" id="firstdayofweek" name="firstdayofweek">
|
</td></tr>
|
||||||
<?php
|
|
||||||
$weekdays = array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
|
<tr><td><label for="firstdayofweek" class="bold"><?php echo $l->t('First day of the week');?></label></td><td>
|
||||||
for($i = 0;$i <= 6;$i++){
|
<select style="display: none;" id="firstdayofweek" name="firstdayofweek">
|
||||||
echo '<option value="'.$i.'" id="select_'.$i.'">' . $l->t($weekdays[$i]) . '</option>';
|
<?php
|
||||||
}
|
$weekdays = array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
|
||||||
?>
|
for($i = 0;$i <= 6;$i++){
|
||||||
</select><br />
|
echo '<option value="'.$i.'" id="select_'.$i.'">' . $l->t($weekdays[$i]) . '</option>';
|
||||||
<label for="weekend"><strong><?php echo $l->t('Days of weekend');?></strong></label>
|
}
|
||||||
<select id="weekend" name="weekend[]" style="width: 50%;" multiple="multiple" title="<?php echo $l->t("Weekend"); ?>">
|
?>
|
||||||
<?php
|
</select>
|
||||||
$weekdays = array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
|
</td></tr>
|
||||||
for($i = 0;$i <= 6;$i++){
|
|
||||||
echo '<option value="'.$weekdays[$i].'" id="selectweekend_' . $weekdays[$i] . '">' . $l->t($weekdays[$i]) . '</option>';
|
<tr><td><label for="weekend" class="bold"><?php echo $l->t('Days of weekend');?></label></td><td>
|
||||||
}
|
<select id="weekend" name="weekend[]" style="width: 30em;" multiple="multiple" title="<?php echo $l->t("Weekend"); ?>">
|
||||||
?>
|
<?php
|
||||||
</select><br />
|
$weekdays = array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
|
||||||
<label for="duration"><strong><?php echo $l->t('Event duration');?></strong></label>
|
for($i = 0;$i <= 6;$i++){
|
||||||
<input type="text" maxlength="3" size="3" style="width: 2em;" id="duration" name="duration" /> <?php echo $l->t("Minutes");?>
|
echo '<option value="'.$weekdays[$i].'" id="selectweekend_' . $weekdays[$i] . '">' . $l->t($weekdays[$i]) . '</option>';
|
||||||
<br />
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</td></tr>
|
||||||
|
|
||||||
|
<tr><td><label for="duration" class="bold"><?php echo $l->t('Event duration');?></label></td><td><input type="text" maxlength="3" size="3" style="width: 2em;" id="duration" name="duration" /> <?php echo $l->t("Minutes");?></td></tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
<?php echo $l->t('Calendar CalDAV syncing address:');?>
|
<?php echo $l->t('Calendar CalDAV syncing address:');?>
|
||||||
<?php echo OC_Helper::linkTo('apps/calendar', 'caldav.php', null, true); ?><br />
|
<?php echo OC_Helper::linkTo('apps/calendar', 'caldav.php', null, true); ?><br />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -98,13 +98,14 @@ label.infield { cursor: text !important; }
|
||||||
|
|
||||||
/* VARIOUS REUSABLE SELECTORS */
|
/* VARIOUS REUSABLE SELECTORS */
|
||||||
.hidden { display:none; }
|
.hidden { display:none; }
|
||||||
|
.bold { font-weight: bold; }
|
||||||
|
|
||||||
#notification { z-index:101; cursor:pointer; background-color:#fc4; border:0; padding:0 .7em .3em; display:none; position:fixed; left:50%; top:0; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; }
|
#notification { z-index:101; cursor:pointer; background-color:#fc4; border:0; padding:0 .7em .3em; display:none; position:fixed; left:50%; top:0; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; }
|
||||||
|
|
||||||
.action, .selectedActions a, #logout { opacity:.3; -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; }
|
.action, .selectedActions a, #logout { opacity:.3; -webkit-transition:opacity 500ms; -moz-transition:opacity 500ms; -o-transition:opacity 500ms; transition:opacity 500ms; }
|
||||||
.action:hover, .selectedActions a:hover, #logout:hover { opacity:1; }
|
.action:hover, .selectedActions a:hover, #logout:hover { opacity:1; }
|
||||||
|
|
||||||
table tr { -webkit-transition:background-color 500ms; -moz-transition:background-color 500ms; -o-transition:background-color 500ms; transition:background-color 500ms; }
|
table:not(.nostyle) tr { -webkit-transition:background-color 500ms; -moz-transition:background-color 500ms; -o-transition:background-color 500ms; transition:background-color 500ms; }
|
||||||
tbody tr:hover, tr:active { background-color:#f8f8f8; }
|
tbody tr:hover, tr:active { background-color:#f8f8f8; }
|
||||||
|
|
||||||
#body-settings .personalblock, #body-settings .helpblock { padding:.5em 1em; margin:1em; background:#f8f8f8; color:#555; text-shadow:#fff 0 1px 0; -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em; }
|
#body-settings .personalblock, #body-settings .helpblock { padding:.5em 1em; margin:1em; background:#f8f8f8; color:#555; text-shadow:#fff 0 1px 0; -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em; }
|
||||||
|
|
|
@ -9,11 +9,13 @@ input#identity { width:20em; }
|
||||||
.msg.success{ color:#fff; background-color:#0f0; padding:3px; text-shadow:1px 1px #000; }
|
.msg.success{ color:#fff; background-color:#0f0; padding:3px; text-shadow:1px 1px #000; }
|
||||||
.msg.error{ color:#fff; background-color:#f00; padding:3px; text-shadow:1px 1px #000; }
|
.msg.error{ color:#fff; background-color:#f00; padding:3px; text-shadow:1px 1px #000; }
|
||||||
|
|
||||||
|
table.nostyle label { margin-right: 2em; }
|
||||||
|
table.nostyle td { padding: 0.2em 0; }
|
||||||
|
|
||||||
/* USERS */
|
/* USERS */
|
||||||
form { display:inline; }
|
form { display:inline; }
|
||||||
table th { height:2em; color:#999; }
|
table:not(.nostyle) th { height:2em; color:#999; }
|
||||||
table th, table td { border-bottom:1px solid #ddd; padding:0 .5em; padding-left:.8em; text-align:left; font-weight:normal; }
|
table:not(.nostyle) th, table:not(.nostyle) td { border-bottom:1px solid #ddd; padding:0 .5em; padding-left:.8em; text-align:left; font-weight:normal; }
|
||||||
td.name, td.password { padding-left:.8em; }
|
td.name, td.password { padding-left:.8em; }
|
||||||
td.password>img, td.remove>img, td.quota>img { visibility:hidden; }
|
td.password>img, td.remove>img, td.quota>img { visibility:hidden; }
|
||||||
td.password, td.quota { width:12em; cursor:pointer; }
|
td.password, td.quota { width:12em; cursor:pointer; }
|
||||||
|
@ -24,8 +26,8 @@ tr:hover>td.password>span { margin:0; cursor:pointer; }
|
||||||
tr:hover>td.remove>img, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
|
tr:hover>td.remove>img, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
|
||||||
tr:hover>td.remove>img { float:right; }
|
tr:hover>td.remove>img { float:right; }
|
||||||
li.selected { background-color:#ddd; }
|
li.selected { background-color:#ddd; }
|
||||||
#content>table { margin-top:6.5em; }
|
#content>table:not(.nostyle) { margin-top:6.5em; }
|
||||||
table { width:100%; }
|
table:not(.nostyle) { width:100%; }
|
||||||
|
|
||||||
|
|
||||||
/* APPS */
|
/* APPS */
|
||||||
|
|
Loading…
Reference in New Issue