From b4abbe430c0e86aaf0982f95b539166dca19cb44 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 23 Sep 2024 11:22:11 +0300 Subject: Refactor: Init move search from base to index file. --- gn2/wqflask/templates/base.html | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'gn2/wqflask/templates/base.html') diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index 7db9aed6..b00caedd 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -168,34 +168,6 @@ {% block search %} -
-
-
-
- -
- - - -
- - - - GNQA Search - - - - - - - -
-
-
-
{% endblock %} {% block content %} {% endblock %} -- cgit v1.2.3 From 0b357115d88a38a4c0f128671636a37e2b5287c0 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 23 Sep 2024 11:31:55 +0300 Subject: Refactor: move global search css to index page. --- gn2/wqflask/templates/base.html | 26 -------------------------- gn2/wqflask/templates/index_page.html | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 27 deletions(-) (limited to 'gn2/wqflask/templates/base.html') diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index b00caedd..454139df 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -33,32 +33,6 @@ table.dataTable thead .sorting_desc { background-image: url({{ url_for("js", filename="DataTables/images/sort_desc_disabled.png") }}); } - .global_search_input{ - padding:9px 8px; - text-decoration: none; - border: none; - - border-radius: 5px; - } - .global_search_input:focus{ - outline: none; - } - .btn-stc { - padding:9px 8px; - border-left:none; - border-radius:0 40px 40px 0; - cursor: pointer; - height: 40px; - width: 64px; - margin:0; - border:1px solid #d3d3d3; - background-color: white; - position: absolute; - top:0; - left: 100%; - right: 0; - border-left: none; - } diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html index 4e2888e9..b836cbb1 100755 --- a/gn2/wqflask/templates/index_page.html +++ b/gn2/wqflask/templates/index_page.html @@ -59,10 +59,40 @@ color:#000; } + + .global_search_input{ + padding:9px 8px; + text-decoration: none; + border: none; + + border-radius: 5px; + } + .global_search_input:focus{ + outline: none; + } + .btn-stc { + padding:9px 8px; + border-left:none; + border-radius:0 40px 40px 0; + cursor: pointer; + height: 40px; + width: 64px; + margin:0; + border:1px solid #d3d3d3; + background-color: white; + position: absolute; + top:0; + left: 100%; + right: 0; + border-left: none; + } + + {% endblock %} -{% block search %} + + {% block search %}
@@ -92,6 +122,8 @@
{% endblock %} + + {% block content %}
-- cgit v1.2.3 From 7613298d6c427f4f3cfd3bd843e6d41099cba125 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 23 Sep 2024 11:38:36 +0300 Subject: Refactor: move global search js to index file. --- gn2/wqflask/templates/base.html | 41 ---------------------------- gn2/wqflask/templates/index_page.html | 50 +++++++++++++++++++++++++++++++---- 2 files changed, 45 insertions(+), 46 deletions(-) (limited to 'gn2/wqflask/templates/base.html') diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index 454139df..82387db2 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -233,7 +233,6 @@
- - diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html index b836cbb1..216e1c38 100755 --- a/gn2/wqflask/templates/index_page.html +++ b/gn2/wqflask/templates/index_page.html @@ -418,11 +418,51 @@ {%endblock%} {% block js %} - - - - - + + + + - - - - - + + + + + + - + - - - {% block css %} - {% endblock %} + + {% block css %}{% endblock %} + + - + {% block search %}{% endblock %} + {% block content %}{% endblock %} + - - -