-
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
f38ad48
commit 1c0b8cd
Showing
3 changed files
with
251 additions
and
208 deletions.
There are no files selected for viewing
88 changes: 50 additions & 38 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,44 +1,56 @@ | ||
<template name="paramList"> | ||
<div id="paramList" class="clearfix pull-left"> | ||
<div | ||
id="paramWell" | ||
class="clearfix well well-sm pull-left" | ||
style="background-blend-mode: lighten; background-color: {{paramWellColor}}; padding: 1em;" | ||
<form | ||
id="paramForm" | ||
name="paramForm" | ||
aria-label="form to set the curve parameters" | ||
novalidate | ||
> | ||
{{#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" | ||
<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" | ||
> | ||
<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}} | ||
<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> | ||
</div> | ||
</template> |
88 changes: 50 additions & 38 deletions
88
meteor_packages/mats-common/templates/params/scorecard_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,44 +1,56 @@ | ||
<template name="scorecardParamList"> | ||
<div id="paramList" class="clearfix pull-left"> | ||
<div | ||
id="paramWell" | ||
class="clearfix well well-sm pull-left" | ||
style="background-blend-mode: lighten; background-color: {{paramWellColor}}; padding: 1em;" | ||
<form | ||
id="paramForm" | ||
name="paramForm" | ||
aria-label="form to set the scorecard parameters" | ||
novalidate | ||
> | ||
{{#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 Block | ||
</button> | ||
<button type="button" name="reset" id="reset" class="reset btn btn-success"> | ||
<i class="fa-solid fa-rotate"></i> Reset to Defaults | ||
</button> | ||
<button | ||
type="button" | ||
name="displayStatus" | ||
id="display-status" | ||
class="display-status btn btn-success" | ||
<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" | ||
> | ||
<i class="fa-solid fa-list-check"></i> Scorecards Status | ||
</button> | ||
</div> | ||
{{/if}} | ||
<button type="submit" name="add" id="add" class="btn btn-success"> | ||
<i class="fa-solid fa-plus"></i> Add Block | ||
</button> | ||
<button type="button" name="reset" id="reset" class="reset btn btn-success"> | ||
<i class="fa-solid fa-rotate"></i> Reset to Defaults | ||
</button> | ||
<button | ||
type="button" | ||
name="displayStatus" | ||
id="display-status" | ||
class="display-status btn btn-success" | ||
> | ||
<i class="fa-solid fa-list-check"></i> Scorecards Status | ||
</button> | ||
</div> | ||
{{/if}} | ||
</form> | ||
</div> | ||
</template> |
Oops, something went wrong.