| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |