reworking of file structure
[mlpccg-meta.git] / meta / templates / index.html
index 0d97cf3..20e0830 100644 (file)
@@ -13,7 +13,7 @@
         {% csrf_token %}
         <div class="form-group">
           <label class="sr-only" for="ponyheadURL">ponyhead decklist url</label>
-          <input type="url" name="url" class="form-control input-lg" id="ponyheadURL" placeholder="Deck URL"/>
+          <input type="url" name="url" class="form-control input-lg" id="ponyheadURL" placeholder="PonyHead URL"/>
           <button type="submit" class="btn btn-lg btn-default btn-primary">Tell me!</button>
         </div>
       </form>
@@ -41,7 +41,7 @@
         <td>
           <ul class="list-inline">
             {% for d in decks %}
-            <li><a href="{{ d.ponyhead_link }}">{{ d.name }}</a></li>
+            <li><a href="{{ d.ponyhead_link }}">{{ d|deckicon }}</a></li>
             {% endfor %}
           </ul>
         </td>
@@ -78,6 +78,7 @@
 {% endblock %}
 
 {% block jumbotron_end %}
+<!--
 <div class="jumbotron">
   <div class="container">
     <h1>Not on the list?</h1>
         {% csrf_token %}
         <div class="form-group">
           <label class="sr-only" for="ponyheadURL">ponyhead decklist url</label>
-          <input type="url" name="url" class="form-control input-lg" id="ponyheadURL" placeholder="Deck URL"/>
+          <input type="url" name="url" class="form-control input-lg" id="ponyheadURL" placeholder="PonyHead URL"/>
+          <label class="sr-only" for="decklistName">decklist name</label>
+          <input type="text" name="text" class="form-control input-lg" id="decklistName" placeholder="Deck name (optional)"/>
           <button type="submit" class="btn btn-lg btn-default btn-primary">Add me!</button>
         </div>
       </form>
     </p>
   </div>
 </div>
+-->
 {% endblock %}