Skip to content

Commit

Permalink
style, newer heroku cli outside nix
Browse files Browse the repository at this point in the history
  • Loading branch information
smillida committed Mar 16, 2022
1 parent bebae8d commit 6d05b2a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ svg {
margin-top: 32px;
}
.content {
border: 1px dotted black;
border-radius: 4px;
margin-right: 16px;
background-color: azure;
}
.air {
margin-top: 8px;
margin-bottom: 8px;
}
.lightgrey {
background-color: azure;
}
.red {
color: red;
}
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let haskellStuff = with pkgs;
nixfmt
git
curl
heroku
# heroku
graphviz
];
all = haskellStuff ++ tools;
Expand Down
1 change: 0 additions & 1 deletion src/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import Data.Text.Encoding (decodeUtf32BE)
parse :: Text -> Either String Visual
parse = A.parseOnly visParser . strip

-- todo constraints
visParser :: Parser Visual
visParser = fixParser <|> connectParser <|> embellishParser <|> groupParser <|> dotParser <|> listParser <|> tupleParser

Expand Down
2 changes: 1 addition & 1 deletion webserver/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ htmlForm (Expr expr) =
[NI.text|
<form action="/submit" method="post">
<label for="signature">Haskell Type Signature</label><br>
<input type="text" id="signature" name="signature" class="air" size="90" autocomplete="off" value="$strictT"><br>
<input type="text" id="signature" name="signature" class="air lightgrey" size="90" autocomplete="off" value="$strictT"><br>
<button type="submit" class="bluebg">Visualize</button>
<button type="submit" class="greenbg" formaction="/hoogle">Hoogle</button>
<button type="submit" class="snowbg" formaction="/">Clear</button>
Expand Down

0 comments on commit 6d05b2a

Please sign in to comment.