summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-11-15 17:26:44 -0500
committerJules Laplace <jules@okfoc.us>2016-11-15 17:26:44 -0500
commit9beaf2708b012b9533ca3088fbddd542a3c6c076 (patch)
tree895c29544d96685e3812a92420ea62a8537705a2 /views
parent468c23aae285e8845a16e4df527d37db9fef420b (diff)
dumping color codes to irc
Diffstat (limited to 'views')
-rw-r--r--views/index.liquid61
1 files changed, 61 insertions, 0 deletions
diff --git a/views/index.liquid b/views/index.liquid
new file mode 100644
index 0000000..3fa10db
--- /dev/null
+++ b/views/index.liquid
@@ -0,0 +1,61 @@
+<!doctype html>
+<html>
+<head>
+<title>panda</title>
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<meta name="_csrf" content="{{_csrf}}">
+<link rel="stylesheet" href="assets/css/css.css">
+<body>
+ <div class="rapper">
+ <div id="header">
+ <div class="btn camera-btn">
+ <input type="file">
+ <img src="/assets/img/camera.png">
+ </div>
+ </div>
+
+ <div id="links">
+ {% raw %}<script id="link-template" type="text/template">
+ <div class="link-{{type}}">
+ &lt;{{nick}}&gt;
+ <a href="{{url}}" target="_blank">{{text}}</a>
+ </div>
+ </script>{% endraw %}
+ </div>
+
+ <div id="photo">
+ <div class="btns">
+ <div class="btn camera-btn">
+ <input type="file">
+ <img src="/assets/img/camera.png">
+ </div>
+ <div class="btn post-btn">
+ [post to #sally]
+ </div>
+ <div class="btn close-btn">
+ [x]
+ </div>
+ </div>
+ <label for="width_el">width <span id="width_span"></span>x<span id="height_span"></span></label> <input type="range" min="1" max="120" value="40" id="width_el">
+ <label for="ratio_el">ratio</label> <input type="range" min="0.2" max="8" value="2" step="0.005" id="ratio_el"><br>
+ <label for="hue_el">hue</label> <input type="range" min="-1" max="1" value="0" step="0.005" id="hue_el"><br>
+ <label for="sat_el">saturation</label> <input type="range" min="-1" max="1" value="0" step="0.005" id="sat_el"><br>
+ <label for="lum_el">luminance</label> <input type="range" min="-1" max="1" value="0" step="0.005" id="lum_el"><br>
+ <label></label>&nbsp;<input type="checkbox" id="invert_el"> <label for="invert_el" style="padding-top: 7px;">invert</label><br>
+ <label></label>&nbsp;<input type="checkbox" checked id="nn_el"> <label for="nn_el" style="padding-top: 7px;">nearest neighbor</label>
+ <select id="palette_el">
+ <option default value="colors">all colors</label>
+ <option value="hues">hues only</label>
+ <option value="grays">grayscale</label>
+ <option value="reds">reds</label>
+ <option value="blues">blues</label>
+ </select>
+ <label for="palette_el" style="padding-top: 5px;">palette</label>
+ <div id="canvas_rapper"></div>
+ </div>
+
+ </div>
+</body>
+<script src="/socket.io/socket.io.js"></script>
+<script src="/assets/app.concat.js"></script>
+</html> \ No newline at end of file