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:
38
imports/ui/Products.html
Normal file
38
imports/ui/Products.html
Normal 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>
|
||||
Reference in New Issue
Block a user