diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-04-25 22:19:47 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-04-25 22:19:47 -0400 |
commit | d194bcb4126a05c2bf6fb14f5e318dcd81e5bd84 (patch) | |
tree | 22bd1150e8ba79c00c84dedd9108ed390816945f | |
parent | 5b3a5a474e51e6ad8b2f1f9e44ebf0fcb96c06e5 (diff) |
viewport lol
-rw-r--r-- | templates/create.tmpl | 5 | ||||
-rw-r--r-- | templates/index.tmpl | 20 | ||||
-rw-r--r-- | templates/poll.tmpl | 3 | ||||
-rw-r--r-- | templates/result.tmpl | 7 | ||||
-rw-r--r-- | templates/unauthorized.tmpl | 12 |
5 files changed, 36 insertions, 11 deletions
diff --git a/templates/create.tmpl b/templates/create.tmpl index e0b6ba3..e0ec624 100644 --- a/templates/create.tmpl +++ b/templates/create.tmpl @@ -3,8 +3,9 @@ <head> <title>CSH Vote</title> <!-- <link rel="stylesheet" href="https://themeswitcher.csh.rit.edu/api/get" /> --> - <link rel="stylesheet" href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" /> - </head> + <link rel="stylesheet" href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" media="screen"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + </head> <body> <nav class="navbar navbar-expand-lg navbar-dark bg-primary"> <div class="container"> diff --git a/templates/index.tmpl b/templates/index.tmpl index 3b09eb7..2fe9684 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -3,7 +3,12 @@ <head> <title>CSH Vote</title> <!-- <link rel="stylesheet" href="https://themeswitcher.csh.rit.edu/api/get" /> --> - <link rel="stylesheet" href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" /> + <link + rel="stylesheet" + href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" + media="screen" + /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <style> ul { list-style: none; @@ -45,8 +50,10 @@ <span style="font-size: 1.1rem">{{ $poll.ShortDescription }}</span> - - <span><i>(created by {{ $poll.CreatedBy }})</i></span> + + <span + ><i>(created by {{ $poll.CreatedBy }})</i></span + > </a> </li> {{ @@ -68,14 +75,17 @@ <span style="font-size: 1.1rem">{{ $poll.ShortDescription }}</span> - - <span><i>(created by {{ $poll.CreatedBy }})</i></span> + + <span + ><i>(created by {{ $poll.CreatedBy }})</i></span + > </a> </li> {{ end }} </ul> + </div> </div> </body> </html> diff --git a/templates/poll.tmpl b/templates/poll.tmpl index 1d8f2ac..abb1a2a 100644 --- a/templates/poll.tmpl +++ b/templates/poll.tmpl @@ -3,7 +3,8 @@ <head> <title>CSH Vote</title> <!-- <link rel="stylesheet" href="https://themeswitcher.csh.rit.edu/api/get" /> --> - <link rel="stylesheet" href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" /> + <link rel="stylesheet" href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" media="screen"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <nav class="navbar navbar-expand-lg navbar-dark bg-primary"> diff --git a/templates/result.tmpl b/templates/result.tmpl index bebd9ae..98487a4 100644 --- a/templates/result.tmpl +++ b/templates/result.tmpl @@ -3,7 +3,12 @@ <head> <title>CSH Vote</title> <!-- <link rel="stylesheet" href="https://themeswitcher.csh.rit.edu/api/get" /> --> - <link rel="stylesheet" href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" /> + <link + rel="stylesheet" + href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" + media="screen" + /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> </head> <body> <nav class="navbar navbar-expand-lg navbar-dark bg-primary"> diff --git a/templates/unauthorized.tmpl b/templates/unauthorized.tmpl index 545d297..e3a8893 100644 --- a/templates/unauthorized.tmpl +++ b/templates/unauthorized.tmpl @@ -3,7 +3,12 @@ <head> <title>CSH Vote</title> <!-- <link rel="stylesheet" href="https://themeswitcher.csh.rit.edu/api/get" /> --> - <link rel="stylesheet" href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" /> + <link + rel="stylesheet" + href="https://assets.csh.rit.edu/csh-material-bootstrap/4.3.1/dist/csh-material-bootstrap.min.css" + media="screen" + /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <style> #lockdown { width: 20%; @@ -28,7 +33,10 @@ </div> </nav> - <div style="text-align: center; font-size: 1.2rem;" class="main p-5 error-page align-center"> + <div + style="text-align: center; font-size: 1.2rem" + class="main p-5 error-page align-center" + > <img id="lockdown" src="/static/material_lock.svg" alt="Attention!" /> <br /> <h2>You're not authorized to vote!</h2> |