From 167ec0df8d8d487832e6a0acaee3eac8963d9804 Mon Sep 17 00:00:00 2001
From: Alexander Kabui
Date: Fri, 1 Oct 2021 05:34:20 +0300
Subject: add xterm web terminal
---
wqflask/wqflask/templates/test_wgcna_results.html | 225 +++++++++++-----------
1 file changed, 116 insertions(+), 109 deletions(-)
diff --git a/wqflask/wqflask/templates/test_wgcna_results.html b/wqflask/wqflask/templates/test_wgcna_results.html
index 37ea2aa0..f95766ad 100644
--- a/wqflask/wqflask/templates/test_wgcna_results.html
+++ b/wqflask/wqflask/templates/test_wgcna_results.html
@@ -1,146 +1,153 @@
{% extends "base.html" %}
{% block title %}WCGNA results{% endblock %}
+{% block content %}
+
-{% block content %}
-
-
+.control_net_colors {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ align-items: center;
+ text-align: center;
+}
-
-
- {% for key, value in results["data"]["output"]["soft_threshold"].items()%}
-
-
{{key}}
- {% for val in value %}
-
{{val|round(3)}}
-
- {% endfor %}
-
-
- {% endfor %}
+.control_mod_eigens {
+ display: grid;
+ grid-template-columns: repeat(2, 200px);
+}
-
+#terminal {
-
-
Net colors
-
- {% for key,value in results["data"]["output"]["net_colors"].items() %}
-
-
- {% endfor %}
+ max-width: 768px;
-
-
+ margin: 10px;
-
-
-
-
-
Module eigen genes
-
-
- {% for strain in results["data"]["input"]["sample_names"]%}
- {{strain}}
- {% endfor %}
- {% for mod,values in results["data"]["output"]["ModEigens"].items() %}
- {{mod}} {{values}}
-
- {% endfor %}
-
-
-
-
-
-
- dsffsdf
-
+}
+
+
+
+
+
+ {% for key, value in results["data"]["output"]["soft_threshold"].items()%}
+
+
{{key}}
+ {% for val in value %}
+
{{val|round(3)}}
+ {% endfor %}
+
+ {% endfor %}
+
+
+
Net colors
+
+ {% for key,value in results["data"]["output"]["net_colors"].items() %}
+
+ {% endfor %}
+
+
+
+
Module eigen genes
+
+ {% for strain in results["data"]["input"]["sample_names"]%}
+ {{strain}}
+ {% endfor %}
+ {% for mod,values in results["data"]["output"]["ModEigens"].items() %}
+ {{mod}} {{values}}
+ {% endfor %}
+
+
+
+
+
+
+
+
-{% endblock %}
+ writeToTerminal({ cursorBlink: true, lineHeight: 1.2 }, "terminal")(terminal_output)
+
+{% endblock %}
\ No newline at end of file
--
cgit v1.2.3