Initial commit. Modified the Meteor todos app to create the Petit Teton data tracking app. Has working data for sales. Requires a Mongo database.

This commit is contained in:
Wynne Crisman
2017-01-15 11:33:37 -08:00
commit b757595cd6
104 changed files with 26824 additions and 0 deletions

38
imports/ui/Products.html Normal file
View File

@@ -0,0 +1,38 @@
<template name="Products">
<div id="products">
<div class="grid">
<div class="dataTable">
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Name {{>ProductSearch columnName='name'}}</th>
<th>Tags {{>ProductSearch columnName='tags'}}</th>
<th>Aliases {{>ProductSearch columnName='aliases'}}</th>
<th>Measures {{>ProductSearch columnName='measures' collectionQueryColumnName='name' collection='Measures' collectionResultColumnName='_id'}}</th>
</tr>
</thead>
<tbody>
{{#each products}}
{{> Product}}
{{/each}}
</tbody>
</table>
</div>
</div>
</div>
</template>
<template name="Product">
<tr>
<td class="tdLarge noselect nonclickable left">{{name}}</td>
<td class="tdLarge noselect nonclickable left">{{tags}}</td>
<td class="tdLarge noselect nonclickable left">{{aliases}}</td>
<td class="tdLarge noselect nonclickable left">{{measures}}</td>
</tr>
</template>
<template name="ProductSearch">
<div class="">
<input type="text" class="searchInput" placeholder="Filter..." value="{{searchValue}}"/>
</div>
</template>