Subversion Repositories ALCASAR

Rev

Rev 3242 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
3241 rexy 1
<!DOCTYPE html>
2
<html lang="en">
3
    <head>
4
        <meta charset="utf-8">
5
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
        <meta name="viewport" content="width=device-width, initial-scale=1">
7
        <title>nfsen-ng</title>
8
        <script src="js/jquery.min.js"></script>
9
        <script src="js/popper.min.js"></script>
10
        <script src="js/bootstrap.min.js"></script>
11
        <script src="js/ion.rangeSlider.min.js"></script>
12
        <script src="js/dygraph.min.js"></script>
13
        <script src="js/footable.min.js"></script>
14
        <link rel="stylesheet" type="text/css" href="css/dygraph.css" />
15
        <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
16
        <link rel="stylesheet" type="text/css" href="css/ion.rangeSlider.css" />
17
        <link rel="stylesheet" type="text/css" href="css/footable.bootstrap.min.css" />
18
        <link rel="stylesheet" type="text/css" href="css/nfsen-ng.css" />
19
    </head>
20
 
21
    <body class="p-2">
22
        <header>
23
            <ul id="viewList" class="nav nav-tabs justify-content-end" role="tablist">
24
                <li role="presentation" class="nav-item align-self-center">
25
                    <a href="#" class="reload px-3"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-door-fill" viewBox="0 0 16 16">
26
                        <path d="M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5"/>
27
                    </svg></a>
28
                </li>
29
                <li role="presentation" class="nav-item">
30
                    <a class="nav-link active" data-view="graphs" href="#">Graphs <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-graph-up" viewBox="0 0 16 16">
31
                        <path fill-rule="evenodd" d="M0 0h1v15h15v1H0zm14.817 3.113a.5.5 0 0 1 .07.704l-4.5 5.5a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61 4.15-5.073a.5.5 0 0 1 .704-.07"/>
32
                    </svg>
33
                    </a>
34
                </li>
35
                <li role="presentation" class="nav-item">
36
                    <a class="nav-link" data-view="flows" href="#">Flows <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-zoom-in" viewBox="0 0 16 16">
37
                        <path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0"/>
38
                        <path d="M10.344 11.742q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1 6.5 6.5 0 0 1-1.398 1.4z"/>
39
                        <path fill-rule="evenodd" d="M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5"/>
40
                    </svg>
41
                    </a>
42
                </li>
43
                <li role="presentation" class="nav-item">
44
                    <a class="nav-link" data-view="statistics" href="#">Statistics <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-list-columns" viewBox="0 0 16 16">
45
                        <path fill-rule="evenodd" d="M0 .5A.5.5 0 0 1 .5 0h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 0 .5m13 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5m-13 2A.5.5 0 0 1 .5 2h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5m13 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5m-13 2A.5.5 0 0 1 .5 4h10a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5m13 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5m-13 2A.5.5 0 0 1 .5 6h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m13 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5m-13 2A.5.5 0 0 1 .5 8h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m13 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5m-13 2a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m13 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5m-13 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m13 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5m-13 2a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5m13 0a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5"/>
46
                    </svg>
47
                    </a>
48
                </li>
3242 rexy 49
           </ul>
3241 rexy 50
        </header>
51
        <div id="filterContainer" class="container-fluid tab-content">
52
            <form autocomplete="off">
53
                <div id="filter" class="filter row align-items-start bg-light border-bottom py-3" style="flex-direction: row">
54
                    <div class="date_selection col-12 p-3 mb-4 border-bottom">
55
                        <div class="mb-3">
56
                            <input type="text" name="date_range" id="date_range"/>
57
                        </div>
58
 
59
                        <div class="float-end">
60
                        <div class="btn-group" id="date_slot" data-bs-toggle="buttons">
61
                            <input type="radio" class="btn-check" name="range" data-unit="h" id="dateSlotH" value="3600000">
62
                            <label class="btn btn-outline-primary" for="dateSlotH">1 hour</label>
