Add a basic link embiggener
[bigly] / src / bigly / templates / bigly / index.html
index 4178319..17bf9f7 100644 (file)
   <body>
     <h1>bigly</h1>
     <h2>make links big again</h2>
-    Hello, world
 
-    <div id='app'>
-      <noscript>
-        Foo
-      </noscript>
-    </div>
+    <form action='{% url "embiggen" %}' method='get'>
+      <input type='url' name='link' autofocus></input>
+      <label for='link'>Link</label>
+      <input type='checkbox' name='remove_utm' checked></input>
+      <label for='remove_utm'>Remove UTM Parameters</label>
+      <input type='submit' value='Embiggen'></input>
+    </form>
 
-    <script src='bigly/scripts.js'></script>
+    <script src='{% static "bigly/scripts.js" %}'></script>
   </body>
 </html>