1 <link rel=
"stylesheet" href=
"grid.css">
3 <!-- component template -->
4 <script type=
"text/x-template" id=
"grid-template">
8 <th v-for=
"key in columns"
10 :
class=
"{ active: sortKey == key }">
11 {{ headernames[key] | capitalize }}
12 <span class=
"arrow" :
class=
"sortOrders[key] > 0 ? 'asc' : 'dsc'">
18 <tr v-for=
"entry in filteredData">
19 <td v-for=
"key in columns">
20 <template v-if=
"key === 'bssid'">
21 <!-- https://vuejs.org/v2/guide/syntax.html#Arguments -->
22 <a href=
"#" v-on:
click=
"select_click(entry[key])">
26 <template v-else-if=
"key === 'wps_version'">
27 {{ entry[key] | wps_version }}
38 <script type=
"text/x-template" id=
"apanel-template">
40 <template v-if=
"active === true">
41 <p><a href=
"#" v-on:
click=
"unselect()">back
</a></p>
42 <div><p>ATTACK!
</p></div>
47 <script type=
"text/x-template" id=
"searchbox-template">
49 <template v-if=
"hidden === false">
54 v-on:
input=
"update_parent($event.target.value)"
62 <!-- demo root element -->
67 :
query=
"searchQuery" >
70 @
select_bssid=
"select"
72 :
columns=
"gridColumns"
73 :
headernames=
"gridHeaders"
74 :
filter-key=
"searchQuery">
77 @
unselect_send_parent=
"app_unselect"
79 :
bssid=
"searchQuery" >
83 <script src=
"vue"></script>
84 <script src=
"grid.js"></script>