Skip to content

Commit

Permalink
Add stub for eventlog
Browse files Browse the repository at this point in the history
Signed-off-by: Knut Ahlers <knut@ahlers.me>
  • Loading branch information
Luzifer committed Jul 13, 2024
1 parent 75085da commit 20b5096
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="row mt-3">
<div class="col">
<!-- Here Bot-Logs: #44 -->
<DashboardEventlog />
</div>
<div class="col">
<DashboardChangelog />
Expand All @@ -28,6 +28,7 @@
import DashboardActiveRaffles from './dashboard/activeRaffles.vue'
import DashboardBotScopes from './dashboard/scopes.vue'
import DashboardChangelog from './dashboard/changelog.vue'
import DashboardEventlog from './dashboard/eventlog.vue'
import DashboardHealthCheck from './dashboard/healthcheck.vue'
import { defineComponent } from 'vue'
Expand All @@ -36,6 +37,7 @@ export default defineComponent({
DashboardActiveRaffles,
DashboardBotScopes,
DashboardChangelog,
DashboardEventlog,
DashboardHealthCheck,
},
Expand Down
20 changes: 20 additions & 0 deletions src/components/dashboard/eventlog.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<template>
<div class="card user-select-none">
<div class="card-header">
{{ $t('dashboard.eventlog.heading') }}
</div>
<div
class="card-body"
>
Coming soon…
</div>
</div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
name: 'DashboardEventlog',
})
</script>
3 changes: 3 additions & 0 deletions src/langs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"fullLink": "See full changelog in [History.md](https://github.com/Luzifer/twitch-bot/blob/master/History.md) on Github",
"heading": "Changelog"
},
"eventlog": {
"heading": "Eventlog"
},
"healthCheck": {
"caption": "Checks OK",
"header": "Bot-Health"
Expand Down

0 comments on commit 20b5096

Please sign in to comment.