|
15 | 15 | <link rel="stylesheet" href="{% static 'pokepoll/styles/submit-style.css' %}"> |
16 | 16 | </head> |
17 | 17 |
|
18 | | -<style> |
19 | | - * { |
20 | | - box-sizing: border-box; |
21 | | - } |
22 | | - |
23 | | - /*the container must be positioned relative:*/ |
24 | | - .autocomplete { |
25 | | - position: relative; |
26 | | - display: inline-block; |
27 | | - } |
28 | | - |
29 | | - input { |
30 | | - border: 1px solid transparent; |
31 | | - background-color: #f1f1f1; |
32 | | - padding: 10px; |
33 | | - font-size: 16px; |
34 | | - } |
35 | | - |
36 | | - input[type=text] { |
37 | | - background-color: #f1f1f1; |
38 | | - width: 100%; |
39 | | - } |
40 | | - |
41 | | - input[type=submit] { |
42 | | - background-color: DodgerBlue; |
43 | | - color: #fff; |
44 | | - cursor: pointer; |
45 | | - } |
46 | | - |
47 | | - .autocomplete-items { |
48 | | - position: absolute; |
49 | | - border: 1px solid #d4d4d4; |
50 | | - border-bottom: none; |
51 | | - border-top: none; |
52 | | - z-index: 99; |
53 | | - /*position the autocomplete items to be the same width as the container:*/ |
54 | | - top: 100%; |
55 | | - left: 0; |
56 | | - right: 0; |
57 | | - } |
58 | | - |
59 | | - .autocomplete-items div { |
60 | | - padding: 10px; |
61 | | - cursor: pointer; |
62 | | - background-color: #fff; |
63 | | - border-bottom: 1px solid #d4d4d4; |
64 | | - } |
65 | | - |
66 | | - /*when hovering an item:*/ |
67 | | - .autocomplete-items div:hover { |
68 | | - background-color: #e9e9e9; |
69 | | - } |
70 | | - |
71 | | - /*when navigating through the items using the arrow keys:*/ |
72 | | - .autocomplete-active { |
73 | | - background-color: DodgerBlue !important; |
74 | | - color: #ffffff; |
75 | | - } |
76 | | - |
77 | | - #pokemon_preview { |
78 | | - width: 30%; |
79 | | - } |
80 | | - |
81 | | -</style> |
82 | | - |
83 | | - |
84 | 18 | <nav class="navbar navbar-expand-lg navbar-dark"> |
85 | 19 | <div class="container-fluid"> |
86 | 20 | <a class="navbar-brand" href="{% url 'pokepoll:home' %}">Evii's Egglocke Maker :3</a> |
@@ -294,14 +228,6 @@ <h3>Nature:</h3> |
294 | 228 | </div> |
295 | 229 | <br> |
296 | 230 | <br> |
297 | | - |
298 | | - <input type="text" |
299 | | - name="{{ submitter_form.name.name }}" |
300 | | - id="{{ submitter_form.name.id_for_label }}" |
301 | | - class="{{ submitter_form.name.field.widget.attrs.class }}" |
302 | | - style="{{ submitter_form.name.field.widget.attrs.style }}" |
303 | | - placeholder="{{ submitter_form.name.field.widget.attrs.placeholder }}" |
304 | | - value="{{ submitter_form.name.value|default_if_none:'' }}"> |
305 | 231 | </div> |
306 | 232 |
|
307 | 233 | </div> |
|
0 commit comments