Remove static loading

This commit is contained in:
Dennis Eichhorn 2016-07-05 19:22:54 +02:00
parent e97c0a0293
commit 762007922f
5 changed files with 8 additions and 17 deletions

View File

@ -20,7 +20,7 @@ return ['Calendar' => [
'Layout' => 'Layout',
'List' => 'List',
'Month' => 'Month',
'NewEvent' => 'New Event',
'NewEvent' => 'New Event',
'Settings' => 'Settings',
'Timeline' => 'Timeline',
'Week' => 'Week',

View File

@ -21,9 +21,9 @@ $calendar = $this->getData('calendar');
<?php for($j = 0; $j < 7; $j++) : ?>
<div contextmenu="calendar-day-menu" style="display: inline-block; box-sizing: border-box; width: 13.0%; height: 100px; border: 1px solid #000; margin: 0; padding: 3px; overflow: hidden">
<?php if($calendar->getDate()->getFirstDayOfMonth() <= $i*7+$j+1 && $calendar->getDate()->getDaysOfMonth() >= $i*7+$j+1) {
echo ($i*7+$j+1) . ' ' . $this->l11n->getText(0, jddayofweek($j, 'Backend', 1));
echo ($i*7+$j+1) . ' ' . jddayofweek($j, 1);
} else {
echo (($i*7+$j+1)-$calendar->getDate()->getDaysOfMonth()) . ' ' . $this->l11n->getText(0, jddayofweek($j, 'Backend', 1));
echo (($i*7+$j+1)-$calendar->getDate()->getDaysOfMonth()) . ' ' . jddayofweek($j, 1);
} ?>
<ul>
<?php
@ -67,7 +67,7 @@ $calendar = $this->getData('calendar');
<li><i class="fa fa-times warning"></i> <span class="check"><input type="checkbox" id="iDefault" checked><label for="iDefault">Default</label></span><i class="fa fa-cogs floatRight"></i>
</ul>
<div class="spacer"></div>
<button><i class="fa fa-calendar-plus-o"></i> <?= $this->l11n->getText(0, 'Add'); ?></button> <button><i class="fa fa-calendar-check-o"></i> <?= $this->l11n->getText(0, 'Backend', 'Create') ?></button>
<button><i class="fa fa-calendar-plus-o"></i> <?= $this->l11n->getText(0, 'Backend', 'Add'); ?></button> <button><i class="fa fa-calendar-check-o"></i> <?= $this->l11n->getText(0, 'Backend', 'Create') ?></button>
</div>
</section>
</section>

View File

@ -20,7 +20,7 @@ return ['Calendar' => [
'Layout' => 'Layout',
'List' => 'List',
'Month' => 'Month',
'NewEvent' => 'New Event',
'NewEvent' => 'New Event',
'Settings' => 'Settings',
'Timeline' => 'Timeline',
'Week' => 'Week',

View File

@ -21,9 +21,9 @@ $calendar = $this->getData('calendar');
<?php for($j = 0; $j < 7; $j++) : ?>
<div contextmenu="calendar-day-menu" style="display: inline-block; box-sizing: border-box; width: 13.0%; height: 100px; border: 1px solid #000; margin: 0; padding: 3px; overflow: hidden">
<?php if($calendar->getDate()->getFirstDayOfMonth() <= $i*7+$j+1 && $calendar->getDate()->getDaysOfMonth() >= $i*7+$j+1) {
echo ($i*7+$j+1) . ' ' . $this->l11n->getText(0, jddayofweek($j, 'Backend', 1));
echo ($i*7+$j+1) . ' ' . jddayofweek($j, 1);
} else {
echo (($i*7+$j+1)-$calendar->getDate()->getDaysOfMonth()) . ' ' . $this->l11n->getText(0, jddayofweek($j, 'Backend', 1));
echo (($i*7+$j+1)-$calendar->getDate()->getDaysOfMonth()) . ' ' . jddayofweek($j, 1);
} ?>
<ul>
<?php
@ -67,7 +67,7 @@ $calendar = $this->getData('calendar');
<li><i class="fa fa-times warning"></i> <span class="check"><input type="checkbox" id="iDefault" checked><label for="iDefault">Default</label></span><i class="fa fa-cogs floatRight"></i>
</ul>
<div class="spacer"></div>
<button><i class="fa fa-calendar-plus-o"></i> <?= $this->l11n->getText(0, 'Add'); ?></button> <button><i class="fa fa-calendar-check-o"></i> <?= $this->l11n->getText(0, 'Backend', 'Create') ?></button>
<button><i class="fa fa-calendar-plus-o"></i> <?= $this->l11n->getText(0, 'Backend', 'Add'); ?></button> <button><i class="fa fa-calendar-check-o"></i> <?= $this->l11n->getText(0, 'Backend', 'Create') ?></button>
</div>
</section>
</section>

View File

@ -39,15 +39,6 @@
"from": "Calendar",
"for": "Navigation",
"file": "Navigation"
},
{
"pid": [
"fb78d7e421e4178d31a384fb394dcf2369fff309"
],
"type": 5,
"for": "Content",
"file": "",
"from": "Calendar"
}
]
}