Moved everything from 'resources/public' to 'docs'

This commit is contained in:
Simon Brooke 2020-10-20 13:07:31 +01:00
parent 57b8abf0d3
commit 4468c155d3
8 changed files with 14 additions and 6 deletions

BIN
docs/css/chosen-sprite.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

1352
docs/css/re-com.css Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,69 @@
/***************************************************************************\
* *
* swinging-needle-meter.css *
* *
* CSS styling for the swinging needle meter itself. *
* *
\***************************************************************************/
.snm-cursor {
stroke:#ff8500;
stroke-width: 3%;
stroke-opacity: 0.5;
}
.snm-frame {
fill: none;
stroke-width: 5%;
stroke-linejoin: round;
stroke: #444444;
}
.snm-gradation path {
stroke: black;
stroke-width: 1;
}
.snm-gradation text {
font-size: 150%;
font-weight: lighter;
}
.snm-hub {
fill: #444444;
}
.snm-meter {
height: 50%;
width: auto;
}
.snm-needle {
stroke: black;
stroke-width: 1;
}
.snm-redzone {
fill:none;
stroke: maroon;
stroke-width: 10%;
}
.snm-scale {
fill: none;
stroke: green;
stroke-width: 10%;
}
.snm-target .snm-frame {
stroke: green;
}
.snm-value {
font-size: 200%;
text-align: center;
}
.snm-warning .snm-frame {
stroke: maroon;
}

BIN
docs/images/example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
docs/images/example.xcf Normal file

Binary file not shown.

21
docs/index.html Normal file
View file

@ -0,0 +1,21 @@
<!doctype html>
<html lang="en">
<head>
<meta charset='utf-8'>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="vendor/css/material-design-iconic-font.min.css">
<link rel="stylesheet" href="css/re-com.css">
<link rel="stylesheet" href="css/swinging-needle-meter.css">
<link href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300" rel="stylesheet" type="text/css">
<title>Example swinging needle meter following re-com conventions.</title>
</head>
<body>
<div id="app"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/snap.svg/0.5.1/snap.svg-min.js"></script>
<script src="js/compiled/app.js"></script>
<script>swinging_needle_meter.core.init();</script>
</body>
</html>

8
docs/js/compiled/app.js Normal file
View file

@ -0,0 +1,8 @@
var CLOSURE_UNCOMPILED_DEFINES = null;
if(typeof goog == "undefined") document.write('<script src="js/compiled/out/goog/base.js"></script>');
document.write('<script src="js/compiled/out/cljs_deps.js"></script>');
document.write('<script>if (typeof goog == "undefined") console.warn("ClojureScript could not load :main, did you forget to specify :asset-path?");</script>');
document.write('<script>goog.require("devtools.preload");</script>');
document.write("<script>if (typeof goog != \"undefined\") { goog.require(\"figwheel.connect.dev\"); }</script>");
document.write('<script>goog.require("swinging_needle_meter.core");</script>');