-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
5aa8f81
commit b5b9597
Showing
3 changed files
with
170 additions
and
208 deletions.
There are no files selected for viewing
88 changes: 38 additions & 50 deletions
88
meteor_packages/mats-common/templates/params/param_list.html
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,56 +1,44 @@ | ||
<template name="paramList"> | ||
<div id="paramList" class="clearfix pull-left"> | ||
<form | ||
id="paramForm" | ||
name="paramForm" | ||
aria-label="form to set the curve parameters" | ||
novalidate | ||
<div | ||
id="paramWell" | ||
class="clearfix well well-sm pull-left" | ||
style="background-blend-mode: lighten; background-color: {{paramWellColor}}; padding: 1em;" | ||
> | ||
<div | ||
id="paramWell" | ||
class="clearfix well well-sm pull-left" | ||
style="background-blend-mode: lighten; background-color: {{paramWellColor}}; padding: 1em;" | ||
> | ||
{{#each CurveParamGroups}} {{> curveParamGroup}} {{/each}} | ||
</div> | ||
{{#if isEdit}} | ||
<div | ||
class="row clearfix well-sm col-lg-12 pull-left btn-toolbar btn-group btn-lg" | ||
style="padding: 1em" | ||
> | ||
<button type="submit" name="save" id="save" class="btn btn-success"> | ||
<i class="fa-regular fa-floppy-disk"></i> Save Changes | ||
</button> | ||
<button | ||
type="button" | ||
name="cancel" | ||
id="cancel" | ||
class="edit-cancel btn btn-info" | ||
> | ||
<i class="fa-solid fa-xmark"></i> Cancel | ||
</button> | ||
</div> | ||
{{else}} | ||
<div | ||
class="row clearfix well-sm col-lg-12 pull-left btn-toolbar btn-group btn-lg" | ||
style="padding: 1em" | ||
{{#each CurveParamGroups}} {{> curveParamGroup}} {{/each}} | ||
</div> | ||
{{#if isEdit}} | ||
<div | ||
class="row clearfix well-sm col-lg-12 pull-left btn-toolbar btn-group btn-lg" | ||
style="padding: 1em" | ||
> | ||
<button type="submit" name="save" id="save" class="btn btn-success"> | ||
<i class="fa-regular fa-floppy-disk"></i> Save Changes | ||
</button> | ||
<button type="button" name="cancel" id="cancel" class="edit-cancel btn btn-info"> | ||
<i class="fa-solid fa-xmark"></i> Cancel | ||
</button> | ||
</div> | ||
{{else}} | ||
<div | ||
class="row clearfix well-sm col-lg-12 pull-left btn-toolbar btn-group btn-lg" | ||
style="padding: 1em" | ||
> | ||
<button type="submit" name="add" id="add" class="btn btn-success"> | ||
<i class="fa-solid fa-plus"></i> Add Curve | ||
</button> | ||
<button | ||
type="button" | ||
name="restore" | ||
id="restore" | ||
class="restore-settings btn btn-success" | ||
> | ||
<button type="submit" name="add" id="add" class="btn btn-success"> | ||
<i class="fa-solid fa-plus"></i> Add Curve | ||
</button> | ||
<button | ||
type="button" | ||
name="restore" | ||
id="restore" | ||
class="restore-settings btn btn-success" | ||
> | ||
<i class="fa-solid fa-cloud-arrow-down"></i> Restore Settings | ||
</button> | ||
<button type="button" name="reset" id="reset" class="reset btn btn-success"> | ||
<i class="fa-solid fa-rotate"></i> Reset to Defaults | ||
</button> | ||
</div> | ||
{{/if}} | ||
</form> | ||
<i class="fa-solid fa-cloud-arrow-down"></i> Restore Settings | ||
</button> | ||
<button type="button" name="reset" id="reset" class="reset btn btn-success"> | ||
<i class="fa-solid fa-rotate"></i> Reset to Defaults | ||
</button> | ||
</div> | ||
{{/if}} | ||
</div> | ||
</template> |
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
Oops, something went wrong.