Skip to content

Commit

Permalink
Revert bad change
Browse files Browse the repository at this point in the history
  • Loading branch information
mollybsmith-noaa committed Dec 6, 2024
1 parent f38ad48 commit 1c0b8cd
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 208 deletions.
88 changes: 50 additions & 38 deletions meteor_packages/mats-common/templates/params/param_list.html
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>&nbsp;&nbsp;Save Changes
</button>
<button type="button" name="cancel" id="cancel" class="edit-cancel btn btn-info">
<i class="fa-solid fa-xmark"></i>&nbsp;&nbsp;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>&nbsp;&nbsp;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>&nbsp;&nbsp;Save Changes
</button>
<button
type="button"
name="cancel"
id="cancel"
class="edit-cancel btn btn-info"
>
<i class="fa-solid fa-xmark"></i>&nbsp;&nbsp;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>&nbsp;&nbsp;Restore Settings
</button>
<button type="button" name="reset" id="reset" class="reset btn btn-success">
<i class="fa-solid fa-rotate"></i>&nbsp;&nbsp;Reset to Defaults
</button>
</div>
{{/if}}
<button type="submit" name="add" id="add" class="btn btn-success">
<i class="fa-solid fa-plus"></i>&nbsp;&nbsp;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>&nbsp;&nbsp;Restore Settings
</button>
<button type="button" name="reset" id="reset" class="reset btn btn-success">
<i class="fa-solid fa-rotate"></i>&nbsp;&nbsp;Reset to Defaults
</button>
</div>
{{/if}}
</form>
</div>
</template>
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>&nbsp;&nbsp;Save Changes
</button>
<button type="button" name="cancel" id="cancel" class="edit-cancel btn btn-info">
<i class="fa-solid fa-xmark"></i>&nbsp;&nbsp;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>&nbsp;&nbsp;Add Block
</button>
<button type="button" name="reset" id="reset" class="reset btn btn-success">
<i class="fa-solid fa-rotate"></i>&nbsp;&nbsp;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>&nbsp;&nbsp;Save Changes
</button>
<button
type="button"
name="cancel"
id="cancel"
class="edit-cancel btn btn-info"
>
<i class="fa-solid fa-xmark"></i>&nbsp;&nbsp;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>&nbsp;&nbsp;Scorecards Status
</button>
</div>
{{/if}}
<button type="submit" name="add" id="add" class="btn btn-success">
<i class="fa-solid fa-plus"></i>&nbsp;&nbsp;Add Block
</button>
<button type="button" name="reset" id="reset" class="reset btn btn-success">
<i class="fa-solid fa-rotate"></i>&nbsp;&nbsp;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>&nbsp;&nbsp;Scorecards Status
</button>
</div>
{{/if}}
</form>
</div>
</template>
Loading

0 comments on commit 1c0b8cd

Please sign in to comment.