forked from Argonius-Angelus/lancer-clocks
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
70 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,67 @@ | ||
<form class="{{cssClass}} clock-form" autocomplete="off"> | ||
{{#if editable}} | ||
<div class="clock-name editable"> | ||
<input name="name" value="{{actor.name}}" /> | ||
</div> | ||
{{else}} | ||
<div class="clock-name"> | ||
<input name="name" value="{{actor.name}}" readonly /> | ||
</div> | ||
{{/if}} | ||
{{#if editable}} | ||
<div class="clock-progress"> | ||
{{#if (lte clock.progress 0)}} | ||
<button name="minus" disabled> | ||
<i class="fa fa-minus"></i> | ||
</button> | ||
{{#if editable}} | ||
<div class="clock-name editable"> | ||
<input name="name" value="{{actor.name}}" /> | ||
</div> | ||
{{else}} | ||
<button name="minus"> | ||
<i class="fa fa-minus"></i> | ||
</button> | ||
<div class="clock-name"> | ||
<input name="name" value="{{actor.name}}" readonly /> | ||
</div> | ||
{{/if}} | ||
<button name="reset"> | ||
<i class="fa fa-redo"></i> | ||
</button> | ||
{{#if (gte clock.progress clock.size)}} | ||
<button name="plus" disabled> | ||
<i class="fa fa-plus"></i> | ||
</button> | ||
{{else}} | ||
<button name="plus"> | ||
<i class="fa fa-plus"></i> | ||
</button> | ||
{{#if editable}} | ||
<div class="clock-progress"> | ||
{{#if (lte clock.progress 0)}} | ||
<button name="minus" disabled> | ||
<i class="fa fa-minus"></i> | ||
</button> | ||
{{else}} | ||
<button name="minus"> | ||
<i class="fa fa-minus"></i> | ||
</button> | ||
{{/if}} | ||
<button name="reset"> | ||
<i class="fa fa-redo"></i> | ||
</button> | ||
{{#if (gte clock.progress clock.size)}} | ||
<button name="plus" disabled> | ||
<i class="fa fa-plus"></i> | ||
</button> | ||
{{else}} | ||
<button name="plus"> | ||
<i class="fa fa-plus"></i> | ||
</button> | ||
{{/if}} | ||
</div> | ||
{{/if}} | ||
</div> | ||
{{/if}} | ||
<div class="clock-image"> | ||
<img src="{{clock.image.url}}" width="{{clock.image.width}}" height="{{clock.image.height}}" /> | ||
</div> | ||
{{#if editable}} | ||
<div class="clock-config"> | ||
<div class="clock-config-group theme"> | ||
<label for="theme"><i class="fa fa-palette"></i></label> | ||
<select name="theme"> | ||
{{#select clock.theme}} | ||
{{#each clock.settings.themes as |theme|}} | ||
<option value="{{theme}}">{{theme}}</option> | ||
{{/each}} | ||
{{/select}} | ||
</select> | ||
<div class="clock-image"> | ||
<img | ||
src="{{clock.image.url}}" | ||
width="{{clock.image.width}}" | ||
height="{{clock.image.height}}" | ||
/> | ||
</div> | ||
<div class="clock-config-group"> | ||
<label for="size"><i class="fa fa-chart-pie"></i></label> | ||
<select name="size"> | ||
{{#select clock.size}} | ||
{{#each clock.settings.sizes as |size|}} | ||
<option value="{{size}}">{{size}}</option> | ||
{{/each}} | ||
{{/select}} | ||
</select> | ||
{{#if editable}} | ||
<div class="clock-config"> | ||
<div class="clock-config-group theme"> | ||
<label for="theme"><i class="fa fa-palette"></i></label> | ||
{{#select clock.theme}} | ||
<select name="theme"> | ||
{{#each clock.settings.themes as |theme|}} | ||
<option value="{{theme}}">{{theme}}</option> | ||
{{/each}} | ||
</select> | ||
{{/select}} | ||
</div> | ||
<div class="clock-config-group"> | ||
<label for="size"><i class="fa fa-chart-pie"></i></label> | ||
{{#select clock.size}} | ||
<select name="size"> | ||
{{#each clock.settings.sizes as |size|}} | ||
<option value="{{size}}">{{size}}</option> | ||
{{/each}} | ||
</select> | ||
{{/select}} | ||
</div> | ||
</div> | ||
</div> | ||
{{/if}} | ||
{{/if}} | ||
</form> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters