diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-10-28 13:19:02 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-10-28 13:19:02 -0700 |
commit | 3859ba31eb03978705dd1b4b7e7a78a7d37ed758 (patch) | |
tree | b6980019e8cfd8e163ce472a04e2c1c4db0afcef /webface | |
parent | edbf414f544e386d5056acb5b13d3fa032943306 (diff) | |
download | modelthing-3859ba31eb03978705dd1b4b7e7a78a7d37ed758.tar.gz modelthing-3859ba31eb03978705dd1b4b7e7a78a7d37ed758.zip |
webface: generic footer
Diffstat (limited to 'webface')
-rw-r--r-- | webface/templates/base.html | 9 | ||||
-rw-r--r-- | webface/templates/home.html | 7 | ||||
-rw-r--r-- | webface/templates/model_view.html | 13 |
3 files changed, 21 insertions, 8 deletions
diff --git a/webface/templates/base.html b/webface/templates/base.html index db49004..8d77a5e 100644 --- a/webface/templates/base.html +++ b/webface/templates/base.html @@ -13,6 +13,15 @@ body { font-family: monospace; font-size: larger; line-height: 1.3; } <body> <div id="content"> {{~#block content}}{{/block~}} + +<br><br> +<center> +<a href="/model_list/">examples index</a> - +<a href="/readme/">full readme</a> - +<a href="https://git.bnewbold.net/modelthing">source code</a> +</center> +<br> + </div><!-- content --> </body> diff --git a/webface/templates/home.html b/webface/templates/home.html index 0860e77..8cb7529 100644 --- a/webface/templates/home.html +++ b/webface/templates/home.html @@ -33,12 +33,5 @@ automated tooling to cross-check for compatibility. <p><b>Does it work?</b> there's no "here" here, yet, just some sketches and experiments. -<br><br> -<center> -<a href="/readme/">full readme</a> - -<a href="https://git.bnewbold.net/modelthing">source code</a> -</center> -<br> - {{/partial}} {{> base.html}} diff --git a/webface/templates/model_view.html b/webface/templates/model_view.html index 6e2b251..4dba406 100644 --- a/webface/templates/model_view.html +++ b/webface/templates/model_view.html @@ -1,6 +1,17 @@ {{# partial content}} +<h1>{{ model_id }}</h1> + +<b>Full Name</b>: {{ model.name }} + +<b>Raw Model:</b> +<pre> +{{ raw_model }} +</pre> + + +<h2>Other Info</h2> +{{ page_text }} -{{model_id}} {{/partial}} {{~> base.html~}} |