Commit 94b4726a authored by Johannes Zellner's avatar Johannes Zellner

Ensure the device list grows accordingly

parent af949fb5
......@@ -53,6 +53,7 @@ header > h1 {
flex-direction: column;
margin: 20px 0;
width: 100%;
flex-grow: 1;
}
.container.login {
......
......@@ -65,8 +65,7 @@
</div>
<div class="container" v-show="user">
<h3 style="text-align: right">Connected Clients: {{ connectedClientCount }}</h3>
<el-table :data="entries" style="flex-basis: 100%; width: 100%" empty-text="-" :row-class-name="tableRowClassName"
@row-click="toggleRowExpansion" ref="deviceTable">
<el-table :data="entries" style="flex-basis: 100%; width: 100%" empty-text="No Devices" :row-class-name="tableRowClassName" @row-click="toggleRowExpansion" ref="deviceTable">
<el-table-column type="expand">
<template slot-scope="props">
<p><b>Status:</b> {{ props.row.connected ? 'connected' : 'disconnected' }}</p>
......@@ -75,10 +74,8 @@
<p><b>Hostname:</b> {{ props.row.hostname }}</p>
</template>
</el-table-column>
<el-table-column prop="name" label="Device Name" @click="toggleRowExpansion(this)" sortable
:show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="created" label="Created" :formatter="prettyDate" sortable
:show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="name" label="Device Name" @click="toggleRowExpansion(this)" sortable :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="created" label="Created" :formatter="prettyDate" sortable :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="Actions" fixed="right" align="right">
<template slot-scope="scope">
<el-button size="mini" type="danger" @click.stop="revokeKeyAsk(scope.row.name)">Revoke</el-button>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment