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') 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