Skip to content

Commit 74e2859

Browse files
author
Gaurav SinghaRoy
committed
doing UI refactor of generic download
1 parent e089074 commit 74e2859

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

app/views/query/_search_results.html.erb

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,20 @@
4848
<%if in_query_builder_action?%>
4949
<div class="div-configured-download row" style="display:none;">
5050
<div class="col-md-12">
51-
<a type="button" class="btn btn-default btn-success" target="_blank" id="btn_download_configured_convert_template">Download template</a>
52-
</div>
53-
</div>
54-
<div class="div-configured-download row" style="display:none;">
55-
<div class="col-md-12">
56-
<input type="file" id="configured_template_files" name="files[]" multiple />
51+
<p>
52+
<strong>STEP 1 :</strong> You need to write your template in <strong>.txt</strong> file.
53+
</p>
54+
<p>
55+
Not sure how your template should be? Download the template from here :&nbsp;
56+
<a type="button" class="btn btn-default btn-xs btn-success" target="_blank" id="btn_download_configured_convert_template">Download template</a>
57+
</p>
58+
<p >
59+
<strong>STEP 2 : </strong> Ready with the template file ? Awesome !! Now all you have to do is upload that file below.
60+
</p>
61+
<p>
62+
<input type="file" id="configured_template_files" name="files[]" multiple class="btn btn-primary btn-xs col-md-12"/>
5763
<output id="list"></output>
64+
</p>
5865
</div>
5966
</div>
6067
<div class="div-configured-download row" style="display:none;">

0 commit comments

Comments
 (0)