Add users, teams, authentication, profile/login/register/navbar views
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<div>
|
||||
<div>
|
||||
<label for="command">
|
||||
<input class="py-2 rounded ring-1" id="command" wire:model="command" type="text" />
|
||||
<input autofocus class="py-2 rounded ring-1" id="command" wire:model="command" type="text"
|
||||
wire:keydown.enter="runCommand" />
|
||||
</label>
|
||||
<button wire:click="runCommand">Run command</button>
|
||||
|
||||
@@ -20,8 +21,7 @@
|
||||
<div>
|
||||
Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
|
||||
</div>
|
||||
<pre style="width: 100%;overflow-y: scroll;"
|
||||
@if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif>{{ data_get($activity, 'description') }}</pre>
|
||||
<pre style="width: 100%;overflow-y: scroll;" @if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif>{{ data_get($activity, 'description') }}</pre>
|
||||
<div>
|
||||
<div>Details:</div>
|
||||
<pre style="width: 100%;overflow-y: scroll;">{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
|
||||
|
||||
6
resources/views/livewire/switch-team.blade.php
Normal file
6
resources/views/livewire/switch-team.blade.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<div>
|
||||
@foreach (auth()->user()->otherTeams() as $team)
|
||||
<button wire:key="{{ $team->id }}" wire:click="switch_to('{{ $team->id }}')">Switch to:
|
||||
{{ $team->name }}</button>
|
||||
@endforeach
|
||||
</div>
|
||||
Reference in New Issue
Block a user