Skip to content

Commit

Permalink
Try relative paths in HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
jmshrv committed Mar 21, 2024
1 parent cb6228c commit bd06f24
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 20 deletions.
9 changes: 6 additions & 3 deletions admin/static/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HackSoc Voting Admin</title>

<link rel="stylesheet" href="./static/styles.css">
<script src="./static/main.js"></script>
<link rel="stylesheet" href="static/styles.css">
<script src="static/main.js"></script>
</head>

<body onload="refresh()">
<header>
<h1>HackSoc</h1>
Expand All @@ -33,4 +35,5 @@ <h1>Stats</h1>
</div>
<button onclick="refresh()">Refresh</button>
</body>
</html>

</html>
16 changes: 10 additions & 6 deletions ballot/static/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">

<link rel="stylesheet" href="./static/styles.css">
<script src="./static/main.js"></script>
<link rel="stylesheet" href="static/styles.css">
<script src="static/main.js"></script>

<title>HackSoc Elections - Ballot</title>
</head>

<body onload="load()">
<div class="wrapper">
<header>
Expand All @@ -23,4 +26,5 @@ <h2>Ballot</h2>
<div class="form" id="form"></div>
</div>
</body>
</html>

</html>
14 changes: 9 additions & 5 deletions ballot/static/thankyou.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">

<link rel="stylesheet" href="./static/styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">

<link rel="stylesheet" href="static/styles.css">

<title>HackSoc Elections - Thank you!</title>
</head>

<body>
<div class="wrapper">
<header>
Expand All @@ -24,4 +27,5 @@ <h2>Thank you for voting!</h2>
</div>
</div>
</body>

</html>
16 changes: 10 additions & 6 deletions registration/static/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">

<link rel="stylesheet" href="./static/styles.css">
<script src="./static/main.js"></script>
<link rel="stylesheet" href="static/styles.css">
<script src="static/main.js"></script>

<title>HackSoc Elections - Get a ballot</title>
</head>

<body>
<div class="wrapper">
<header>
Expand All @@ -30,4 +33,5 @@ <h2>What's your student ID?</h2>
</div>
</div>
</body>
</html>

</html>

0 comments on commit bd06f24

Please sign in to comment.