Fixed all known bugs; Modified the menu to hide; Fixed the tables to scroll with a fixed header.

This commit is contained in:
Wynne Crisman
2017-10-20 14:54:58 -07:00
parent 83e8268375
commit f848ea9a8f
34 changed files with 1019 additions and 821 deletions

View File

@@ -6,7 +6,7 @@
<label class='controlLabel'>Selected Measure: </label>
<select name="measures">
{{#each measures}}
<option value="{{_id}}">{{name}}</option>
<option class="{{#if deactivated}}deactivated{{/if}}" value="{{_id}}">{{name}}</option>
{{/each}}
</select>
</div>
@@ -28,23 +28,26 @@
<input type="date" class="form-control" name="date" data-schema-key='date' required>
</div>
</div>
<span class="pagination">
<span class="prevProducts noselect {{#if disablePrev}}disabled{{/if}}"><i class="fa fa-long-arrow-left" aria-hidden="true"></i> Prev</span>
<span class="nextProducts noselect {{#if disableNext}}disabled{{/if}}">Next <i class="fa fa-long-arrow-right" aria-hidden="true"></i></span>
</span>
<div class="contentControls">
<a class="loadMoreLink {{#if disableLoadMore}}disabled{{/if}}" href="javascript:">Load More...</a>
</div>
</div>
<div class="separatedTableHeader">
<table class="table table-striped table-hover">
<thead>
<tr>
<th class="name">Name</th>
<th class="current">Current</th>
<th class="changeDate">Change Date</th>
<th class="previous">Previous</th>
</tr>
</thead>
</table>
</div>
<div class="listRow">
<div class="listCell">
<div class="tableContainer">
<div class="tableContainer mCustomScrollbar" data-mcs-theme="dark">
<table class="table table-striped table-hover">
<thead>
<tr>
<th class="name">Name</th>
<th class="current">Current</th>
<th class="changeDate">Change Date</th>
<th class="previous">Previous</th>
</tr>
</thead>
<tbody>
{{#each product}}
{{> PricingForProduct}}
@@ -61,9 +64,9 @@
<template name="PricingForProduct">
<tr class="clickable noselect {{rowClass}}">
<td class="tdLarge noselect nonclickable left">{{name}}</td>
<td class="tdLarge noselect nonclickable left">{{currentPrice}}</td>
<td class="tdLarge noselect nonclickable left">{{priceChangeDate}}</td>
<td class="tdLarge noselect nonclickable left">{{previousPrice}}</td>
<td class="name tdLarge noselect nonclickable left">{{name}}</td>
<td class="current tdLarge noselect nonclickable left">{{currentPrice}}</td>
<td class="changeDate tdLarge noselect nonclickable left">{{priceChangeDate}}</td>
<td class="previous tdLarge noselect nonclickable left">{{previousPrice}}</td>
</tr>
</template>