aboutsummaryrefslogtreecommitdiff
path: root/lib/Server
diff options
context:
space:
mode:
authorstuebinm2023-02-23 23:40:06 +0100
committerstuebinm2023-02-23 23:40:06 +0100
commit99463395ee9497256b794f4ad2c94b490ca5d0fd (patch)
treeca85eb03a35267409ceea973b0029273944fbdef /lib/Server
parent1612bb5aec55af06f66012ff2627f533e7a57c67 (diff)
don't hardcode css
Diffstat (limited to 'lib/Server')
-rw-r--r--lib/Server/ControlRoom.hs64
1 files changed, 1 insertions, 63 deletions
diff --git a/lib/Server/ControlRoom.hs b/lib/Server/ControlRoom.hs
index 2be0b3e..9cde587 100644
--- a/lib/Server/ControlRoom.hs
+++ b/lib/Server/ControlRoom.hs
@@ -124,69 +124,7 @@ instance Yesod ControlRoom where
$maybe description <- pageDescription
<meta name="description" content="#{description}">
^{pageHead}
- <style>
- html {
- overflow-x: hidden
- }
- section {
- border: 0.1rem solid black;
- padding: 1rem;
- margin: 2vw;
- margin-top: 0;
- padding-top: 0;
- }
- body {
- max-width: 50rem;
- margin: auto;
- }
- form {
- width:100%;
- display: grid;
- gap: 1rem;
- }
- label {
- grid-column: 1;
- }
- form div {
- display: grid;
- grid-template-columns: 50% 50%;
- width:100%;
- }
- input {
- grid-column: 2;
- }
- .blocked {
- background-color: red;
- }
- #map {
- width: 100%;
- height: 50vh;
- }
- nav {
- padding: 0.5em;
- position: relative;
- text-align: center;
- margin-left: 2vw;
- margin-right: 2vw;
- margin-top: 2rem;
- }
- .nav-left {
- position: absolute;
- left: 0;
- }
- .nav-right {
- position: absolute;
- right: 0;
- }
- ol {
- padding: 0
- }
- li {
- list-style: none;
- margin: 0.5vw;
- border-bottom: 0.1rem black dashed;
- padding-bottom: 0.5rem;
- }
+ <link rel="stylesheet" href="/assets/style.css">
<body>
$forall (status, msg) <- msgs
<!-- <p class="message #{status}">#{msg} -->