-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from delVhariant/dev
Fixes and new features
- Loading branch information
Showing
5 changed files
with
108 additions
and
20 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="form-group"> | ||
<label>Darkness Level</label> | ||
<div class="form-fields"> | ||
<input type="range" id="di-level" name="darknessLevel" value="{{darknessLevel}}" min="0" max="1" step="0.05" data-dtype="Number"> | ||
<span class="range-value" id="di-level-display">{{darknessLevel}}</span> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label>Scene Color</label> | ||
<div class="form-fields"> | ||
<input type="text" id="di-color-text" name="sceneColor" value="{{color}}" data-dtype="String"> | ||
<input type="color" id="di-color" value="{{color}}" data-edit="sceneColor"> | ||
</div> | ||
</div> | ||
<script> | ||
|
||
$("#di-level").change(function() { | ||
$("#di-level-display").html($(this).val()); | ||
}); | ||
$("#di-color-text").change(function() { | ||
$("#di-color").val($(this).val()); | ||
}) | ||
$("#di-color").change(function() { | ||
$("#di-color-text").val($(this).val()); | ||
}) | ||
</script> |