63
                            <input type="radio" class="btn-check" name="range" data-unit="d" id="dateSlotD" value="86400000">
64
                            <label class="btn btn-outline-primary" for="dateSlotD">24 hours</label>
65
                            <input type="radio" class="btn-check" name="range" data-unit="w" id="dateSlotW" value="604800000">
66
                            <label class="btn btn-outline-primary" for="dateSlotW">Week</label>
67
                            <input type="radio" class="btn-check" name="range" data-unit="m" id="dateSlotM" value="2592000000">
68
                            <label class="btn btn-outline-primary" for="dateSlotM">Month</label>
69
                            <input type="radio" class="btn-check" name="range" data-unit="y" id="dateSlotY" value="31536000000">
70
                            <label class="btn btn-outline-primary" for="dateSlotY">Year</label>
71
                        </div>
72
 
73
                        <div class="btn-group" id="date_slot_nav">
74
                            <button type="button" class="btn btn-outline-primary prev" disabled><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-left" viewBox="0 0 16 16">
75
                                <path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8"/>
76
                            </svg></button>
77
                            <button type="button" class="btn btn-outline-primary next" disabled><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right" viewBox="0 0 16 16">
78
                                <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"/>
79
                            </svg></button>
80
                        </div>
81
 
82
                        <div class="btn-group" id="date_syncing" data-view="graphs">
83
                            <button type="button" class="btn btn-outline-primary sync-date" disabled>Copy from graph <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-repeat" viewBox="0 0 16 16">
84
                                <path d="M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41m-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9"/>
85
                                <path fill-rule="evenodd" d="M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5 5 0 0 0 8 3M3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9z"/>
86
                            </svg></button>
87
                        </div>
88
                        </div>
89
                    </div>
90
                    <div id="filterDisplay" class="d-none col-xs-6 col-sm-2" data-view="graphs">
91
                        <p class="h6">Display</p>
92
 
93
                        <div class="form-group">
94
                            <select id="filterDisplaySelect" class="form-control form-select">
95
                                <option value="sources">Sources</option>
96
                                <option value="protocols">Protocols</option>
97
                                <option value="ports">Ports</option>
98
                            </select>
99
                        </div>
100
                    </div>
101
 
102
                    <div id="filterPorts" class="d-none col-xs-6 col-sm-2 col-md-1" data-view="graphs" data-display="ports">
103
                        <p class="h6">Ports</p>
104
 
105
                        <div class="form-group">
106
                            <select id="filterPortsSelect" multiple class="form-control form-select"></select>
107
                        </div>
108
                    </div>
109
 
110
                    <div id="filterSources" class="d-none col-xs-6 col-sm-3 col-md-2" data-view="graphs flows statistics" data-display="sources protocols ports">
111
                        <p class="h6">Sources</p>
112
 
113
                        <div class="form-group">
114
                            <select  id="filterSourcesSelect" multiple class="form-control form-select">
115
                                <option value="any">Any</option>
116
                            </select>
117
                        </div>
118
                    </div>
119
 
120
                    <div id="filterProtocols" class="d-none col-xs-12 col-sm-6 col-md-4 col-lg-3" data-view="graphs" data-display="sources protocols ports">
121
                        <p class="h6">Protocols</p>
122
 
123
                        <div id="filterProtocolButtons" class="btn-group btn-group-md" data-bs-toggle="buttons">
124
                            <input type="radio" class="btn-check" name="protocol[]" value="any" id="filterProtocolAny">
125
                            <label class="btn btn-outline-primary" for="filterProtocolAny">Any</label>
126
                            <input type="radio" class="btn-check" name="protocol[]" value="tcp" id="filterProtocolTcp">
127
                            <label class="btn btn-outline-primary" for="filterProtocolTcp">TCP</label>
128
                            <input type="radio" class="btn-check" name="protocol[]" value="udp" id="filterProtocolUdp">
