aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-23 11:31:55 +0300
committerAlexander_Kabui2024-09-23 11:31:55 +0300
commit0b357115d88a38a4c0f128671636a37e2b5287c0 (patch)
treee41ba5bc05990a22f3037b737f8935737bc4e4cc /gn2/wqflask/templates
parentb4abbe430c0e86aaf0982f95b539166dca19cb44 (diff)
downloadgenenetwork2-0b357115d88a38a4c0f128671636a37e2b5287c0.tar.gz
Refactor: move global search css to index page.
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r--gn2/wqflask/templates/base.html26
-rwxr-xr-xgn2/wqflask/templates/index_page.html34
2 files changed, 33 insertions, 27 deletions
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;
- }
</style>
</head>
<body style="width: 100%">
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;
+ }
+
+
</style>
{% endblock %}
-{% block search %}
+
+ {% block search %}
<div class="container-fluid" style="width: 100%; min-width: 650px; position: relative;background-color: #d5d5d5; height: 100px;">
<form method="get" action="/gsearch" id="globalsearchform">
<div class="form-group">
@@ -92,6 +122,8 @@
</form>
</div>
{% endblock %}
+
+
{% block content %}
<!-- Start of body -->
<div class="container-fluid" style="min-width: 1210px;">