Skip to content

Commit

Permalink
touchscreen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
akeshavan committed Jul 19, 2016
1 parent 2a945e1 commit 556d140
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 115 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
node_modules/
.meteor/dev_bundle
31 changes: 19 additions & 12 deletions imports/ui/qc.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ <h3 class="panel-title" data-toggle="collapse" data-target="#collapseQC">Status:
<li>
<div class="panel panel-{{modeCSS.pointColor}}">
<div class="panel-heading">
<h3 class="panel-title swapmode point" data-toggle="collapse" data-target="#collapseLP">Logged Points</h3>
<h3 class="panel-title swapmode point" data-toggle="collapse" data-target="#collapseLP">Logged Points</h3>



</div>
<div id="collapseLP" class="panel-collapse collapse in" role="tabpanel">
<div class="panel-body">
Expand All @@ -80,7 +80,7 @@ <h3 class="panel-title swapmode point" data-toggle="collapse" data-target="#coll
{{/each}}
</table>
</div>

<div class="panel-footer">Shift+click to log points. Annotate points in the table above.</div>
</div>
</div>
Expand Down Expand Up @@ -115,7 +115,7 @@ <h3 class="panel-title swapmode contour" data-toggle="collapse" data-target="#co
</div>
</div>
</li>

<li>
<div class="panel panel-default">
<div class="panel-heading">
Expand All @@ -132,9 +132,9 @@ <h3 class="panel-title" data-target="#collapseEdit" data-toggle="collapse">Save

<table class="table table-hover table-striped">
<tr>
<th>
<th>
<div class="radio">

<label>
<input type="radio" name="QC" id="options_pass" value="1" checked>
PASS
Expand Down Expand Up @@ -201,18 +201,25 @@ <h3 class="panel-title" data-target="#collapseEdit" data-toggle="collapse">Save
<!-- /#sidebar-wrapper -->

<!-- Page Content -->

{{#unless currentUser}}
<div class="alert alert-danger" role="alert"><strong>Please log in to edit!</strong></div>
{{/unless}}

<div id="page-content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">

<a class="btn btn-default" id="menu-toggle">Toggle Editor Menu</a>
<a class="btn btn-default" id="resize">Resize</a>
<a class="btn btn-default" id="touchscreen">
{{#if isTouch}}
Touchscreen
{{else}}
Not touchscreen
{{/if}}
</a>
<br><br>
<div id="viewer" width="500px"></div>

Expand All @@ -224,4 +231,4 @@ <h3 class="panel-title" data-target="#collapseEdit" data-toggle="collapse">Save

</div>

</template>
</template>
Loading

0 comments on commit 556d140

Please sign in to comment.