129
                            <label class="btn btn-outline-primary" for="filterProtocolUdp">UDP</label>
130
                            <input type="radio" class="btn-check" name="protocol[]" value="icmp" id="filterProtocolIcmp">
131
                            <label class="btn btn-outline-primary" for="filterProtocolIcmp">ICMP</label>
132
                            <input type="radio" class="btn-check" name="protocol[]" value="other" id="filterProtocolOther">
133
                            <label class="btn btn-outline-primary" for="filterProtocolOther">Others</label>
134
                        </div>
135
                    </div>
136
 
137
                    <div id="filterTypes" class="d-none col-xs-12 col-sm-6 col-md-3 col-lg-2" data-view="graphs" data-display="sources protocols ports">
138
                        <p class="h6">Data Type</p>
139
 
140
                        <div class="btn-group btn-group-md" data-bs-toggle="buttons">
141
                            <input type="radio" class="btn-check" name="datatype" value="traffic" id="dataTypeTraffic" checked>
142
                            <label class="btn btn-outline-primary" for="dataTypeTraffic">Traffic</label>
143
                            <input type="radio" class="btn-check" name="datatype" value="packets" id="dataTypePackets">
144
                            <label class="btn btn-outline-primary" for="dataTypePackets">Packets</label>
145
                            <input type="radio" class="btn-check" name="datatype" value="flows" id="dataTypeFlows">
146
                            <label class="btn btn-outline-primary" for="dataTypeFlows">Flows</label>
147
                        </div>
148
                    </div>
149
 
150
                    <div id="trafficUnit" class="d-none col-xs-6 col-sm-3 col-md-2 col-lg-2" data-view="graphs" data-display="sources protocols ports">
151
                        <p class="h6">Traffic unit</p>
152
 
153
                        <div class="btn-group btn-group-md" data-bs-toggle="buttons">
154
                            <input type="radio" class="btn-check" name="trafficUnit" value="bits" id="trafficUnitBits" checked>
155
                            <label class="btn btn-outline-primary" for="trafficUnitBits">Bits</label>
156
                            <input type="radio" class="btn-check" name="trafficUnit" value="bytes" id="trafficUnitBytes">
157
                            <label class="btn btn-outline-primary" for="trafficUnitBytes">Bytes</label>
158
                        </div>
159
                    </div>
160
 
161
                    <div id="filterFlowsLimit" class="d-none col-xs-6 col-sm-2 col-md-2 col-lg-1" data-view="flows">
162
                        <p class="h6">Limit Flows</p>
163
 
164
                        <div class="form-group">
165
                            <select id="flowsFilterLimitSelection" class="form-control form-select">
166
                                <option value="20">20</option>
167
                                <option value="50" >50</option>
168
                                <option value="100" >100</option>
169
                                <option value="500" >500</option>
170
                                <option value="1000" >1000</option>
171
                                <option value="10000" >10000</option>
172
                            </select>
173
                        </div>
174
                    </div>
175
 
176
                    <div id="filterStatisticsTop" class="d-none col-xs-6 col-sm-2 col-md-2 col-lg-1" data-view="statistics">
177
                        <p class="h6">Top records</p>
178
                        <div class="form-group">
179
                            <select id="statsFilterTopSelection" class="form-control form-select">
180
                                <option value="10" selected>10</option>
181
                                <option value="20">20</option>
182
                                <option value="50">50</option>
183
                                <option value="100">100</option>
184
                                <option value="200">200</option>
185
                                <option value="500">500</option>
186
                            </select>
187
                        </div>
188
                    </div>
189
 
190
 
191
                    <div id="filterNfdump" class="d-none col-xs-12 col-sm-7 col-md-5" data-view="graphs flows statistics">
192
 
193
                        <p class="h6">NFDUMP filter <span aria-hidden="true" data-bs-toggle="tooltip" data-bs-placement="right" title="The filter syntax is similar to the well known pcap library used by tcpdump. All keywords are case-independent. Example: dst port 80"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-info-circle-fill" viewBox="0 0 16 16">
