From 026643a7e03330d7e4ad1dfe2d6188595b3c4d51 Mon Sep 17 00:00:00 2001 From: cp6 Date: Wed, 2 Mar 2022 15:00:09 +1100 Subject: [PATCH] Updated shared create & edit for blade components Updated shared create & edit for blade components --- resources/views/shared/create.blade.php | 191 ++++++++++----------- resources/views/shared/edit.blade.php | 217 ++++++++++-------------- 2 files changed, 185 insertions(+), 223 deletions(-) diff --git a/resources/views/shared/create.blade.php b/resources/views/shared/create.blade.php index ee86da5..d0d6df7 100644 --- a/resources/views/shared/create.blade.php +++ b/resources/views/shared/create.blade.php @@ -45,7 +45,8 @@
-
Has dedicated IP
+
Has dedicated IP +
-
-
Provider
-
+ + 1 +
-
-
Price
-
+ + Price + price + 2.50 + 9999 + 0.01 + +
-
-
Term
-
+
-
-
Currency
-
+
-
-
- Location -
- -
+ + 1 +
-
-
Was promo
-
+ + Was promo + was_promo + 1 +
-
-
- Owned since -
-
+ + Owned since + owned_since + {{Carbon\Carbon::now()->format('Y-m-d') }} +
-
-
-
Next due date -
- -
+
+ + Next due date + next_due_date + {{Carbon\Carbon::now()->addDays(30)->format('Y-m-d') }} +
-

Limits:

+

Limits

-
-
Domains
- -
+ + Domains + domains + 1 + 999999 + 1 + 10 +
-
-
Sub domains
- -
+ + Sub domains + sub_domains + 1 + 999999 + 1 + 20 +
-
-
Disk
- -
GB
-
+ + Disk GB + disk + 1 + 999999 + 1 + 50 +
-
-
Email
- -
+ + Email + Email + 1 + 999999 + 1 + 100 +
-
-
Bandwidth -
- -
GB
-
+ + Bandwidth GB + bandwidth + 1 + 999999 + 1 + 500 +
-
-
FTP
- -
+ + ftp + ftp + 1 + 999999 + 1 + 100 +
-
-
DB
- -
+ + DB + db + 1 + 999999 + 1 + 100 +
diff --git a/resources/views/shared/edit.blade.php b/resources/views/shared/edit.blade.php index 5737415..36dbfda 100644 --- a/resources/views/shared/edit.blade.php +++ b/resources/views/shared/edit.blade.php @@ -86,164 +86,132 @@
-
-
Provider
-
+ + {{$shared[0]->provider_id}} +
-
-
Price
-
+ + Price + price + {{$shared[0]->price}} + 9999 + 0.01 + +
-
-
Term
-
+ + {{$shared[0]->term}} +
-
-
Currency
-
+ + {{$shared[0]->currency}} +
-
-
- Location -
- -
+ + {{$shared[0]->location_id}} +
-
-
Was promo
-
+ + Promo price + was_promo + {{ $shared[0]->was_promo }} +
-
-
- Owned since -
-
+ + Owned since + owned_since + {{$shared[0]->owned_since }} +
-
-
Next due date -
- -
+ + Next due date + next_due_date + {{$shared[0]->next_due_date }} +
-

Limits:

+

Limits

-
-
Domains
- -
+ + Domains + domains + 1 + 999999 + 1 + {{$shared[0]->domains_limit}} +
-
-
Sub domains
- -
+ + Sub domains + sub_domains + 1 + 999999 + 1 + {{$shared[0]->subdomains_limit}} +
-
-
Disk
- -
GB
-
+ + Disk GB + disk + 1 + 999999 + 1 + {{$shared[0]->disk_as_gb}} +
-
-
Email
- -
+ + Email + Email + 1 + 999999 + 1 + {{$shared[0]->email_limit}} +
-
-
Bandwidth -
- -
GB
-
+ + Bandwidth GB + bandwidth + 1 + 999999 + 1 + {{$shared[0]->bandwidth}} +
-
-
FTP
- -
+ + ftp + ftp + 1 + 999999 + 1 + {{$shared[0]->ftp_limit}} +
-
-
DB
- -
+ + DB + db + 1 + 999999 + 1 + {{$shared[0]->db_limit}} +
@@ -291,7 +259,6 @@ I still have this server
-