From 0c0272d08d2aa141eb648ccc6d5fc9857a84972f Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 1 Nov 2016 21:45:21 +0800 Subject: webui: Update index template; Add console and results templates --- fg21sim/webui/templates/console.html | 29 +++++++++++++++++++++++++++++ fg21sim/webui/templates/index.html | 12 ++---------- fg21sim/webui/templates/results.html | 12 ++++++++++++ 3 files changed, 43 insertions(+), 10 deletions(-) create mode 100644 fg21sim/webui/templates/console.html create mode 100644 fg21sim/webui/templates/results.html (limited to 'fg21sim/webui/templates') diff --git a/fg21sim/webui/templates/console.html b/fg21sim/webui/templates/console.html new file mode 100644 index 0000000..5516242 --- /dev/null +++ b/fg21sim/webui/templates/console.html @@ -0,0 +1,29 @@ +{# + # Copyright (c) 2016 Weitian LI + # MIT license + # + # Console part + #} +
+

Console

+
+ +

+ Simulation status: + N/A +

+ +

+ + +

+ +
+
+ Logging Messages +
+
+

messages ...

+
+
+
diff --git a/fg21sim/webui/templates/index.html b/fg21sim/webui/templates/index.html index 2d5091e..105c4a0 100644 --- a/fg21sim/webui/templates/index.html +++ b/fg21sim/webui/templates/index.html @@ -21,16 +21,8 @@ {% block main %} {% include "configs.html" %} - -
-

Results

-

Simulation results go here :)

-
- -
-

Logs

-

Logging messages should go here :)

-
+ {% include "console.html" %} + {% include "results.html" %} {% end %} {% block footer %} diff --git a/fg21sim/webui/templates/results.html b/fg21sim/webui/templates/results.html new file mode 100644 index 0000000..4935f28 --- /dev/null +++ b/fg21sim/webui/templates/results.html @@ -0,0 +1,12 @@ +{# + # Copyright (c) 2016 Weitian LI + # MIT license + # + # Results part + #} +
+

Results

+
+ +

Simulation results go here :)

+
-- cgit v1.2.2