aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexander Kabui2021-05-07 08:02:36 +0300
committerBonfaceKilz2021-05-07 12:01:15 +0300
commitb5db22e76677a85055d2f9b22214e9eeea876071 (patch)
tree4f35a59fa775b2deabc4e5d7749108267c54aee7 /wqflask
parent17bb8042eff1be9d7762e30499c1bf58d3505ea8 (diff)
downloadgenenetwork2-b5db22e76677a85055d2f9b22214e9eeea876071.tar.gz
remove comments prettify html
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/blogs.html16
-rw-r--r--wqflask/wqflask/templates/blogs_list.html73
2 files changed, 34 insertions, 55 deletions
diff --git a/wqflask/wqflask/templates/blogs.html b/wqflask/wqflask/templates/blogs.html
index c3d42e13..314eb733 100644
--- a/wqflask/wqflask/templates/blogs.html
+++ b/wqflask/wqflask/templates/blogs.html
@@ -1,24 +1,12 @@
{% extends "base.html" %}
-
{% block title %}Blogs {% endblock %}
-
{% block css %}
<link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" />
{% endblock %}
-
{% block content %}
-
- <div class="github-btn-container">
-<!-- <div class="github-btn">
- <a href="https://github.com/genenetwork/gn-docs/blob/master/general/help/facilities.md">
- Edit Text
- <img src="/static/images/edit.png">
- </a>
- </div> -->
+<div class="github-btn-container">
</div>
<div id="markdown" class="container">
- {{ rendered_markdown|safe }}
-
+ {{ rendered_markdown|safe }}
</div>
-
{% endblock %} \ No newline at end of file
diff --git a/wqflask/wqflask/templates/blogs_list.html b/wqflask/wqflask/templates/blogs_list.html
index e9255114..6bad4628 100644
--- a/wqflask/wqflask/templates/blogs_list.html
+++ b/wqflask/wqflask/templates/blogs_list.html
@@ -1,61 +1,52 @@
{% extends "base.html" %}
-
{% block title %}Blogs {% endblock %}
-
{% block css %}
-
<style type="text/css">
+.container {
+ height: 100vh;
+}
- .container {
- height: 100vh;
- }
- .blog_year {
- font-weight: bold;
- font-size: 48px;
- padding:12px 10px;
- }
+.blog_year {
+ font-weight: bold;
+ font-size: 48px;
+ padding: 12px 10px;
+}
- .blog_title {
- padding: 10px 15px;
+.blog_title {
+ padding: 10px 15px;
- }
+}
- .blog_title a{
- font-size:1.3em;
- padding-left: 10px;
- letter-spacing: 0.07em;
- text-decoration: underline;
- }
+.blog_title a {
+ font-size: 1.3em;
+ padding-left: 10px;
+ letter-spacing: 0.07em;
+ text-decoration: underline;
+}
</style>
-
<link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" />
{% endblock %}
-
{% block content %}
-
<div id="markdown" class="container">
- <div>
- {% for year, year_blogs in blogs.items() %}
- <div class="blog_year"><h3>{{year}}</h3></div>
- {%for blog in year_blogs%}
+ <div>
+ {% for year, year_blogs in blogs.items() %}
+ <div class="blog_year">
+ <h3>{{year}}</h3>
+ </div>
+ {%for blog in year_blogs%}
<div>
- <div class="blog_title">
- <ul>
- <li>
- <a href="{{ url_for('blogs_blueprint.display_blog',blog_path = blog.full_path)}}">{{blog['subtitle']}}</a>
- </li>
- </ul>
-
+ <div class="blog_title">
+ <ul>
+ <li>
+ <a href="{{ url_for('blogs_blueprint.display_blog',blog_path = blog.full_path)}}">{{blog['subtitle']}}</a>
+ </li>
+ </ul>
+ </div>
</div>
+ {% endfor %}
+ {%endfor%}
</div>
- {% endfor %}
-
- {%endfor%}
- </div>
-
-
</div>
-
{% endblock %} \ No newline at end of file