Initial commit
This commit is contained in:
29
app/plugins/timers/views/index.html
Normal file
29
app/plugins/timers/views/index.html
Normal file
@ -0,0 +1,29 @@
|
||||
<link rel="stylesheet" href="{ROOT_URL}app/plugins/timers/css/timers.css" crossorigin="anonymous">
|
||||
<script src="{ROOT_URL}app/plugins/timers/js/timers.js" type="module" defer></script>
|
||||
|
||||
<h1 class="text-center">Timers</h1>
|
||||
<div class="container">
|
||||
<h2>Timers</h2>
|
||||
<div class="form-inline">
|
||||
<div class="form-group">
|
||||
<input type="text" id="name" class="form-control" placeholder="Name">
|
||||
<input type="text" id="hours" class="form-control" placeholder="Hours">
|
||||
<input type="text" id="minutes" class="form-control" placeholder="Minutes">
|
||||
<input type="text" id="seconds" class="form-control" placeholder="Seconds">
|
||||
<button id="addTimer" class="btn btn-primary">Add</button>
|
||||
</div>
|
||||
</div>
|
||||
<h2>StopWatch</h2>
|
||||
<div class="form-inline">
|
||||
<div class="form-group">
|
||||
<input type="text" id="stopwatchName" class="form-control" placeholder="Name">
|
||||
<button id="addStopwatch" class="btn btn-primary">Start</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="timers" class="" style="margin-top: 20px;" role="tablist" aria-multiselectable="true">
|
||||
{timers}
|
||||
</div>
|
||||
<div id="stopWatches" class="" style="margin-top: 20px;" role="tablist" aria-multiselectable="true">
|
||||
{stopWatches}
|
||||
</div>
|
15
app/plugins/timers/views/stopwatchElement.html
Normal file
15
app/plugins/timers/views/stopwatchElement.html
Normal file
@ -0,0 +1,15 @@
|
||||
{LOOP}
|
||||
<div class="stopwatch-row">
|
||||
<span class="timer-name">{name}</span>
|
||||
<span class="timer-current">{currentSeconds}</span>
|
||||
<span class="timer-paused">{pausedAt}</span>
|
||||
<span class="timer-hours">{hours}</span>
|
||||
<span class="timer-minutes">{minutes}</span>
|
||||
<span class="timer-seconds">{seconds}</span>
|
||||
<span class="timer-id">{ID}</span>
|
||||
<span class="timer-created">{DTC}{createdAt}{/DTC}</span>
|
||||
</div>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<span class=""></span>
|
||||
{/ALT}
|
15
app/plugins/timers/views/timerElement.html
Normal file
15
app/plugins/timers/views/timerElement.html
Normal file
@ -0,0 +1,15 @@
|
||||
{LOOP}
|
||||
<div class="timer-row">
|
||||
<span class="timer-name">{name}</span>
|
||||
<span class="timer-current">{currentSeconds}</span>
|
||||
<span class="timer-paused">{pausedAt}</span>
|
||||
<span class="timer-hours">{hours}</span>
|
||||
<span class="timer-minutes">{minutes}</span>
|
||||
<span class="timer-seconds">{seconds}</span>
|
||||
<span class="timer-id">{ID}</span>
|
||||
<span class="timer-created">{DTC}{createdAt}{/DTC}</span>
|
||||
</div>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<span class=""></span>
|
||||
{/ALT}
|
Reference in New Issue
Block a user