mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-17 17:08:42 +00:00
Remove static loading
This commit is contained in:
parent
e97c0a0293
commit
762007922f
|
|
@ -20,7 +20,7 @@ return ['Calendar' => [
|
||||||
'Layout' => 'Layout',
|
'Layout' => 'Layout',
|
||||||
'List' => 'List',
|
'List' => 'List',
|
||||||
'Month' => 'Month',
|
'Month' => 'Month',
|
||||||
'NewEvent' => 'New Event',
|
'NewEvent' => 'New Event',
|
||||||
'Settings' => 'Settings',
|
'Settings' => 'Settings',
|
||||||
'Timeline' => 'Timeline',
|
'Timeline' => 'Timeline',
|
||||||
'Week' => 'Week',
|
'Week' => 'Week',
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,9 @@ $calendar = $this->getData('calendar');
|
||||||
<?php for($j = 0; $j < 7; $j++) : ?>
|
<?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">
|
<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) {
|
<?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 {
|
} 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>
|
<ul>
|
||||||
<?php
|
<?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>
|
<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>
|
</ul>
|
||||||
<div class="spacer"></div>
|
<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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ return ['Calendar' => [
|
||||||
'Layout' => 'Layout',
|
'Layout' => 'Layout',
|
||||||
'List' => 'List',
|
'List' => 'List',
|
||||||
'Month' => 'Month',
|
'Month' => 'Month',
|
||||||
'NewEvent' => 'New Event',
|
'NewEvent' => 'New Event',
|
||||||
'Settings' => 'Settings',
|
'Settings' => 'Settings',
|
||||||
'Timeline' => 'Timeline',
|
'Timeline' => 'Timeline',
|
||||||
'Week' => 'Week',
|
'Week' => 'Week',
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,9 @@ $calendar = $this->getData('calendar');
|
||||||
<?php for($j = 0; $j < 7; $j++) : ?>
|
<?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">
|
<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) {
|
<?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 {
|
} 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>
|
<ul>
|
||||||
<?php
|
<?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>
|
<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>
|
</ul>
|
||||||
<div class="spacer"></div>
|
<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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user