skia2/experimental/webtry/templates/sidebar.html
Greg Humphreys 54142261de Re-land ganesh checkbox. I needed to increase the size of the address
space available to a fiddle because linking against libGL causes the
amount of memory used by a process to bloat to over 100M.  Yikes.

BUG=skia:

Review URL: https://codereview.chromium.org/638003008
2014-10-13 21:52:05 -04:00

31 lines
1011 B
HTML

<section id="sidebar">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">
Options
</h3>
</div>
<div class="panel-body">
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="image-width" class="col-sm-4 control-label">Width</label>
<div class="col-sm-8">
<input type="number" class="form-control" id="image-width" value="{{.Width}}">
</div>
</div>
<div class="form-group">
<label for="image-height" class="col-sm-4 control-label">Height</label>
<div class="col-sm-8">
<input type="number" class="form-control" id="image-height" value="{{.Height}}">
</div>
</div>
<div class="checkbox">
<label>
<input id="use-gpu" type="checkbox" value=""{{if .GPU}} checked{{end}}>
Ganesh
</label>
</div>
</form>
</div>
</div>
</section>