aboutsummaryrefslogtreecommitdiffstats
path: root/webface/templates/model_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'webface/templates/model_view.html')
-rw-r--r--webface/templates/model_view.html25
1 files changed, 13 insertions, 12 deletions
diff --git a/webface/templates/model_view.html b/webface/templates/model_view.html
index 11ffab7..5d307c7 100644
--- a/webface/templates/model_view.html
+++ b/webface/templates/model_view.html
@@ -1,18 +1,19 @@
{{# partial content}}
-<h1>{{ model_slug }}</h1>
+<h1 style="margin-bottom: 0.1em;">{{ model_name }}</h1>
+<span style="font-size: 0.9em;">
+<a href="edit/">edit</a> -
+<a href="raw/">modelica</a> -
+<a href="repr/?format=scheme">scheme</a> -
+<a href="repr/?format=javascript">javascript</a> -
+<a href="repr/?format=latex">latex</a>
+</span>
+<p><i style="color: #222222;">{{ model_description }}</i>
-<h2>Metadata</h2>
-<dl>
- <li><b>Full Name</b>: {{ model_name }}
- <li><b>Description</b>: {{ model_description }}
-</dl>
+<br><br>
+<pre style="margin-left: 0.25em; border-left: 4px solid #BBBBBB; padding: 0.5em;">
+{{ modelica }}</pre>
+<br>
-<h2>Modelica</h2>
-<pre>
-{{ modelica }}
-</pre>
-
-<h2>Wiki Page</h2>
{{{ markdown_html }}}
{{/partial}}