some style fixes for calendar
This commit is contained in:
parent
e07cd26571
commit
57207ddb82
|
@ -34,6 +34,7 @@ $(document).ready(function(){
|
||||||
$.getJSON(OC.filePath('calendar', 'ajax/settings', 'timeformat.php'), function(jsondata, status) {
|
$.getJSON(OC.filePath('calendar', 'ajax/settings', 'timeformat.php'), function(jsondata, status) {
|
||||||
$('#' + jsondata.timeformat).attr('selected',true);
|
$('#' + jsondata.timeformat).attr('selected',true);
|
||||||
$('#timeformat').chosen();
|
$('#timeformat').chosen();
|
||||||
|
$('#timeformat_chzn').css('width', '100px');
|
||||||
});
|
});
|
||||||
$.getJSON(OC.filePath('calendar', 'ajax/settings', 'gettimezonedetection.php'), function(jsondata, status){
|
$.getJSON(OC.filePath('calendar', 'ajax/settings', 'gettimezonedetection.php'), function(jsondata, status){
|
||||||
if(jsondata.detection == 'true'){
|
if(jsondata.detection == 'true'){
|
||||||
|
@ -43,6 +44,7 @@ $(document).ready(function(){
|
||||||
$.getJSON(OC.filePath('calendar', 'ajax/settings', 'getfirstday.php'), function(jsondata, status) {
|
$.getJSON(OC.filePath('calendar', 'ajax/settings', 'getfirstday.php'), function(jsondata, status) {
|
||||||
$('#' + jsondata.firstday).attr('selected',true);
|
$('#' + jsondata.firstday).attr('selected',true);
|
||||||
$('#firstday').chosen();
|
$('#firstday').chosen();
|
||||||
|
$('#firstday_chzn').css('width', '100px');
|
||||||
});
|
});
|
||||||
$('#cleancalendarcache').click(function(){
|
$('#cleancalendarcache').click(function(){
|
||||||
$.getJSON(OC.filePath('calendar', 'ajax/cache', 'rescan.php'), function(){
|
$.getJSON(OC.filePath('calendar', 'ajax/cache', 'rescan.php'), function(){
|
||||||
|
@ -55,7 +57,7 @@ function calendarcachecheck(){
|
||||||
$.getJSON(OC.filePath('calendar', 'ajax/cache', 'status.php'), function(jsondata, status) {
|
$.getJSON(OC.filePath('calendar', 'ajax/cache', 'status.php'), function(jsondata, status) {
|
||||||
$('#cleancalendarcache').attr('title', jsondata.l10n.text);
|
$('#cleancalendarcache').attr('title', jsondata.l10n.text);
|
||||||
if(jsondata.status == 'success'){
|
if(jsondata.status == 'success'){
|
||||||
$('#cleancalendarcache').css('background', '#90EE90');
|
$('#cleancalendarcache').css('background', '#F8F8F8');
|
||||||
$('#cleancalendarcache').css('color', '#333');
|
$('#cleancalendarcache').css('color', '#333');
|
||||||
$('#cleancalendarcache').css('text-shadow', '#fff 0 1px 0');
|
$('#cleancalendarcache').css('text-shadow', '#fff 0 1px 0');
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue