forked from ajinabraham/nodejsscan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.html
More file actions
72 lines (59 loc) · 2.37 KB
/
Copy pathsearch.html
File metadata and controls
72 lines (59 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{% extends "base.html" %}
{% block head %}
{{ super() }}
<link href="{{ url_for('static', filename='css/shCoreDefault.min.css') }}"
rel="stylesheet" >
<script src="{{ url_for('static', filename='js/highlight.pack.js') }}"></script>
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}
{% block title %}
{{title}}
{% endblock %}
{% block content %}
</br> </br> </br> </br> </br>
<div class="row">
<div class="container">
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title"><i class="fa fa-search"></i> You 've searched for: <strong>{{ term }}</strong>. Found in {{ found }} files.</h3>
</div>
<div class="box-body">
<div class="table-responsive">
<form class="navbar-form navbar-right" action="/search" method="POST">
<strong>Search in files</strong> <input type="text" name="q" class="form-control" placeholder="Search....">
<input type="hidden" name="scan_hash" value="{{scan_hash}}">
</form>
<table class="table table-bordered table-hover table-striped">
{% for m in matches %}
<tr><td> <a href="javascript:view('{{ m.path }}','0','{{ m.name}}','{{scan_hash}}');">{{ m.path }}</a> </td></tr>
{% endfor %}
</table>
</div>
</div>
<!-- /.box-body -->
</div>
</div>
</div>
<!--Modal-->
<div id="myModal" class="modal fade" role="dialog" style="position: fixed;">
<div class="modal-admin">
<div class="modal-content">
<div class="modal-header">
<button id="cls" type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 id="fname" class="modal-title"></h4>
<h6 id="pth"></h6>
</div>
<div id="bdy" class="modal-body">
</div>
</div>
</div>
</div>
<!--Modal End-->
{% block js %}
{{ super() }}
<script src="{{ url_for('static', filename='js/jquery.bootstrap-growl.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/shCore.js') }}"></script>
<script src="{{ url_for('static', filename='js/shBrushJScript.js') }}"></script>
<script src="{{ url_for('static', filename='js/result.js') }}"></script>
{% endblock %}
{% endblock %}