diff options
author | Mark Powers <markppowers0@gmail.com> | 2019-03-16 20:01:48 -0400 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2019-03-16 20:01:48 -0400 |
commit | 13407c1acdf6a8c8893c78f2c1959e7ac8752b20 (patch) | |
tree | 69ae2f2e2ad5eed529a4d50c3a8a00a7aa83ae1e /src/html/admin.html | |
parent | 23c5e6810888c30f10167405f0516f62b32d8f5b (diff) |
Update
Diffstat (limited to 'src/html/admin.html')
-rw-r--r-- | src/html/admin.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/html/admin.html b/src/html/admin.html index 0f98eea..a1fcec8 100644 --- a/src/html/admin.html +++ b/src/html/admin.html @@ -13,8 +13,8 @@ var feed = new Vue({ el: '#stats', data: { - stats: {ip: [], url: []}, - showIpTable: true, + stats: {cookie: [], url: []}, + showSessionTable: true, showUrlTable: true, }, created() { @@ -55,13 +55,13 @@ <div id="stats"> <h1>Stats</h1> <div> - <input type="checkbox" id="showIp" v-model="showIpTable"> - <label for="showIp">Show IP Stats</label> + <input type="checkbox" id="showSession" v-model="showSessionTable"> + <label for="showSession">Show Session Stats</label> </div> - <table class="table ip-table" v-if="showIpTable"> + <table class="table session-table" v-if="showSessionTable"> <tr><th>Host</th><th>Total Requests</th></tr> - <tr v-for="item in stats.ip"> - <td>{{item.ip}}</td><td>{{item.c}}</td> + <tr v-for="item in stats.cookie"> + <td>{{item.cookie.substring(0,10)}}...</td><td>{{item.c}}</td> </tr> </table> <div> |