1
0
This repository has been archived on 2021-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ttv-streamkit/resources/views/me/dashboard.blade.php

24 lines
726 B
PHP

@extends("layouts.app")
@section("title", "Dashboard")
@section("content")
<div class="uk-container">
<h3 class="uk-text-center">Dashboard</h3>
<h2>Available events</h2>
<stream-event
sub-unsub-url="{{ route("hooks.twitch.subscribe") }}"
save-hook-url="{{ route("hooks.twitch.action.add") }}"
send-test-message-url="{{ route("hooks.twitch.action.test.discord") }}"
v-bind:active="{{ ($streamHook && !($streamHook->disabled || $streamHook->disabled_at)) ? 'true' : 'false' }}"
discord-webhook-message="{{ ($streamHook && $streamHook->discordWebhookMessage()->first()) ? $streamHook->discordWebhookMessage()->first() : "{}" }}"
></stream-event>
</div>
@endsection