forked from morbidick/loc3
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a lot of (ongoing) refactoring, dummy pages for scan modes
- Loading branch information
1 parent
78358ae
commit 80c03f1
Showing
9 changed files
with
213 additions
and
195 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<template name="bulkPage"> | ||
<div class="row"> | ||
<div class="col-sm-6"> | ||
{{> bulkScan}} | ||
{{> bulkList}} | ||
</div> | ||
<div class="col-sm-6"> | ||
{{> bulkForm}} | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<template name="bulkScan"> | ||
<form class="form-horizontal" role="form"> | ||
<div class="form-group"> | ||
<label for="scan" class="col-sm-3 control-label">Scan</label> | ||
<div class="col-sm-9"> | ||
<input class="form-control" id="scan" placeholder="barcode"> | ||
</div> | ||
</div> | ||
</form> | ||
</template> | ||
|
||
<template name="scan"> | ||
<li class="list-group-item {{#if valid}}list-group-item-success{{else}}list-group-item-danger{{/if}} row"> | ||
<span class="col-xs-2 col-lg-1 text-right"> | ||
<strong>ID</strong> | ||
</span> | ||
<span class="col-xs-10 col-lg-3">{{this.scan}}</span> | ||
<span class="col-xs-2 text-right"> | ||
<strong>Name</strong> | ||
</span> | ||
<span class="col-xs-10 col-lg-6">{{this.name}}</span> | ||
</li> | ||
</template> | ||
|
||
<template name="bulkList"> | ||
<ul class="list-group"> | ||
{{#each scans}} | ||
{{>scan}} | ||
{{/each}} | ||
</ul> | ||
<div class="col-sm-2"> | ||
<button class="btn btn-default clear">clear scans</button> | ||
</div> | ||
</template> | ||
|
||
<template name="bulkForm"> | ||
<form class="form-horizontal" role="form"> | ||
{{> submissionGroup id="submissionName" name="Name"}} | ||
{{> submissionGroup id="submissionTeam" name="Team"}} | ||
{{> submissionGroup id="submissionVendor" name="Vendor"}} | ||
{{> submissionGroup id="submissionBy" name="User"}} | ||
{{> locationGroup}} | ||
<div class="form-group"> | ||
<div class="col-sm-offset-2 col-sm-10"> | ||
<button type="submit" class="btn btn-default">submit query</button> | ||
</div> | ||
</div> | ||
</form> | ||
</template> |
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
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<template name="relocatePage"> | ||
<div class="row"> | ||
<div class="col-sm-6"> | ||
{{> relocateScan}} | ||
{{> relocateResult}} | ||
</div> | ||
<div class="col-sm-6"> | ||
{{> relocateForm}} | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<template name="relocateScan"> | ||
scan | ||
</template> | ||
|
||
<template name="relocateResult"> | ||
result | ||
</template> | ||
|
||
<template name="relocateForm"> | ||
form | ||
</template> |
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
Oops, something went wrong.