194
                            <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2"/>
195
                        </svg></span></p>
196
 
197
                        <div class="form-group">
198
                            <textarea class="form-control" id="filterNfdumpTextarea" rows="3" autocomplete="on"></textarea>
199
                        </div>
200
 
201
                        <div class="btn-group">
202
                            <div id="filterFilters" class="form-group">
203
                            <label class="form-control" >Filters</label>
204
                            <select id="filterFiltersSelect" class="form-control form-select" title="Filters" style="">
205
                                <option value="" disabled selected>Select your filter</option>
206
                            </select>
207
                            </div>
208
 
209
                            <button id="filterFiltersButtonRemove" type="button" class="btn btn-outline-primary" >Delete filter (server)</button>
210
                            <button id="filterFiltersButtonSave" type="button" class="btn btn-outline-primary" >Save filter (server)</button>
211
                        </div>
212
 
213
                    </div>
214
 
215
                    <div id="filterFlowAggregation" class="col">
216
                        <div class="d-none" data-view="flows">
217
 
218
                            <p class="h6">Global Aggregation</p>
219
                            <div class="btn-group btn-group-md" data-bs-toggle="buttons" id="filterFlowAggregationGlobal">
220
                                <input type="checkbox" class="btn-check" name="bidirectional" id="filterFlowAggregationGlobalBi">
221
                                <label class="btn btn-outline-primary" for="filterFlowAggregationGlobalBi">Bi-directional</label>
222
 
223
                                <input data-disable-on="bi-directional" type="checkbox" class="btn-check" name="proto" id="filterFlowAggregationGlobalProto">
224
                                <label class="btn btn-outline-primary" for="filterFlowAggregationGlobalProto">Protocol</label>
225
                            </div>
226
 
227
                        </div>
228
                        <div class="d-none" data-view="flows">
229
                            <p class="h6">Port Aggregation</p>
230
                            <div class="btn-group btn-group-md" data-bs-toggle="buttons" id="filterFlowAggregationPort">
231
                                <input data-disable-on="bi-directional" type="checkbox" class="btn-check" name="srcport" id="filterFlowAggregationPortSrc">
232
                                <label class="btn btn-outline-primary" for="filterFlowAggregationPortSrc">Source port</label>
233
 
234
                                <input data-disable-on="bi-directional" type="checkbox" class="btn-check" name="dstport" id="filterFlowAggregationPortDst">
235
                                <label class="btn btn-outline-primary" for="filterFlowAggregationPortDst">Destination port</label>
236
                            </div>
237
                        </div>
238
 
239
                        <div class="d-none" data-view="flows">
240
                            <p class="h6">IP Aggregation</p>
241
                            <div class="row">
242
                                <div class="col-xs-6 col-sm-6">
243
                                    <label>Source</label><br>
244
                                    <div class="form-group">
245
                                        <select data-disable-on="bi-directional" data-kind="source" name="srcip" id="filterFlowAggregationSourceAddressSelect" class="form-control form-select float-start" style="width: 70%">
246
                                            <option value="none">No aggregation</option>
247
                                            <option value="srcip">IP</option>
248
                                            <option value="srcip4">IPv4 subnets</option>
249
                                            <option value="srcip6">IPv6 subnets</option>
250
                                        </select>
251
                                        <div id="sourceCIDRPrefixDiv" class="d-none float-start" style="width:30%">
252
                                            <input data-disable-on="bi-directional" id="sourceCIDRPrefix" placeholder="24" name="srcipprefix" type="text" class="form-control">
253
                                        </div>
254
                                    </div>
255
                                </div>
256
 
257
                                <div class="col-xs-6 col-sm-6">
258
                                    <label>Destination</label>
259
                                    <div class="form-group">
260
                                        <select data-disable-on="bi-directional" data-kind="destination" name="dstip" id="filterFlowAggregationDestinationAddressSelect" class="form-control form-select float-start" style="width: 70%">
