Skip to content

Commit 9dd2524

Browse files
committed
feat: removed unneccessary feature
1 parent 7550b2c commit 9dd2524

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

resources/views/livewire/auth/create-monitor.blade.php

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -119,25 +119,25 @@ public function switchTo()
119119
<div class="w-2 h-1 bg-primary-blue"></div>
120120
<div class="w-[30px] h-[30px] bg-primary-blue rounded-full"></div>
121121
</div>
122-
122+
123123
<div class="px-10 pt-8 pb-8 mx-auto w-96 max-w-full bg-white rounded-lg border border-border-color">
124124
<h1 class="mb-8 text-6xl uppercase font-koulen text-primary-blue">Create Monitor</h1>
125-
125+
126126
<form wire:submit.prevent="create" class="flex flex-col gap-2">
127127
<sl-input size="medium" required wire:model.defer="project_url" placeholder="Your Project URL" type="text"></sl-input>
128128
<sl-input size="medium" wire:model.defer="pat_token" placeholder="Your PAT Token (Optional)" type="text"></sl-input>
129129
<sl-switch class="pt-1 text-secondary-grey" size="medium" wire:click="switchTo()">Open Source</sl-switch>
130-
130+
131131
<div class="flex justify-between items-end mt-5">
132132
<a class="text-sm no-underline text-primary-blue hover:underline"
133133
href="{{ url('join') }}">
134134
Already have a monitor?
135135
</a>
136-
136+
137137
<sl-button size="medium" wire:click="on_create">Create</sl-button>
138138
</div>
139139
</form>
140-
140+
141141
@if($create_monitor_error)
142142
<sl-alert variant="danger" open closable class="mt-4">
143143
<sl-icon wire:ignore slot="icon" name="patch-exclamation"></sl-icon>
@@ -147,22 +147,8 @@ public function switchTo()
147147
@endif
148148
</div>
149149
</div>
150-
151-
<div class="p-4 w-96 max-w-full bg-white border shadow-lg dark:bg-gray-800 border-border-color sm:rounded-lg">
152-
<h2 class="mb-2 text-lg font-semibold">Monitor Logs</h2>
153-
<div wire:poll.100ms="pollLogs" class="overflow-y-auto p-2 h-64 rounded-md">
154-
<ul class="space-y-1">
155-
@foreach ($logs as $log)
156-
<li class="text-sm p-1 rounded-md
157-
{{ $log['level'] === 'error' ? 'text-additional-red' :
158-
($log['level'] === 'warning' ? 'text-additional-orange' :
159-
($log['level'] === 'success' ? 'text-additional-green' : 'bg-gray-700')) }}">
160-
<strong>[{{ strtoupper($log['level']) }}]</strong> {{ $log['message'] }}
161-
</li>
162-
@endforeach
163-
</ul>
164-
</div>
165-
</div>
150+
151+
166152
</div>
167153

168154
<script>

0 commit comments

Comments
 (0)