Archived
2
0

js lint fix.

This commit is contained in:
Miroslav Šedivý 2021-08-15 16:43:59 +02:00
parent 523831237d
commit 89f4e697c2

View File

@ -47,10 +47,19 @@
<li class="broadcast" v-if="admin"> <li class="broadcast" v-if="admin">
<div> <div>
<span>{{ $t('setting.broadcast_title') }}</span> <span>{{ $t('setting.broadcast_title') }}</span>
<button v-if="!broadcast_is_active" @click.stop.prevent="$accessor.settings.broadcastCreate(broadcast_url)"><i class="fas fa-play"></i></button> <button v-if="!broadcast_is_active" @click.stop.prevent="$accessor.settings.broadcastCreate(broadcast_url)">
<button v-else @click.stop.prevent="$accessor.settings.broadcastDestroy()" class="btn-red"><i class="fas fa-stop"></i></button> <i class="fas fa-play"></i>
</button>
<button v-else @click.stop.prevent="$accessor.settings.broadcastDestroy()" class="btn-red">
<i class="fas fa-stop"></i>
</button>
</div> </div>
<input v-model="broadcast_url" :disabled="broadcast_is_active" class="input" placeholder="rtmp://a.rtmp.youtube.com/live2/<stream-key>" /> <input
v-model="broadcast_url"
:disabled="broadcast_is_active"
class="input"
placeholder="rtmp://a.rtmp.youtube.com/live2/<stream-key>"
/>
</li> </li>
<li v-if="connected"> <li v-if="connected">
<button @click.stop.prevent="logout">{{ $t('logout') }}</button> <button @click.stop.prevent="logout">{{ $t('logout') }}</button>