OLD | NEW |
---|---|
1 <section id="content"> | 1 <section id="content"> |
2 | 2 |
3 <template id="sourcesTemplate"> | 3 <template id="sourcesTemplate"> |
4 <button id="" class=source><img width=64 height=64 src=""></button> | 4 <button id="" class=source><img width=64 height=64 src=""></button> |
5 </template> | 5 </template> |
6 | 6 |
7 <div id="inputBitmapEnable"> | 7 <div id="inputBitmapEnable"> |
8 <input type="checkbox" id="enableSource" data-id="{{.Source}}"> | 8 <input type="checkbox" id="enableSource" data-id="{{.Source}}"> |
9 <label for="enableSource">Use an input bitmap</label> | 9 <label for="enableSource">Use an input bitmap</label> |
10 </div> | 10 </div> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
44 <textarea spellcheck=false name='code' id='code' rows='15' cols='100'>{{.Code} }</textarea> | 44 <textarea spellcheck=false name='code' id='code' rows='15' cols='100'>{{.Code} }</textarea> |
45 | 45 |
46 <div class="action-buttons"> | 46 <div class="action-buttons"> |
47 <button class="btn btn-primary btn-lg" id='run'>Run</button> | 47 <button class="btn btn-primary btn-lg" id='run'>Run</button> |
48 <a class="btn btn-default btn-lg" href='{{if .Hash}}/c/{{.Hash}}{{end}}' {{i f not .Hash}}style="display: none;"{{end}} target=_blank id="permalink">Share</a > | 48 <a class="btn btn-default btn-lg" href='{{if .Hash}}/c/{{.Hash}}{{end}}' {{i f not .Hash}}style="display: none;"{{end}} target=_blank id="permalink">Share</a > |
49 | 49 |
50 <button class="btn btn-default btn-lg" id='embedButton' {{if not .Hash}}styl e="display:none;"{{end}}/>Embed</button> | 50 <button class="btn btn-default btn-lg" id='embedButton' {{if not .Hash}}styl e="display:none;"{{end}}/>Embed</button> |
51 <input type="text" value="" id="embed" readonly style="display:none;"> | 51 <input type="text" value="" id="embed" readonly style="display:none;"> |
52 </div> | 52 </div> |
53 | 53 |
54 <p> | 54 <div id="raster-output" class="image-wrapper panel panel-primary"> |
55 <img touch-action='none' class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}. png{{end}}'/> | 55 <div class="panel-heading"> |
56 </p> | 56 <h3 class="panel-title"> |
57 Raster Output | |
58 </h3> | |
59 </div> | |
60 <div class="panel-body"> | |
61 <img touch-action='none' class='zoom' id='raster-img' onload="onLoadImage( this)" src='{{if .Hash}}/i/{{.Hash}}_raster.png{{end}}'/> | |
jcgregorio
2014/10/29 13:34:46
use addEventListener's instead of on* attributes.
| |
62 </div> | |
63 </div> | |
64 | |
65 <div id="gpu-output" class="image-wrapper panel panel-primary"> | |
66 <div class="panel-heading"> | |
67 <h3 class="panel-title"> | |
68 Ganesh Output | |
69 </h3> | |
70 </div> | |
71 <div class="panel-body"> | |
72 <img touch-action='none' class='zoom' id='gpu-img' onload="onLoadImage(thi s)" src='{{if .Hash}}/i/{{.Hash}}_gpu.png{{end}}'/> | |
jcgregorio
2014/10/29 13:34:46
use addEventListener's instead of on* attributes.
humper
2014/10/29 14:20:32
Also pushing to a later CL when some of this gets
| |
73 </div> | |
74 </div> | |
75 | |
57 <p id='zoomHex'></p> | 76 <p id='zoomHex'></p> |
58 | 77 |
59 <div id="output-wrapper"> | 78 <div id="output-wrapper"> |
60 <h2>Build Issues (click errors to jump to that line)</h2> | 79 <h2>Build Issues (click errors to jump to that line)</h2> |
61 <pre id="output"></pre> | 80 <pre id="output"></pre> |
62 </div> | 81 </div> |
63 | 82 |
64 </section> | 83 </section> |
OLD | NEW |