Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a78b699a5e | |||
| a482ab3c7e | |||
| c580882ec0 |
@@ -9,7 +9,7 @@
|
||||
<div class="form">
|
||||
<h2 class="mb-5">Enter Lucent</h2>
|
||||
|
||||
<form hx-post="/lucent/login" >
|
||||
<form hx-post="{{url('lucent/login')}}" >
|
||||
@csrf
|
||||
<p>Submit your email address and you will receive a <b>login link</b> to your email</p>
|
||||
<p>Don't forget to check your spam folder</p>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="form">
|
||||
<h2 class="mb-5">Welcome to Lucent</h2>
|
||||
|
||||
<form hx-post="/lucent/verify" hx-redirect="/lucent" hx-target-error=".form-errors" >
|
||||
<form hx-post="{{url('lucent/verify')}}" hx-redirect="{{url('lucent')}}" hx-target-error=".form-errors" >
|
||||
<input type="hidden" value="{{$email}}" name="email" />
|
||||
<input type="hidden" value="{{$token}}" name="token" />
|
||||
@csrf
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
@endif
|
||||
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="{{url('favicon.ico'}}">
|
||||
<link rel="icon" type="image/x-icon" href="{{url('favicon.ico')}}">
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
<script type="module" crossorigin src="http://127.0.0.1:5173/main.js"></script>
|
||||
@endif
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="{{url('favicon.ico'}}">
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="{{url('favicon.ico')}}">
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ readonly class GreaterThan implements IBuilderConverter
|
||||
return $builder->orWhere($this->argument->field, ">", $this->formatValue());
|
||||
}
|
||||
|
||||
private function formatValue(): int|float
|
||||
private function formatValue(): int|float|string
|
||||
{
|
||||
$value = trim($this->argument->value);
|
||||
if (is_numeric($value)) {
|
||||
|
||||
@@ -23,7 +23,7 @@ readonly class GreaterThanEquals implements IBuilderConverter
|
||||
return $builder->orWhere($this->argument->field, ">=", $this->formatValue());
|
||||
}
|
||||
|
||||
private function formatValue(): int|float
|
||||
private function formatValue(): int|float|string
|
||||
{
|
||||
$value = trim($this->argument->value);
|
||||
if (is_numeric($value)) {
|
||||
|
||||
@@ -23,7 +23,7 @@ readonly class LessThan implements IBuilderConverter
|
||||
return $builder->orWhere($this->argument->field, "<", $this->formatValue());
|
||||
}
|
||||
|
||||
private function formatValue(): int|float
|
||||
private function formatValue(): int|float|string
|
||||
{
|
||||
$value = trim($this->argument->value);
|
||||
if (is_numeric($value)) {
|
||||
|
||||
@@ -23,7 +23,7 @@ readonly class LessThanEquals implements IBuilderConverter
|
||||
return $builder->orWhere($this->argument->field, "<=", $this->formatValue());
|
||||
}
|
||||
|
||||
private function formatValue(): int|float
|
||||
private function formatValue(): int|float|string
|
||||
{
|
||||
$value = trim($this->argument->value);
|
||||
if (is_numeric($value)) {
|
||||
|
||||
Reference in New Issue
Block a user