261
                                            <option value="none">No aggregation</option>
262
                                            <option value="dstip">IP</option>
263
                                            <option value="dstip4">IPv4 subnets</option>
264
                                            <option value="dstip6">IPv6 subnets</option>
265
                                        </select>
266
                                        <div id="destinationCIDRPrefixDiv" class="d-none float-start" style="width:30%">
267
                                            <input data-disable-on="bi-directional" id="destinationCIDRPrefix" placeholder="24" name="dstipprefix" type="text" class="form-control">
268
                                        </div>
269
                                    </div>
270
                                </div>
271
                            </div>
272
                        </div><!-- flowsFilterAggregationDiv  -->
273
                    </div>
274
 
275
                    <div id="statsLimitDiv" class="d-none col-xs-6 col-sm-6 col-md-2" data-view="statistics">
276
                        <p class="h6">Data Limit</p>
277
                        <div class="form-group">
278
                            <select id="statsLimitSelect" class="form-control form-select" data-view="statistics" disabled>
279
                                <option value="none">No limit</option>
280
                                <option value="">Packets</option>
281
                                <option value="">Bytes</option>
282
                            </select>
283
                        </div>
284
                    </div>
285
 
286
                    <div id="filterStatsProperties" class="d-none col-xs-6 col-sm-6 col-md-4 col-lg-2" data-view="statistics">
287
 
288
                        <p class="h6">Statistic properties</p>
289
 
290
                        <div class="form-group">
291
                            <label for="statsFilterForSelection">Statistic for</label>
292
                            <select id="statsFilterForSelection" class="form-control form-select">
293
                                <option value="record" selected>Flow Records</option>
294
                                <option value="ip">Any IP address</option>
295
                                <option value="srcip">Src IP address</option>
296
                                <option value="dstip">Dst IP address</option>
297
                                <option value="port">Any port</option>
298
                                <option value="srcport">Src port</option>
299
                                <option value="dstport">Dst port</option>
300
                                <option value="if">Any interface</option>
301
                                <option value="inif">IN interface</option>
302
                                <option value="outif">OUT interface</option>
303
                                <option value="as">Any AS</option>
304
                                <option value="srcas">Src AS</option>
305
                                <option value="dstas">Dst AS</option>
306
                                <option value="nhip">Next Hop IP</option>
307
                                <option value="nhbip">Next Hop BGP IP</option>
308
                                <option value="router">Router IP</option>
309
                                <option value="proto">Proto</option>
310
                                <option value="dir">Direction</option>
311
                                <option value="srctos">Src TOS</option>
312
                                <option value="dsttos">Dst TOS</option>
313
                                <option value="tos">Tos</option>
314
                                <option value="mask">Any Mask Bits</option>
315
                                <option value="srcmask">Src Mask Bits</option>
316
                                <option value="dstmask">Dst Mask Bits</option>
317
                                <option value="vlan">Any VLAN ID</option>
318
                                <option value="srcvlan">Src VLAN ID</option>
319
                                <option value="dstvlan">Dst VLAN ID</option>
320
                                <option value="srcmac">Src MAC</option>
321
                                <option value="dstmac">Dst MAC</option>
322
                                <option value="inmac">IN MAC</option>
323
                                <option value="outmac">OUT MAC</option>
324
                                <option value="insrcmac">IN src MAC</option>
325
                                <option value="outdstmac">OUT dst MAC</option>
326
                                <option value="indstmac">IN dst MAC</option>
327
                                <option value="outsrcmac">OUT src MAC</option>
328
                                <option value="mpls1">MPLS Label 1</option>
329
                                <option value="mpls2">MPLS Label 2</option>
330
                                <option value="mpls3">MPLS Label 3</option>
331
                                <option value="mpls4">MPLS Label 4</option>
332
                                <option value="mpls5">MPLS Label 5</option>
