-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #346 from yungifez/dev
Slight UI improvements and fixes, default semester now being created
- Loading branch information
Showing
13 changed files
with
61 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<button @class(["$class bg-blue-600 hover:bg-opacity-90 active:bg-opacity-70 text-white py-2 px-4 border-2 dark:border-0 rounded my-3"] ) {{$attributes}}> | ||
<button @class(["$class $colour hover:bg-opacity-90 active:bg-opacity-70 py-2 px-4 border-2 dark:border-0 rounded my-3"] ) {{$attributes}}> | ||
<i class="{{$icon}}" aria-hidden="true"></i> | ||
{{$slot}} {{$label}} | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
resources/views/components/partials/authentication-card.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@props([ | ||
'id' => null, | ||
'name' => null, | ||
'labelCheckedText' => null, | ||
'labelUncheckedText' => null, | ||
'groupClass' => null, | ||
]) | ||
<div class="{{ $groupClass }}"> | ||
<label class=" inline-flex items-center cursor-pointer" x-data="{'checked' : '{{$attributes->has('checked') && $attributes->get('checked') != false ? true : false}}' ?? false, 'labelText' : null}" x-modelable="checked" @if ($attributes->has('x-model')) x-model="{{$attributes->get('x-model')}}" @endif x-effect="checked == true ? labelText = '{{$labelCheckedText}}' : labelText = '{{$labelUncheckedText}}'"> | ||
<div class="relative"> | ||
<input type="hidden" name="{{$name}}" :value="checked == true ? '1' : '0'"> | ||
<input type="checkbox" class="sr-only peer" {{$attributes}} id="{{$id}}" x-model="checked"/> | ||
<div class="w-11 h-6 bg-gray-300 dark:bg-gray-500 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-600"></div> | ||
</div> | ||
<span class="ml-3 text-sm font-medium text-gray-900 dark:text-gray-50" x-text="labelText"></span> | ||
</label> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters