Client in Webinterface anzeigen #80 #211

Merged
edraft merged 3 commits from #80_show_info_of_client into 1.0.0 2023-02-19 18:02:45 +01:00
2 changed files with 17 additions and 9 deletions
Showing only changes of commit b615f2608f - Show all commits

View File

@ -1,34 +1,34 @@
<div class="client">
<div class="client-info">
<label class="client-info-header">Id: </label>
<label class="client-info-header">{{'view.server.dashboard.id' | translate}}</label>
<label class="client-info-value">{{client.id}}</label>
</div>
<div class="client-info">
<label class="client-info-header">Discord Id: </label>
<label class="client-info-header">{{'view.server.dashboard.discord_id' | translate}}</label>
<label class="client-info-value">{{client.discordId}}</label>
</div>
<div class="client-info">
<label class="client-info-header">Name: </label>
<label class="client-info-header">{{'view.server.dashboard.name' | translate}}</label>
<label class="client-info-value">{{client.name}}</label>
</div>
<div class="client-info">
<label class="client-info-header">Send Message Count: </label>
<label class="client-info-header">{{'view.server.dashboard.sent_message_count' | translate}}</label>
<label class="client-info-value">{{client.sentMessageCount}}</label>
</div>
<div class="client-info">
<label class="client-info-header">Received Message Count: </label>
<label class="client-info-header">{{'view.server.dashboard.received_message_count' | translate}}</label>
<label class="client-info-value">{{client.receivedMessageCount}}</label>
</div>
<div class="client-info">
<label class="client-info-header">Deleted Message Count: </label>
<label class="client-info-header">{{'view.server.dashboard.deleted_message_count' | translate}}</label>
<label class="client-info-value">{{client.deletedMessageCount}}</label>
</div>
<div class="client-info">
<label class="client-info-header">Received Command Count: </label>
<label class="client-info-header">{{'view.server.dashboard.received_command_count' | translate}}</label>
<label class="client-info-value">{{client.receivedCommandCount}}</label>
</div>
<div class="client-info">
<label class="client-info-header">Moved Users Count: </label>
<label class="client-info-header">{{'view.server.dashboard.moved_users_count' | translate}}</label>
<label class="client-info-value">{{client.movedUsersCount}}</label>
</div>
</div>

View File

@ -158,7 +158,15 @@
"server": {
"header": "Server",
"dashboard": {
"header": "Server dashboard"
"header": "Server dashboard",
"id": "Id",
"discord_id": "Discord Id",
"name": "Name",
"sent_message_count": "Gesendete Nachrichten",
"received_message_count": "Empfangene Nachrichten",
"deleted_message_count": "Gelöschte Nachrichten",
"received_command_count": "Empfangene Befehle",
"moved_users_count": "Verschobene Benutzer"
},
"profile": {
"header": "Dein Profil",