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

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

Issue 626033004: Automatically resize the webtry text editor to fit the content (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months 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/res/js/webtry.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 <section id=content> 2 <section id=content>
3 3
4 <template id=sourcesTemplate> 4 <template id=sourcesTemplate>
5 <button id="" class=source><img width=64 height=64 src=''></button> 5 <button id="" class=source><img width=64 height=64 src=''></button>
6 </template> 6 </template>
7 <input type="checkbox" id="enableSource" data-id="{{.Source}}"> Use an input b itmap. 7 <input type="checkbox" id="enableSource" data-id="{{.Source}}"> Use an input b itmap.
8 <br> 8 <br>
9 <button id=selectedSource></button> 9 <button id="selectedSource"></button>
10 <pre id=sourceCode>SkBitmap source;</pre> 10 <pre id="sourceCode">SkBitmap source;</pre>
11 <div id=chooseSource> 11 <div id="chooseSource">
12 Choose an image below or upload a new one to use as an input bitmap. 12 Choose an image below or upload a new one to use as an input bitmap.
13 <div id="chooseList"> 13 <div id="chooseList">
14 </div> 14 </div>
15 <form action="/sources/" method="post" accept-charset="utf-8" enctype="multi part/form-data"> 15 <form action="/sources/" method="post" accept-charset="utf-8" enctype="multi part/form-data">
16 <input type="file" accept="image/*" name="upload" value="" id="upload"> 16 <input type="file" accept="image/*" name="upload" value="" id="upload">
17 <input type="submit" value="Add Image"> 17 <input type="submit" value="Add Image">
18 </form> 18 </form>
19 </div> 19 </div>
20 20
21 <pre> 21 <pre>
(...skipping 11 matching lines...) Expand all
33 <img touch-action='none' class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}. png{{end}}'/> 33 <img touch-action='none' class='zoom' id='img' src='{{if .Hash}}/i/{{.Hash}}. png{{end}}'/>
34 </p> 34 </p>
35 <p id='zoomHex'></p> 35 <p id='zoomHex'></p>
36 36
37 <h2>Warnings and Errors</h2> 37 <h2>Warnings and Errors</h2>
38 <pre><code id='output'></code></pre> 38 <pre><code id='output'></code></pre>
39 <h2>Runtime output</h2> 39 <h2>Runtime output</h2>
40 <pre id='stdout'></pre> 40 <pre id='stdout'></pre>
41 41
42 </section> 42 </section>
OLDNEW
« no previous file with comments | « experimental/webtry/res/js/webtry.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698