333
                                <option value="mpls6">MPLS Label 6</option>
334
                                <option value="mpls7">MPLS Label 7</option>
335
                                <option value="mpls8">MPLS Label 8</option>
336
                                <option value="mpls9">MPLS Label 9</option>
337
                                <option value="mpls10">MPLS Label 10</option>
338
                            </select>
339
                        </div>
340
 
341
                        <div class="form-group">
342
                            <label for="statsFilterOrderBySelection">Order by</label>
343
                            <select id="statsFilterOrderBySelection" class="form-control form-select">
344
                                <option value="flows" selected>Flows</option>
345
                                <option value="packets">Packets</option>
346
                                <option value="bytes">Bytes</option>
347
                                <option value="pps">Packets per second</option>
348
                                <option value="bps">Bits per second</option>
349
                                <option value="bpp">Bytes per packet</option>
350
                            </select>
351
                        </div>
352
 
353
                    </div><!-- statsFilterPropertiesDiv  -->
354
 
355
                    <div id="filterOutput" class="hidden col-xs-12 col-sm-6 col-md-4 col-lg-4" data-view="flows statistics">
356
 
357
                        <p class="h6">Output</p>
358
                        <div class="row">
359
                            <div class="form-group col-xs-6 col-sm-6">
360
                                <label for="filterOutputSelection">Output type</label>
361
                                <select id="filterOutputSelection" name="filterOutputSelection" class="form-control form-select">
362
                                    <option value="line">Line</option>
363
                                    <option value="long">Long</option>
364
                                    <option value="extended">Extended</option>
365
                                    <option value="full">Full</option>
366
                                    <option value="custom">Custom</option>
367
                                </select>
368
                            </div>
369
 
370
                            <div class="form-group col-xs-6 col-sm-6">
371
                                <label>Other options</label>
372
                                <br>
373
                                <div class="" id="flowsFilterOther" data-bs-toggle="buttons">
374
                                    <input type="checkbox" class="btn-check" name="ordertstart" value="true" id="flowsFilterOtherOrderTstart">
375
                                    <label class="btn btn-outline-primary" data-view="flows" for="flowsFilterOtherOrderTstart">Order by tstart</label>
376
                                </div>
377
                            </div>
378
                        </div>
379
 
380
                        <div id="customListOutputFormat" class="form-group hidden">
381
                            <label for="customListOutputFormatValue">Custom output format
382
                                <span aria-hidden="true" data-bs-toggle="tooltip" data-bs-placement="right" title="Specify output format in nfdump-style. E.g. %ts %tr %pr"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-info-circle-fill" viewBox="0 0 16 16">
383
  <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2"/>
384
</svg></span></label>
385
                            <input id="customListOutputFormatValue" type="text" class="form-control">
386
                        </div>
387
                    </div>
388
 
389
                    <div id="filterCommands" class="hidden col-xs-12 col-sm-6 col-md-3" data-view="flows statistics">
390
                        <p class="h6">Commands</p>
391
                        <div class="btn-group btn-group-md" data-bs-toggle="buttons">
392
                            <button type="button" class="btn btn-outline-primary submit">Process data</button>
393
                            <button type="button" class="btn btn-success csv">Get CSV</button>
394
                            <button type="button" class="btn btn-outline-primary reset">Reset filters</button>
395
                        </div>
396
                    </div>
397
                </div><!-- statsFilterDiv  -->
398
            </form>
399
 
400
        </div><!-- filterDiv  -->
401
 
402
        <div id="error"></div>
403
 
404
        <div id="contentDiv">
405
 
406
            <div id="graphsContentDiv" data-view="graphs" class="content container-fluid">
407
 
408
                <div class="col-sm-12 my-4">
409
                    <div id="flowDiv" style="width: 100%;"></div>
410
                </div>
411
 
412
                <div id="graphOptions" class="row">
413
                    <div class="col-xs-6 col-sm-3">
414
                        <p class="h6">Graph Scale</p>
