From a9c1b23705fe609bb88adff2103ad5849c9b3f1f Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sat, 29 Oct 2016 18:23:04 -0700 Subject: show example models in webface --- webface/templates/model_list.html | 11 +++++++++++ webface/templates/model_view.html | 18 ++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 webface/templates/model_list.html (limited to 'webface') diff --git a/webface/templates/model_list.html b/webface/templates/model_list.html new file mode 100644 index 0000000..db11bdc --- /dev/null +++ b/webface/templates/model_list.html @@ -0,0 +1,11 @@ +{{# partial content}} +

Example Models

+ + + +{{/partial}} +{{~> base.html~}} diff --git a/webface/templates/model_view.html b/webface/templates/model_view.html index 4dba406..4add92b 100644 --- a/webface/templates/model_view.html +++ b/webface/templates/model_view.html @@ -1,17 +1,19 @@ {{# partial content}} -

{{ model_id }}

+

{{ model_slug }}

-Full Name: {{ model.name }} +

Metadata

+
+
  • Full Name: {{ model_name }} +
  • Description: {{ model_description }} +
  • -Raw Model: +

    Modelica

    -{{ raw_model }}
    +{{ modelica }}
     
    - -

    Other Info

    -{{ page_text }} - +

    Wiki Page

    +{{ markdown }} {{/partial}} {{~> base.html~}} -- cgit v1.2.3