|
11 | 11 | <body> |
12 | 12 | {% include "_partials/navbar.html" %} |
13 | 13 | <main> |
14 | | - <div class="container"> |
15 | | - <section class="breakout" hx-ext="ws" ws-connect="/breakout/{{ breakout.lookup_id }}/ws"> |
16 | | - <div> |
17 | | - <ol id="card_list"> |
18 | | - <li> |
19 | | - <form ws-send> |
20 | | - <input type="hidden" name="action" value="vote" /> |
21 | | - <input type="hidden" name="vote" value="1" /> |
22 | | - <button class="card" onclick="toggleCard(event)">1</button> |
23 | | - </form> |
24 | | - </li> |
25 | | - <li> |
26 | | - <form ws-send> |
27 | | - <input type="hidden" name="action" value="vote" /> |
28 | | - <input type="hidden" name="vote" value="2" /> |
29 | | - <button class="card" onclick="toggleCard(event)">2</button> |
30 | | - </form> |
31 | | - </li> |
32 | | - <li> |
33 | | - <form ws-send> |
34 | | - <input type="hidden" name="action" value="vote" /> |
35 | | - <input type="hidden" name="vote" value="3" /> |
36 | | - <button class="card" onclick="toggleCard(event)">3</button> |
37 | | - </form> |
38 | | - </li> |
39 | | - <li> |
40 | | - <form ws-send> |
41 | | - <input type="hidden" name="action" value="vote" /> |
42 | | - <input type="hidden" name="vote" value="5" /> |
43 | | - <button class="card" onclick="toggleCard(event)">5</button> |
44 | | - </form> |
45 | | - </li> |
46 | | - <li> |
47 | | - <form ws-send> |
48 | | - <input type="hidden" name="action" value="vote" /> |
49 | | - <input type="hidden" name="vote" value="8" /> |
50 | | - <button class="card" onclick="toggleCard(event)">8</button> |
51 | | - </form> |
52 | | - </li> |
53 | | - <li> |
54 | | - <form ws-send> |
55 | | - <input type="hidden" name="action" value="vote" /> |
56 | | - <input type="hidden" name="vote" value="13" /> |
57 | | - <button class="card" onclick="toggleCard(event)">13</button> |
58 | | - </form> |
59 | | - </li> |
60 | | - </ol> |
| 14 | + <div class="container"> |
| 15 | + <div class="breakout" hx-ext="ws" ws-connect="/breakout/{{ breakout.lookup_id }}/ws"> |
| 16 | + <section> |
| 17 | + <ol id="card_list" class="cards"> |
| 18 | + <li> |
| 19 | + <form ws-send> |
| 20 | + <input type="hidden" name="action" value="vote" /> |
| 21 | + <input type="hidden" name="vote" value="1" /> |
| 22 | + <button onclick="toggleCard(event)">1</button> |
| 23 | + </form> |
| 24 | + </li> |
| 25 | + <li> |
| 26 | + <form ws-send> |
| 27 | + <input type="hidden" name="action" value="vote" /> |
| 28 | + <input type="hidden" name="vote" value="2" /> |
| 29 | + <button onclick="toggleCard(event)">2</button> |
| 30 | + </form> |
| 31 | + </li> |
| 32 | + <li> |
| 33 | + <form ws-send> |
| 34 | + <input type="hidden" name="action" value="vote" /> |
| 35 | + <input type="hidden" name="vote" value="3" /> |
| 36 | + <button onclick="toggleCard(event)">3</button> |
| 37 | + </form> |
| 38 | + </li> |
| 39 | + <li> |
| 40 | + <form ws-send> |
| 41 | + <input type="hidden" name="action" value="vote" /> |
| 42 | + <input type="hidden" name="vote" value="5" /> |
| 43 | + <button onclick="toggleCard(event)">5</button> |
| 44 | + </form> |
| 45 | + </li> |
| 46 | + <li> |
| 47 | + <form ws-send> |
| 48 | + <input type="hidden" name="action" value="vote" /> |
| 49 | + <input type="hidden" name="vote" value="8" /> |
| 50 | + <button onclick="toggleCard(event)">8</button> |
| 51 | + </form> |
| 52 | + </li> |
| 53 | + <li> |
| 54 | + <form ws-send> |
| 55 | + <input type="hidden" name="action" value="vote" /> |
| 56 | + <input type="hidden" name="vote" value="13" /> |
| 57 | + <button onclick="toggleCard(event)">13</button> |
| 58 | + </form> |
| 59 | + </li> |
| 60 | + </ol> |
| 61 | + </section> |
| 62 | + <aside class="card flex-col"> |
| 63 | + <div id="votes"></div> |
| 64 | + </aside> |
| 65 | + </div> |
61 | 66 | </div> |
62 | | - <aside class="card flex-col"> |
63 | | - <div id="votes"></div> |
64 | | - </aside> |
65 | | - </section> |
66 | | - <div id="name_swap" hx-get="/breakout/{{ breakout.lookup_id }}/user" hx-target="#modal"></div> |
| 67 | + <div id="name_swap" hx-get="/breakout/{{ breakout.lookup_id }}/user" hx-target="#modal"></div> |
67 | 68 | </main> |
68 | 69 | {% include "_partials/footer.html" %} |
69 | 70 | </body> |
|
0 commit comments