Device name added to remote config.
This commit is contained in:
@@ -40,6 +40,7 @@ var app = new Vue({
|
||||
this.socket.on("config", (data) => {
|
||||
this.domain = data.domain;
|
||||
this.version = data.version;
|
||||
this.device = data.device;
|
||||
});
|
||||
|
||||
this.socket.on("fprint-enroll-error", (data) => {
|
||||
@@ -151,4 +152,4 @@ var app = new Vue({
|
||||
};
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<div v-if="step > 0" style="text-align: right">
|
||||
<span style="cursor: pointer;" v-on:click="newEnrolment">+ New
|
||||
Enrolment</span> •
|
||||
<span>~{{user.username.substring(7)}}</span> • <span v-on:click='logout'
|
||||
<span>~{{user.username.substring(7)}}</span> • <span v-if="device">{{device}} • </span> <span v-on:click='logout'
|
||||
style="cursor: pointer; font-weight: bold;">Logout</span>
|
||||
<hr />
|
||||
</div>
|
||||
@@ -174,4 +174,4 @@
|
||||
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
||||
<script src="/assets/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user