style html

This commit is contained in:
jem 2021-03-05 14:51:10 +01:00
parent 368c769eaa
commit a54f9066a8

View file

@ -4,12 +4,15 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>k8s-mastodon-bot</title> <title>k8s-mastodon-bot</title>
<link href="https://domaindrivenarchitecture.org/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="https://domaindrivenarchitecture.org/css/fonts/fontawesome/fontawesome.css" rel="stylesheet" type="text/css" />
<link href="https://domaindrivenarchitecture.org/css/custom.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<div class="container"> <div class="container jumbotron">
<label for="config">Your config.edn:</label> <label for="config" class="form-label">Your config.edn:</label>
<textarea name="config" id="config" rows="40" cols="150"> <textarea name="config" id="config" class="form-control" rows="15">
{:transform [{:source {:source-type :twitter {:transform [{:source {:source-type :twitter
;; optional, defaults to false ;; optional, defaults to false
:include-replies? false :include-replies? false
@ -37,8 +40,9 @@
:signature "#newsbot"} :signature "#newsbot"}
}]} }]}
</textarea><br><br> </textarea><br><br>
<label for="auth">Your auth.edn:</label>
<textarea name="auth" id="auth" rows="40" cols="150"> <label for="auth" class="form-label">Your auth.edn:</label>
<textarea name="auth" id="auth" class="form-control" rows="15">
{:auth {;; add Twitter config to mirror Twitter accounts {:auth {;; add Twitter config to mirror Twitter accounts
:twitter {:consumer_key "XXXX" :twitter {:consumer_key "XXXX"
:consumer_secret "XXXX" :consumer_secret "XXXX"
@ -54,13 +58,14 @@
:token "XXXX" :token "XXXX"
:token_secret "XXXX"}}} :token_secret "XXXX"}}}
</textarea><br><br> </textarea><br><br>
<button type="button" id="generate-button">Generate k8s yaml</button> <button type="button" id="generate-button" class="btn btn-primary">
</div> Generate k8s yaml
<div id="k8s-mastodon-bot-output"> </button><br><br>
<label for="output">Your k8s deployment.yaml:</label> <div id="k8s-mastodon-bot-output">
<textarea name="output" id="output" rows="40" cols="150"> <label for="output" class="form-label">Your k8s deployment.yaml:</label>
<textarea name="output" id="output" class="form-control" rows="15">
</textarea> </textarea>
</div>
</div> </div>
<script src="js/main.js"></script> <script src="js/main.js"></script>
</body> </body>