Commit 73858ee4 authored by Cédric F.'s avatar Cédric F.

Update Twitter Bootstrap

parent 69255c9e
/elm-stuff/
/dist
/lifechart.js
/lifechart.min.js
/public/lifechart.js
/mine.json
AGPLv3+
Lifechart
Copyright (C) 2015-2017 Cédric Félizard
Copyright (C) 2015-2018 Cédric Félizard
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
......
......@@ -4,7 +4,8 @@
"repository": "https://github.com/user/project.git",
"license": "AGPLv3+",
"source-directories": [
"."
"src",
"lib"
],
"exposed-modules": [],
"dependencies": {
......
......@@ -7,7 +7,7 @@
<title>Lifechart</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" integrity="sha384-AysaV+vQoT3kOAXZkl02PThvDr8HYKPZhNT5h/CXfBThSRXQ6jW5DO2ekP5ViFdi" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<style>
input:invalid {
......@@ -20,7 +20,7 @@
</style>
</head>
<body class="m-1">
<body class="m-3">
<div class="container">
<div id="elm-lifechart-app">Loading...</div>
</div>
......@@ -28,7 +28,7 @@
<script src="lifechart.min.js"></script>
<script>
const elmLifechartDiv = document.querySelector("#elm-lifechart-app");
const elmLifechartApp = Elm.Lifechart.embed(elmLifechartDiv);
Elm.Lifechart.embed(elmLifechartDiv);
</script>
</body>
</html>
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -12,10 +12,10 @@ view model =
div []
[ Controls.modal model
, div [ class "row" ]
[ div [ class "col-xs-6" ] [ Controls.controls model ]
, div [ class "col-xs-6" ]
[ div [ class "col-6" ] [ Controls.controls model ]
, div [ class "col-6" ]
[ if model.now == 0 then
h1 [ class "text-xs-center" ] [ text "Loading..." ]
h1 [ class "text-center" ] [ text "Loading..." ]
else
Canvas.canvas model
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment