Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: experimental/webtry/templates/content.html

Issue 688433002: rework GUI, scripts, and fiddle main for multiple simultaneous configs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add TODO about polymer port and global namespacing Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « experimental/webtry/scripts/fiddle_run ('k') | experimental/webtry/templates/footercommon.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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}}'/>
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}}'/>
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>
OLDNEW
« no previous file with comments | « experimental/webtry/scripts/fiddle_run ('k') | experimental/webtry/templates/footercommon.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698