refresh layout
This commit is contained in:
@@ -1,4 +1,32 @@
|
|||||||
|
|
||||||
|
/* roboto-regular - latin_latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url('../fonts/roboto-v18-latin_latin-ext-regular.eot'); /* IE9 Compat Modes */
|
||||||
|
src: local('Roboto'), local('Roboto-Regular'),
|
||||||
|
url('../fonts/roboto-v18-latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||||
|
url('../fonts/roboto-v18-latin_latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||||
|
url('../fonts/roboto-v18-latin_latin-ext-regular.woff') format('woff'), /* Modern Browsers */
|
||||||
|
url('../fonts/roboto-v18-latin_latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||||
|
url('../fonts/roboto-v18-latin_latin-ext-regular.svg#Roboto') format('svg'); /* Legacy iOS */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* open-sans-regular - latin_latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Open Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url('../fonts/open-sans-v15-latin_latin-ext-regular.eot'); /* IE9 Compat Modes */
|
||||||
|
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
||||||
|
url('../fonts/open-sans-v15-latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||||
|
url('../fonts/open-sans-v15-latin_latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||||
|
url('../fonts/open-sans-v15-latin_latin-ext-regular.woff') format('woff'), /* Modern Browsers */
|
||||||
|
url('../fonts/open-sans-v15-latin_latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||||
|
url('../fonts/open-sans-v15-latin_latin-ext-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
|
||||||
|
}
|
||||||
|
|
||||||
body{
|
body{
|
||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
padding:0;
|
||||||
@@ -13,6 +41,7 @@ body #content{
|
|||||||
color:#000;
|
color:#000;
|
||||||
background:#fff;
|
background:#fff;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
|
min-width:500px;
|
||||||
max-width:1200px;
|
max-width:1200px;
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
margin-right:auto;
|
margin-right:auto;
|
||||||
@@ -33,11 +62,23 @@ body,
|
|||||||
#content div,
|
#content div,
|
||||||
#content select,
|
#content select,
|
||||||
#content option,
|
#content option,
|
||||||
#content li{
|
#content li,
|
||||||
font-size:0.75rem;
|
#content input[type="submit"],
|
||||||
|
#content input[type="file"],
|
||||||
|
#content .label{
|
||||||
font-family:Roboto,sans-serif;
|
font-family:Roboto,sans-serif;
|
||||||
|
font-size:0.937rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#content div.panel-header,
|
||||||
|
#content button{
|
||||||
|
font-size:1rem;
|
||||||
|
font-family:Roboto,sans-serif;
|
||||||
|
font-weight:600;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#content textarea{
|
#content textarea{
|
||||||
padding:6px;
|
padding:6px;
|
||||||
border:1px solid #ccc;
|
border:1px solid #ccc;
|
||||||
@@ -85,7 +126,6 @@ body,
|
|||||||
|
|
||||||
#calcms_admin_menu div a,
|
#calcms_admin_menu div a,
|
||||||
#calcms_admin_menu select{
|
#calcms_admin_menu select{
|
||||||
font-size:14px;
|
|
||||||
padding:6px;
|
padding:6px;
|
||||||
padding-top:1rem;
|
padding-top:1rem;
|
||||||
padding-bottom:1rem;
|
padding-bottom:1rem;
|
||||||
@@ -103,7 +143,6 @@ body,
|
|||||||
|
|
||||||
#calcms_admin_menu select,
|
#calcms_admin_menu select,
|
||||||
#calcms_admin_menu option{
|
#calcms_admin_menu option{
|
||||||
font-size:0.8rem;
|
|
||||||
max-width:8em;
|
max-width:8em;
|
||||||
border:0;
|
border:0;
|
||||||
padding-left:0;
|
padding-left:0;
|
||||||
@@ -121,11 +160,14 @@ a{
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content table{
|
#content table{
|
||||||
margin:1;
|
|
||||||
border-collapse:collapse;
|
border-collapse:collapse;
|
||||||
width:100%
|
width:100%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content table.data tr{
|
||||||
|
border-bottom:1px solid rgba(0,0,0,0.12);
|
||||||
|
}
|
||||||
|
|
||||||
#content table td{
|
#content table td{
|
||||||
padding:6px;
|
padding:6px;
|
||||||
border-collapse:collapse;
|
border-collapse:collapse;
|
||||||
@@ -148,25 +190,37 @@ a{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#content div{
|
div.editor{
|
||||||
padding:1rem;
|
padding-left:1rem;
|
||||||
|
padding-right:1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.header{
|
#content .panel{
|
||||||
font-size:16px;
|
border: 1px solid rgba(0,0,0,.03);
|
||||||
|
box-shadow: 0 2px 2px rgba(0,0,0,.24),0 0 2px rgba(0,0,0,.12);
|
||||||
|
margin: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content div.panel-header{
|
||||||
text-align:left;
|
text-align:left;
|
||||||
padding-left:0;
|
padding-left:0;
|
||||||
|
align-content: center;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 8px 20px;
|
||||||
|
color: rgba(0,0,0,.54);
|
||||||
|
background: rgba(0,0,0,.03);
|
||||||
|
}
|
||||||
|
|
||||||
|
#content div.panel-body{
|
||||||
|
padding:1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .field{
|
#content .field{
|
||||||
width:30em;
|
width:30em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .button{
|
|
||||||
width:10em;
|
|
||||||
cursor:pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
*:focus {outline: none;}
|
*:focus {outline: none;}
|
||||||
|
|
||||||
#content a{
|
#content a{
|
||||||
@@ -287,13 +341,6 @@ div.error{
|
|||||||
border-radius:3px;
|
border-radius:3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.card div.title{
|
|
||||||
font-size:16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content table.table tr{
|
|
||||||
border-bottom:solid 1px #ebebeb;
|
|
||||||
}
|
|
||||||
#content table.table tr:hover{
|
#content table.table tr:hover{
|
||||||
background:#ebebeb
|
background:#ebebeb
|
||||||
}
|
}
|
||||||
@@ -337,6 +384,18 @@ tr.tablesorter-filter-row input{
|
|||||||
color:#000;
|
color:#000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.table tr,
|
||||||
|
table.tablesorter tr{
|
||||||
|
border-bottom:solid 1px #ebebeb;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content table.tablesorter td,
|
||||||
|
#content table.table td{
|
||||||
|
padding:0.8rem 0.4rem;
|
||||||
|
text-align:left;
|
||||||
|
vertical-align:middle;
|
||||||
|
}
|
||||||
|
|
||||||
/*colors*/
|
/*colors*/
|
||||||
#content input[type="submit"],
|
#content input[type="submit"],
|
||||||
#content input[type="file"],
|
#content input[type="file"],
|
||||||
@@ -355,30 +414,29 @@ tr.tablesorter-filter-row input{
|
|||||||
background-color:#39a1f4;
|
background-color:#39a1f4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content .button{
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
/*colors end */
|
/*colors end */
|
||||||
#content input[type="submit"],
|
#content input[type="submit"],
|
||||||
#content input[type="file"],
|
#content input[type="file"],
|
||||||
#content button{
|
#content button{
|
||||||
border:none;
|
display:inline-block;
|
||||||
color:#fff;
|
border:0;
|
||||||
padding:8px;
|
padding-left:16px;
|
||||||
margin-top:0px;
|
padding-right:16px;
|
||||||
margin-bottom:0px;
|
margin:0.5rem;
|
||||||
margin-left:0.5rem;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 12px;
|
min-width:64px;
|
||||||
}
|
font-weight:500;
|
||||||
|
border-radius:4px;
|
||||||
#content input[type="submit"],
|
color:#fff;
|
||||||
#content input[type="file"],
|
height:36px;
|
||||||
#content button{
|
|
||||||
box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
|
|
||||||
position:relative;
|
position:relative;
|
||||||
|
box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
|
||||||
transition:background-color .3s cubic-bezier(.64,.09,.08,1),box-shadow .3s cubic-bezier(.64,.09,.08,1);
|
transition:background-color .3s cubic-bezier(.64,.09,.08,1),box-shadow .3s cubic-bezier(.64,.09,.08,1);
|
||||||
padding:10px 20px;
|
|
||||||
display:inline-block;
|
|
||||||
border:0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#content input[type="submit"]:hover,
|
#content input[type="submit"]:hover,
|
||||||
@@ -434,10 +492,6 @@ input[type='checkbox']{
|
|||||||
margin-top:0px;
|
margin-top:0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.buttons button{
|
|
||||||
margin-bottom:1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content div.formField div.label{
|
#content div.formField div.label{
|
||||||
display:hide;
|
display:hide;
|
||||||
padding-left:1em;
|
padding-left:1em;
|
||||||
@@ -455,7 +509,6 @@ input[type='checkbox']{
|
|||||||
/* new */
|
/* new */
|
||||||
|
|
||||||
#calcms_admin_menu{
|
#calcms_admin_menu{
|
||||||
font-size:0.9375rem;
|
|
||||||
position:fixed;
|
position:fixed;
|
||||||
top:0;
|
top:0;
|
||||||
left:0;
|
left:0;
|
||||||
@@ -479,31 +532,51 @@ input[type='checkbox']{
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body #content{
|
|
||||||
margin-top:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
body,
|
|
||||||
#content input,
|
|
||||||
#content textarea,
|
|
||||||
#content td,
|
|
||||||
#content div,
|
|
||||||
#content select,
|
|
||||||
#content option,
|
|
||||||
#content li,
|
|
||||||
#content input[type="submit"],
|
|
||||||
#content input[type="file"],
|
|
||||||
#content button{
|
|
||||||
font-size:0.85rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#calcms_admin_menu .fa,
|
#calcms_admin_menu .fa,
|
||||||
#calcms_admin_menu .far,
|
#calcms_admin_menu .far,
|
||||||
#calcms_admin_menu .fas{
|
#calcms_admin_menu .fas{
|
||||||
opacity:0.5;
|
color:#777;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.buttons{
|
#content button.selectImage{
|
||||||
margin-top:-1rem;
|
padding:0!important;
|
||||||
margin-bottom:-1rem;
|
float:left;
|
||||||
|
min-width:32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content button.selectImage,
|
||||||
|
#content button.selectImage img{
|
||||||
|
width:32px;
|
||||||
|
height:32px;
|
||||||
|
}
|
||||||
|
input.image{
|
||||||
|
width:16rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .ui-widget.ui-widget-content{
|
||||||
|
border:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .select .option{
|
||||||
|
font-size:1rem;
|
||||||
|
line-height:2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content #imageList div.images{
|
||||||
|
max-height:650px;
|
||||||
|
overflow-y:scroll
|
||||||
|
}
|
||||||
|
|
||||||
|
#calcms_admin_menu #bars{
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#calcms_admin_menu.mobile{
|
||||||
|
flex-direction:column;
|
||||||
|
position:absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
#calcms_admin_menu.mobile div{
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -334,6 +334,10 @@ input.tablesorter-filter{
|
|||||||
font-weight:300;
|
font-weight:300;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content .weak span{
|
||||||
|
border-radius:4px;
|
||||||
|
}
|
||||||
|
|
||||||
#content .schedule,
|
#content .schedule,
|
||||||
#content .event{
|
#content .event{
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
@@ -459,9 +463,6 @@ div.rms_detail div.image{
|
|||||||
width:100%;
|
width:100%;
|
||||||
float:right;
|
float:right;
|
||||||
}
|
}
|
||||||
div.rms_detail div.image img{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
div.rms_detail div.text{
|
div.rms_detail div.text{
|
||||||
width:100%;
|
width:100%;
|
||||||
@@ -489,10 +490,13 @@ div.play .error{
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content div.event,
|
#content div.event,
|
||||||
#content div.scheduled,
|
#content div.schedule,
|
||||||
#content div.grid,
|
#content div.grid,
|
||||||
#content div.playout{
|
#content div.play,
|
||||||
padding-top:0.4rem;
|
#content div.error{
|
||||||
padding-bottom:1rem;
|
padding-left:0px;
|
||||||
|
padding-top:0px;
|
||||||
|
padding-bottom:12px;
|
||||||
|
padding-right:32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
#comments table{
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
#comments td,th,input {
|
#comments td,th,input {
|
||||||
line-height:100%;
|
line-height:100%;
|
||||||
ffont-size:10px;
|
ffont-size:10px;
|
||||||
@@ -5,7 +9,7 @@
|
|||||||
#comments td,th{
|
#comments td,th{
|
||||||
display:table-cell;
|
display:table-cell;
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
padding:6px;
|
padding:1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#comments td.level0, td.level1, td.level2, td.level3, td.level4, td.level5{
|
#comments td.level0, td.level1, td.level2, td.level3, td.level4, td.level5{
|
||||||
@@ -86,10 +90,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#comments table.event_comments{
|
|
||||||
/*width:800px;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#comments table.event_comments td{
|
#comments table.event_comments td{
|
||||||
padding:3px;
|
padding:3px;
|
||||||
background-color:#ccc;
|
background-color:#ccc;
|
||||||
@@ -98,10 +98,6 @@
|
|||||||
#comments .event th{
|
#comments .event th{
|
||||||
text-align:left;
|
text-align:left;
|
||||||
}
|
}
|
||||||
#comments .event td{
|
|
||||||
padding:3px;
|
|
||||||
border-right:1px solid #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#comments .event button{
|
#comments .event button{
|
||||||
text-align:right;
|
text-align:right;
|
||||||
|
|||||||
@@ -15,10 +15,6 @@ pre{
|
|||||||
width:11em;
|
width:11em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.editor input.image{
|
|
||||||
width:90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content .editor img{
|
#content .editor img{
|
||||||
padding:0;
|
padding:0;
|
||||||
margin:0;
|
margin:0;
|
||||||
@@ -49,11 +45,6 @@ pre{
|
|||||||
max-width:40rem;
|
max-width:40rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .panel{
|
|
||||||
margin:1em;
|
|
||||||
border:1px solid #ccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.date{
|
.date{
|
||||||
width:10em;
|
width:10em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,18 +22,14 @@ div#newSeries a,
|
|||||||
div#oldSeries a{
|
div#oldSeries a{
|
||||||
color:#fff;
|
color:#fff;
|
||||||
background:#1abc9c;
|
background:#1abc9c;
|
||||||
padding:6px;
|
padding:8px;
|
||||||
padding-top:6px;
|
margin:8px;
|
||||||
margin:6px;
|
|
||||||
margin-left:6px;
|
|
||||||
margin-right:6px;
|
|
||||||
/*float:left;*/
|
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
display:table-cell;
|
display:table-cell;
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
width:10rem;
|
width:10rem;
|
||||||
height:3rem;
|
height:4rem;
|
||||||
line-height:2em;
|
line-height:2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,6 +46,8 @@ table{
|
|||||||
padding-top:3px;
|
padding-top:3px;
|
||||||
padding-bottom:3px;
|
padding-bottom:3px;
|
||||||
margin:1px;
|
margin:1px;
|
||||||
|
border-radius:4px;
|
||||||
|
text-align:center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.ok{
|
#content div.ok{
|
||||||
|
|||||||
@@ -66,6 +66,7 @@
|
|||||||
|
|
||||||
#content div.show_schedule{
|
#content div.show_schedule{
|
||||||
clear:both;
|
clear:both;
|
||||||
|
padding:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.show_schedule table{
|
#content div.show_schedule table{
|
||||||
|
|||||||
@@ -205,23 +205,63 @@ function getUrlParameter(name){
|
|||||||
return results[1];
|
return results[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleBars(){
|
||||||
|
var menu=$('#calcms_admin_menu');
|
||||||
|
menu.toggleClass('mobile');
|
||||||
|
if (menu.hasClass('mobile')){
|
||||||
|
$('#calcms_admin_menu div').show();
|
||||||
|
$('#content').hide();
|
||||||
|
}else{
|
||||||
|
$('#content').show();
|
||||||
|
setupMenu(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var oldWidth=0;
|
||||||
|
function setupMenu(update){
|
||||||
|
var xmax=960;
|
||||||
|
|
||||||
|
var menu = $('#calcms_admin_menu');
|
||||||
|
var width = menu.width();
|
||||||
|
|
||||||
|
if ( (width < xmax) && (oldWidth >= xmax) ) update=1;
|
||||||
|
if ( (width >= xmax) && (oldWidth < xmax) ) update=1;
|
||||||
|
if (oldWidth==0) update=1;
|
||||||
|
|
||||||
|
if (update == 1){
|
||||||
|
if (menu.width() < 960){
|
||||||
|
$('#calcms_admin_menu div').hide();
|
||||||
|
$('#calcms_admin_menu div.mobile').show();
|
||||||
|
}else{
|
||||||
|
$('#calcms_admin_menu div').show();
|
||||||
|
$('#calcms_admin_menu #bars').hide();
|
||||||
|
menu.removeClass('mobile');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
oldWidth = width;
|
||||||
|
}
|
||||||
|
|
||||||
// will be overridden by calendar.js
|
// will be overridden by calendar.js
|
||||||
function setupMenuHeight(){
|
function setupMenuHeight(){
|
||||||
|
|
||||||
|
var content=$('#content');
|
||||||
|
content.css("position", "relative");
|
||||||
|
|
||||||
var menu=$('#calcms_admin_menu');
|
var menu=$('#calcms_admin_menu');
|
||||||
|
|
||||||
$('#content').css("position", "absolute");
|
|
||||||
var top = menu.height();
|
var top = menu.height();
|
||||||
$('#content').css("top", top);
|
content.css("top", top);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
console.log($(window).width()+" "+$(document).width()+" "+$('#content').width());
|
||||||
var left=0;
|
var left=0;
|
||||||
if( $(window).width() >= $(document).width() ){
|
if( $(window).width() >= $(document).width() ){
|
||||||
left=$(document).width()-$('#content').width();
|
left=$(document).width() - $('#content').width();
|
||||||
left/=2;
|
left/=2;
|
||||||
if (left<40)left=0;
|
if (left<40)left=0;
|
||||||
}
|
}
|
||||||
$('#content').css("left", left);
|
$('#content').css("left", left);
|
||||||
|
*/
|
||||||
return top;
|
return top;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -311,10 +351,19 @@ function initLabels(){
|
|||||||
|
|
||||||
$(document).ready(
|
$(document).ready(
|
||||||
function(){
|
function(){
|
||||||
|
setupMenu();
|
||||||
checkSession();
|
checkSession();
|
||||||
|
|
||||||
setMissingUrlParameters();
|
setMissingUrlParameters();
|
||||||
|
|
||||||
|
// will be done implicitely on adding back button
|
||||||
|
//setupMenuHeight();
|
||||||
|
|
||||||
|
$(window).resize(function() {
|
||||||
|
setupMenuHeight();
|
||||||
|
setupMenu();
|
||||||
|
});
|
||||||
|
|
||||||
if(getController()=='calendar'){
|
if(getController()=='calendar'){
|
||||||
//use build-in localization
|
//use build-in localization
|
||||||
console.log("add back")
|
console.log("add back")
|
||||||
@@ -327,12 +376,6 @@ $(document).ready(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
initLabels();
|
initLabels();
|
||||||
|
|
||||||
setupMenuHeight();
|
|
||||||
$(window).resize(function() {
|
|
||||||
setupMenuHeight();
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -720,6 +720,7 @@ function updateTable(){
|
|||||||
|
|
||||||
$(window).resize(function() {
|
$(window).resize(function() {
|
||||||
resizeCalendarMenu();
|
resizeCalendarMenu();
|
||||||
|
setupMenu()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,15 +13,6 @@ function edit_event(event_id, series_id, studio_id, project_id, hide_series){
|
|||||||
var url="event.cgi?project_id="+project_id+"&studio_id="+studio_id+"&series_id="+series_id+"&event_id="+event_id+"&action=edit";
|
var url="event.cgi?project_id="+project_id+"&studio_id="+studio_id+"&series_id="+series_id+"&event_id="+event_id+"&action=edit";
|
||||||
if ((hide_series!=null) && (hide_series!=''))url+='&hide_series=1';
|
if ((hide_series!=null) && (hide_series!=''))url+='&hide_series=1';
|
||||||
load(url);
|
load(url);
|
||||||
/*
|
|
||||||
updateContainer(
|
|
||||||
'event_details_'+event_id,
|
|
||||||
url,
|
|
||||||
function(){
|
|
||||||
$('#event_container_'+event_id).slideToggle();
|
|
||||||
}
|
|
||||||
);
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -81,9 +81,9 @@ $(document).ready(
|
|||||||
|
|
||||||
initTextWidth();
|
initTextWidth();
|
||||||
|
|
||||||
setTextWidth('.datetimepicker.start', 120);
|
setTextWidth('.datetimepicker.start', 130);
|
||||||
setTextWidth('.datetimepicker.end', 120);
|
setTextWidth('.datetimepicker.end', 130);
|
||||||
setTextWidth('.datetimepicker.end_date', 80);
|
setTextWidth('.datetimepicker.end_date', 90);
|
||||||
setTextWidth('.datetimepicker.weekday', 20);
|
setTextWidth('.datetimepicker.weekday', 20);
|
||||||
setTextWidth('.datetimepicker.frequency', 20);
|
setTextWidth('.datetimepicker.frequency', 20);
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ Content-Type: text/html; charset=UTF-8;
|
|||||||
<TMPL_INCLUDE header_head.html>
|
<TMPL_INCLUDE header_head.html>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<center>
|
||||||
<TMPL_IF action_result>
|
<TMPL_IF action_result>
|
||||||
<br/> <br/> <br/>
|
<br/> <br/> <br/>
|
||||||
<div class="ok head"><TMPL_VAR action_result></div>
|
<div class="ok head"><TMPL_VAR action_result></div>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="selectEvent" class="panel">
|
<div id="selectEvent">
|
||||||
<table>
|
<table>
|
||||||
|
|
||||||
<TMPL_IF selectProjectStudio>
|
<TMPL_IF selectProjectStudio>
|
||||||
|
|||||||
@@ -1,14 +1,5 @@
|
|||||||
<!doctype html>
|
<html5>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
|
||||||
<script src="js/jquery.tablesorter.min.js"></script>
|
|
||||||
<script src="js/jquery.tablesorter.widgets.min.js"></script>
|
|
||||||
<script src="js/jquery.tablesorter.scroller.js"></script>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var region='<TMPL_VAR loc.region>';
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<TMPL_VAR .loc.label_show_schedule>
|
<TMPL_VAR .loc.label_show_schedule>
|
||||||
@@ -22,7 +13,7 @@
|
|||||||
<th><TMPL_VAR .loc.label_studio></th>
|
<th><TMPL_VAR .loc.label_studio></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<body>
|
<tbody>
|
||||||
<TMPL_LOOP dates>
|
<TMPL_LOOP dates>
|
||||||
<tr class="<TMPL_IF exclude>exclude</TMPL_IF>">
|
<tr class="<TMPL_IF exclude>exclude</TMPL_IF>">
|
||||||
<td><TMPL_VAR start_weekday></td>
|
<td><TMPL_VAR start_weekday></td>
|
||||||
@@ -32,9 +23,8 @@
|
|||||||
<td><TMPL_VAR studio_name></td>
|
<td><TMPL_VAR studio_name></td>
|
||||||
</tr>
|
</tr>
|
||||||
</TMPL_LOOP>
|
</TMPL_LOOP>
|
||||||
</body>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user