415
                        <div class="btn-group" role="group" id="graph_linlog">
416
                            <input type="radio" class="btn-check" name="scale" autocomplete="off" value="linear" checked id="graph_linlog_linear">
417
                            <label for="graph_linlog_linear" class="btn btn-outline-primary">Linear</label>
418
 
419
                            <input id="graph_linlog_log" type="radio" class="btn-check" name="scale" autocomplete="off" value="logarithmic">
420
                            <label for="graph_linlog_log" class="btn btn-outline-primary">Logarithmic</label>
421
                        </div>
422
                    </div>
423
 
424
                    <div class="col-xs-6 col-sm-3">
425
                        <p class="h6">Series display</p>
426
                        <div class="btn-group" data-bs-toggle="buttons" id="graph_linestacked">
427
                            <input type="radio" class="btn-check" name="type" autocomplete="off" value="stacked" checked id="graph_linestacked_stacked">
428
                            <label class="btn btn-outline-primary" for="graph_linestacked_stacked">Stacked</label>
429
 
430
                            <input type="radio" class="btn-check" name="type" autocomplete="off" value="line" id="graph_linestacked_line">
431
                            <label class="btn btn-outline-primary" for="graph_linestacked_line">Line</label>
432
                        </div>
433
 
434
                        <div class="btn-group" data-bs-toggle="buttons" id="graph_lineplot">
435
                            <input type="radio" class="btn-check" name="lineplot" autocomplete="off" value="step" id="graph_lineplot_step" checked>
436
                            <label class="btn btn-outline-primary" for="graph_lineplot_step">Step plot</label>
437
 
438
                            <input type="radio" class="btn-check" name="lineplot" autocomplete="off" value="curve" id="graph_lineplot_curve">
439
                            <label class="btn btn-outline-primary" for="graph_lineplot_curve">Curve plot</label>
440
                        </div>
441
                    </div>
442
 
443
                    <div class="col-xs-6 col-sm-3 accordion">
444
                        <p class="h6" data-bs-toggle="collapse" data-bs-target="#series" role="button" aria-expanded="true">Series</p>
445
                        <div class="collapse show" id="series"></div>
446
                    </div>
447
 
448
                    <div class="col-xs-6 col-sm-3 accordion">
449
                        <p class="h6" data-bs-toggle="collapse" data-bs-target="#legend" role="button" aria-expanded="true">Values</p>
450
                        <div class="collapse show" id="legend"></div>
451
                    </div>
452
                </div>
453
            </div>
454
            <div id="flowsContentDiv" data-view="flows" class="content">
455
                <table class="table" data-paging="true" data-paging-limit="10" data-paging-size="50" data-filtering="true" data-sorting="true"></table>
456
            </div><!-- flowsContentDiv  -->
457
 
458
            <div id="statisticsContentDiv" data-view="statistics" class="content">
459
                <table class="table" data-paging="true" data-paging-limit="10" data-paging-size="50" data-filtering="true" data-sorting="true"></table>
460
            </div><!-- statsContentDiv  -->
461
 
462
        </div><!-- contentDiv  -->
463
 
464
        <div class="modal fade" id="modal" tabindex="-1" aria-labelledby="modalLabel" aria-hidden="true">
465
            <div class="modal-dialog">
466
                <div class="modal-content">
467
                    <div class="modal-header">
468
                        <h1 class="modal-title fs-5" id="modalLabel">Modal title</h1>
469
                        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
470
                    </div>
471
                    <div class="modal-body"></div>
472
                    <div class="modal-loader d-none text-center">
473
                        <div class="spinner-border" role="status">
474
                            <span class="visually-hidden">Loading</span>
475
                        </div>
476
                    </div>
477
                    <div class="modal-footer">
478
                        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
479
                    </div>
480
                </div>
481
            </div>
482
        </div>
483
        <script src="js/nfsen-ng.js"></script>
484
    </body>
485
</html>