1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

Implemented new response alert component into views

Implemented new response alert component into views
This commit is contained in:
cp6 2022-10-13 14:36:21 +11:00
parent c52a55dd5a
commit 3b35cae875
24 changed files with 24 additions and 26 deletions

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('dns.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('dns.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('dns.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('dns.update', $dn->id) }}" method="POST">
@csrf
@method('PUT')

View File

@ -14,7 +14,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('dns.create') }}" class="btn btn-primary mb-3">Add DNS</a>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="table-light">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('domains.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('domains.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('domains.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('domains.update', $domain_info->id) }}" method="POST">
@csrf
@method('PUT')

View File

@ -14,7 +14,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('domains.create') }}" class="btn btn-primary mb-3">Add a domain</a>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="table-light">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('IPs.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('IPs.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -17,7 +17,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('IPs.create') }}" class="btn btn-primary mb-3">Add IP</a>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<div class="table-responsive">
<table class="table table-bordered" id="ips-table">
<thead class="table-light">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('labels.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('labels.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -17,7 +17,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('labels.create') }}" class="btn btn-primary mb-3">Add a label</a>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<table class="table table-bordered" id="labels-table">
<thead class="table-light">
<tr>

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('locations.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('locations.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -17,7 +17,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('locations.create') }}" class="btn btn-primary mb-3">Add a location</a>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<table class="table table-bordered" id="locations-table">
<thead class="table-light">
<tr class="bg-gray-100">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('misc.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('misc.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('misc.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('misc.update', $misc_data->id) }}" method="POST">
@csrf
@method('PUT')

View File

@ -14,7 +14,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('misc.create') }}" class="btn btn-primary mb-3">Add misc service</a>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="table-light">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('os.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('os.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -17,7 +17,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('os.create') }}" class="btn btn-primary mb-3">Add an OS</a>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<table class="table table-bordered" id="os-table">
<thead class="table-light">
<tr class="bg-gray-100">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('providers.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('providers.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -17,7 +17,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('providers.create') }}" class="btn btn-primary mb-3">Add a provider</a>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<table class="table table-bordered" id="providers-table">
<thead class="table-light">
<tr class="bg-gray-100">

View File

@ -14,7 +14,7 @@
<x-slot name="href">{{ route('servers.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('servers.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -12,7 +12,7 @@
<x-slot name="href">{{ route('servers.index') }}</x-slot>
Back to servers
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('servers.update', $server_data->id) }}" method="POST">
@csrf
@method('PUT')

View File

@ -12,6 +12,7 @@
</x-slot>
<div class="container" id="app">
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-response-alerts></x-response-alerts>
<ul class="nav nav-tabs mt-3" id="myTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home" type="button"
@ -32,7 +33,6 @@
<a href="{{ route('servers-compare-choose') }}" class="btn btn-primary mb-3 ms-2">Compare
servers</a>
<a href="{{ route('yabs.create') }}" class="btn btn-primary mb-3 ms-2">Add a YABs</a>
<x-success-alert></x-success-alert>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="table-light">
@ -118,7 +118,6 @@
<a href="{{ route('servers.create') }}" class="btn btn-primary mb-3">Add server</a>
<a href="{{ route('servers-compare-choose') }}" class="btn btn-primary mb-3 ms-2">Compare
servers</a>
<x-success-alert></x-success-alert>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="table-light">

View File

@ -10,7 +10,7 @@
<x-slot name="href">{{ route('yabs.index') }}</x-slot>
Go back
</x-back-button>
<x-errors-alert></x-errors-alert>
<x-response-alerts></x-response-alerts>
<form action="{{ route('yabs.store') }}" method="POST">
@csrf
<div class="row">

View File

@ -14,8 +14,7 @@
<x-delete-confirm-modal></x-delete-confirm-modal>
<x-card class="shadow mt-3">
<a href="{{ route('yabs.compare-choose') }}" class="btn btn-success mb-3">Compare YABs</a>
<x-errors-alert></x-errors-alert>
<x-success-alert></x-success-alert>
<x-response-alerts></x-response-alerts>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="table-light">