neon_arch
commited on
Commit
·
d530410
1
Parent(s):
0e14c7d
✨ feat: rename search_page_search_bar to search_bar (#185)
Browse files
public/templates/search.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{{>header this.style}}
|
2 |
<main class="results">
|
3 |
-
{{>
|
4 |
<div class="results_aggregated">
|
5 |
{{#if results}} {{#each results}}
|
6 |
<div class="result">
|
|
|
1 |
{{>header this.style}}
|
2 |
<main class="results">
|
3 |
+
{{>search_bar this}}
|
4 |
<div class="results_aggregated">
|
5 |
{{#if results}} {{#each results}}
|
6 |
<div class="result">
|
public/templates/search_bar.html
CHANGED
@@ -1,2 +1,27 @@
|
|
1 |
{{>bar this}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
</div>
|
|
|
1 |
{{>bar this}}
|
2 |
+
<div class="error_box">
|
3 |
+
{{#if engineErrorsInfo}}
|
4 |
+
<button onclick="toggleErrorBox()" class="error_box_toggle_button">
|
5 |
+
<img src="./images/warning.svg" alt="Info icon for error box" />
|
6 |
+
</button>
|
7 |
+
<div class="dropdown_error_box">
|
8 |
+
{{#each engineErrorsInfo}}
|
9 |
+
<div class="error_item">
|
10 |
+
<span class="engine_name">{{{this.engine}}}</span>
|
11 |
+
<span class="engine_name">{{{this.error}}}</span>
|
12 |
+
<span class="severity_color" style="background: {{{this.severity_color}}};"></span>
|
13 |
+
</div>
|
14 |
+
{{/each}}
|
15 |
+
</div>
|
16 |
+
{{else}}
|
17 |
+
<button onclick="toggleErrorBox()" class="error_box_toggle_button">
|
18 |
+
<img src="./images/info.svg" alt="Warning icon for error box" />
|
19 |
+
</button>
|
20 |
+
<div class="dropdown_error_box">
|
21 |
+
<div class="no_errors">
|
22 |
+
Everything looks good 🙂!!
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
{{/if}}
|
26 |
+
</div>
|
27 |
</div>
|
public/templates/search_page_search_bar.html
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
{{>bar this}}
|
2 |
-
<div class="error_box">
|
3 |
-
{{#if engineErrorsInfo}}
|
4 |
-
<button onclick="toggleErrorBox()" class="error_box_toggle_button">
|
5 |
-
<img src="./images/warning.svg" alt="Info icon for error box" />
|
6 |
-
</button>
|
7 |
-
<div class="dropdown_error_box">
|
8 |
-
{{#each engineErrorsInfo}}
|
9 |
-
<div class="error_item">
|
10 |
-
<span class="engine_name">{{{this.engine}}}</span>
|
11 |
-
<span class="engine_name">{{{this.error}}}</span>
|
12 |
-
<span class="severity_color" style="background: {{{this.severity_color}}};"></span>
|
13 |
-
</div>
|
14 |
-
{{/each}}
|
15 |
-
</div>
|
16 |
-
{{else}}
|
17 |
-
<button onclick="toggleErrorBox()" class="error_box_toggle_button">
|
18 |
-
<img src="./images/info.svg" alt="Warning icon for error box" />
|
19 |
-
</button>
|
20 |
-
<div class="dropdown_error_box">
|
21 |
-
<div class="no_errors">
|
22 |
-
Everything looks good 🙂!!
|
23 |
-
</div>
|
24 |
-
</div>
|
25 |
-
{{/if}}
|
26 |
-
</div>
|
27 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|