Browse Source

Revert "Never make me work with SVGs again"

This reverts commit be36b612fa26d207d31c2d27722ccc931ab0723c.
Kirk Trombley 3 years ago
parent
commit
0af3405541
1 changed files with 5 additions and 45 deletions
  1. 5 45
      server/app.py

+ 5 - 45
server/app.py

@@ -169,18 +169,6 @@ def get_page():
             color: #ddd;
             background-color: #111;
         }
-        .page {
-            display: flex;
-            flex-flow: row nowrap;
-            justify-content: flex-start;
-            align-items: flex-start;
-        }
-        .refresh {
-            width: 25px;
-            height: 25px;
-            padding-top: 4px;
-            padding-left: 4px;
-        }
         .users {
             list-style-type: none;
             padding: 0;
@@ -195,39 +183,11 @@ def get_page():
         </style>
     </head>
     <body>
-        <div class="page">
-            <a href="https://hiram.services/teamspeak/clean" class="refresh">
-                <svg viewbox="0 0 16 16" width="25" height="25">
-                    <g
-                        inkscape:label="Layer 1"
-                        inkscape:groupmode="layer"
-                        id="layer1"
-                        transform="translate(0,-1036.3622)">
-                        <path
-                        style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
-                        d="M 8.0878906 2 A 6 6 0 0 0 3.7578125 3.7578125 A 6 6 0 0 0 3.7578125 12.242188 L 3.171875 12.828125 L 6 12.828125 L 6 10 L 5.28125 10.71875 A 3.84375 3.84375 0 0 1 5.28125 5.28125 A 3.84375 3.84375 0 0 1 9.8222656 4.6171875 L 9.8222656 3.171875 A 0.17817269 0.17817269 0 0 1 9.9824219 2.9941406 A 0.17817269 0.17817269 0 0 1 10 2.9941406 L 11.304688 2.9941406 A 6 6 0 0 0 8.0878906 2 z "
-                        transform="translate(0,1036.3622)"
-                        id="path8586" />
-                        <use
-                        x="0"
-                        y="0"
-                        xlink:href="#path8586"
-                        id="use8607"
-                        inkscape:transform-center-x="-1.3423979"
-                        inkscape:transform-center-y="0.58552377"
-                        width="100%"
-                        height="100%"
-                        preserveAspectRatio="none"
-                        transform="matrix(-1,0,0,-1,15.99039,2088.723)" />
-                    </g>
-                </svg>
-            </a>
-            <ul class="users">
-            {% for user in users %}
-                <li class="user">{{ user }}</li>
-            {% endfor %}
-            </ul>
-        </div>
+        <ul class="users">
+        {% for user in users %}
+            <li class="user">{{ user }}</li>
+        {% endfor %}
+        </ul>
     </body>
     </html>
     """, users=[u.replace(r"\s", " ") for u in get_users()[0]])