Commit 0a01fe13c5fa3dea17347a21a18be6af5a95a0e2
1 parent
bcf1d9eb
Exists in
master
and in
1 other branch
- new image trophy.svg
Showing
3 changed files
with
96 additions
and
2 deletions
Show diff stats
serve.py
... | ... | @@ -197,7 +197,7 @@ class QuestionHandler(BaseHandler): |
197 | 197 | return { |
198 | 198 | 'method': 'finished_topic', |
199 | 199 | 'params': { # FIXME no html here please! |
200 | - 'question': f'<img src="/static/trophy.png" alt="trophy" class="img-fluid mx-auto d-block" width="30%">' | |
200 | + 'question': f'<img src="/static/trophy.svg" alt="trophy" class="img-fluid mx-auto d-block" width="50%">' | |
201 | 201 | } |
202 | 202 | } |
203 | 203 | ... | ... |
... | ... | @@ -0,0 +1,93 @@ |
1 | +<?xml version="1.0" encoding="iso-8859-1"?> | |
2 | +<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |
3 | +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |
4 | +<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |
5 | + viewBox="0 0 297 297" style="enable-background:new 0 0 297 297;" xml:space="preserve"> | |
6 | +<g> | |
7 | + <g> | |
8 | + <path style="fill:#E67E22;" d="M114.637,229.355c22.548,12.853,45.097,12.853,67.645,0c-18.49-19.335-17.7-45.9-16.911-74.875 | |
9 | + c-11.274-3.213-22.548-3.213-33.823,0C132.338,183.454,133.127,210.019,114.637,229.355z"/> | |
10 | + </g> | |
11 | + <g style="opacity:0.56;"> | |
12 | + <path style="fill:#E67E22;" d="M153.28,166.571c-0.723,26.538-1.434,51.051,12.655,69.842c5.449-1.605,10.898-3.953,16.348-7.059 | |
13 | + c-18.49-19.335-17.7-45.9-16.911-74.875c-11.274-3.213-22.548-3.213-33.823,0c0.091,3.323,0.18,6.612,0.241,9.863 | |
14 | + C138.953,163.791,146.116,164.53,153.28,166.571z"/> | |
15 | + </g> | |
16 | + <g> | |
17 | + <path style="fill:#FFC200;" d="M72.529,135.475c-3.747,0-7.414-1.091-10.615-3.199c-4.322-2.846-7.278-7.204-8.322-12.273 | |
18 | + c-0.557-2.705,1.185-5.349,3.889-5.906c2.702-0.553,5.35,1.184,5.906,3.889c0.505,2.453,1.935,4.563,4.026,5.939 | |
19 | + s4.597,1.856,7.047,1.352c5.063-1.043,8.333-6.01,7.29-11.072c-0.659-3.204-2.81-7.758-13.822-10.305 | |
20 | + c-14.84-3.431-50.099-15.024-56.992-48.494C7.183,37.177,18.958,19.295,37.184,15.54c8.83-1.819,17.84-0.09,25.368,4.868 | |
21 | + c7.529,4.957,12.678,12.551,14.496,21.38c0.557,2.705-1.185,5.349-3.889,5.906c-2.713,0.553-5.349-1.185-5.906-3.889 | |
22 | + C64.611,30.981,52.03,22.69,39.201,25.335C26.375,27.977,18.089,40.561,20.73,53.387c5.726,27.802,36.489,37.772,49.449,40.77 | |
23 | + c12.3,2.843,19.488,8.909,21.365,18.03c2.155,10.463-4.604,20.729-15.067,22.884C75.163,135.341,73.841,135.475,72.529,135.475z" | |
24 | + /> | |
25 | + </g> | |
26 | + <g> | |
27 | + <path style="fill:#D89F00;" d="M224.472,135.475c-1.313,0-2.634-0.134-3.948-0.404c-5.068-1.044-9.428-4-12.273-8.322 | |
28 | + c-2.847-4.322-3.839-9.494-2.795-14.563c1.879-9.12,9.066-15.187,21.365-18.029c12.96-2.997,43.724-12.968,49.449-40.77 | |
29 | + c2.642-12.826-5.645-25.41-18.471-28.052c-6.216-1.28-12.553-0.063-17.852,3.425c-5.298,3.489-8.92,8.832-10.199,15.046 | |
30 | + c-0.558,2.704-3.193,4.449-5.906,3.889c-2.704-0.557-4.445-3.201-3.889-5.906c1.818-8.829,6.966-16.422,14.495-21.38 | |
31 | + c7.528-4.958,16.534-6.688,25.368-4.868c18.226,3.754,30.001,21.637,26.248,39.864c-6.895,33.471-42.152,45.063-56.992,48.494 | |
32 | + c-11.012,2.546-13.163,7.101-13.822,10.305c-0.506,2.452-0.025,4.955,1.352,7.046c1.377,2.092,3.486,3.521,5.939,4.026 | |
33 | + c2.449,0.504,4.954,0.025,7.046-1.352s3.521-3.486,4.026-5.939c0.558-2.705,3.197-4.449,5.906-3.889 | |
34 | + c2.704,0.558,4.445,3.201,3.889,5.906c-1.044,5.069-4,9.428-8.322,12.273C231.886,134.384,228.218,135.475,224.472,135.475z"/> | |
35 | + </g> | |
36 | + <g> | |
37 | + <rect x="80.815" y="246.266" style="fill:#FFA800;" width="135.291" height="16.911"/> | |
38 | + </g> | |
39 | + <g> | |
40 | + <rect x="165.371" y="246.266" style="fill:#D88C05;" width="50.734" height="16.911"/> | |
41 | + </g> | |
42 | + <g> | |
43 | + <rect x="97.726" y="229.355" style="fill:#FFC200;" width="101.468" height="16.911"/> | |
44 | + </g> | |
45 | + <g> | |
46 | + <rect x="148.46" y="229.355" style="fill:#DBA100;" width="50.734" height="16.911"/> | |
47 | + </g> | |
48 | + <g> | |
49 | + <rect x="63.903" y="263.177" style="fill:#5E4534;" width="169.114" height="33.823"/> | |
50 | + </g> | |
51 | + <g> | |
52 | + <rect x="182.283" y="263.177" style="fill:#443124;" width="50.734" height="33.823"/> | |
53 | + </g> | |
54 | + <g> | |
55 | + <path style="fill:#FFA800;" d="M215.762,0c4.862,0,8.804,3.99,8.683,8.85c-1.799,72.284-25.488,162.366-75.889,162.366 | |
56 | + c-50.4,0-74.267-90.08-76.08-162.364C72.354,3.991,76.297,0,81.159,0H215.762z"/> | |
57 | + </g> | |
58 | + <g style="opacity:0.49;"> | |
59 | + <path style="fill:#FFA800;" d="M215.762,0h-16.83c-3.136,70.671-26.421,161.796-74.059,163.763 | |
60 | + c7.124,4.785,15.011,7.453,23.683,7.453c50.4,0,74.09-90.081,75.889-162.366C224.566,3.99,220.624,0,215.762,0z"/> | |
61 | + </g> | |
62 | +</g> | |
63 | +<g> | |
64 | +</g> | |
65 | +<g> | |
66 | +</g> | |
67 | +<g> | |
68 | +</g> | |
69 | +<g> | |
70 | +</g> | |
71 | +<g> | |
72 | +</g> | |
73 | +<g> | |
74 | +</g> | |
75 | +<g> | |
76 | +</g> | |
77 | +<g> | |
78 | +</g> | |
79 | +<g> | |
80 | +</g> | |
81 | +<g> | |
82 | +</g> | |
83 | +<g> | |
84 | +</g> | |
85 | +<g> | |
86 | +</g> | |
87 | +<g> | |
88 | +</g> | |
89 | +<g> | |
90 | +</g> | |
91 | +<g> | |
92 | +</g> | |
93 | +</svg> | ... | ... |
templates/topic.html
... | ... | @@ -96,6 +96,8 @@ |
96 | 96 | |
97 | 97 | <div id="notifications"></div> |
98 | 98 | |
99 | + <!-- <img src="/static/trophy.svg" alt="trophy" class="img-fluid mx-auto d-block hidden" width="50%"> --> | |
100 | + | |
99 | 101 | <div class="my-5" id="content"> |
100 | 102 | <form action="/question" method="post" id="question_form" autocomplete="off"> |
101 | 103 | {% module xsrf_form_html() %} |
... | ... | @@ -213,7 +215,6 @@ |
213 | 215 | $(document).ready(function() { |
214 | 216 | getQuestion(); |
215 | 217 | $("#submit").click(postQuestion); |
216 | - // $("#change_password").click(change_password); | |
217 | 218 | }); |
218 | 219 | </script> |
219 | 220 | ... | ... |