2022-02-18 05:48:32 +01:00
|
|
|
@section('title') {{'Enter new reseller hosting'}} @endsection
|
|
|
|
<x-app-layout>
|
|
|
|
<x-slot name="header">
|
|
|
|
{{ __('Insert a new reseller hosting') }}
|
|
|
|
</x-slot>
|
|
|
|
<div class="container">
|
|
|
|
<div class="card shadow mt-3">
|
|
|
|
<div class="card-body">
|
|
|
|
<h4 class="mb-3">Reseller hosting information</h4>
|
|
|
|
<x-auth-validation-errors></x-auth-validation-errors>
|
|
|
|
<a href="{{ route('reseller.index') }}"
|
|
|
|
class="btn btn-primary py-0 px-4 mb-4">
|
|
|
|
Go back
|
|
|
|
</a>
|
|
|
|
<form action="{{ route('reseller.store') }}" method="POST">
|
|
|
|
@csrf
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-prepend"><span class="input-group-text">Domain</span></div>
|
|
|
|
<input type="text"
|
|
|
|
class="form-control"
|
|
|
|
name="domain">
|
|
|
|
@error('name') <span class="text-red-500">{{ $message }}
|
|
|
|
</span>@enderror
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-prepend"><span class="input-group-text">Type</span></div>
|
|
|
|
<select class="form-control" name="reseller_type">
|
|
|
|
<option value="ApisCP">ApisCP</option>
|
|
|
|
<option value="Centos">Centos</option>
|
|
|
|
<option value="cPanel" selected="">cPanel</option>
|
|
|
|
<option value="Direct Admin">Direct Admin</option>
|
|
|
|
<option value="Webmin">Webmin</option>
|
|
|
|
<option value="Moss">Moss</option>
|
|
|
|
<option value="Other">Other</option>
|
|
|
|
<option value="Plesk">Plesk</option>
|
|
|
|
<option value="Run cloud">Run cloud</option>
|
|
|
|
<option value="Vesta CP">Vesta CP</option>
|
|
|
|
<option value="Virtual min">Virtual min</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-02-22 05:59:30 +01:00
|
|
|
<div class="col-12 col-md-6 mb-3">
|
2022-03-03 01:53:15 +01:00
|
|
|
<x-text-input>
|
|
|
|
<x-slot name="title">Dedicated IP</x-slot>
|
|
|
|
<x-slot name="name">dedicated_ip</x-slot>
|
|
|
|
<x-slot name="max">255</x-slot>
|
|
|
|
</x-text-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3 mb-3">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-providers-select>
|
|
|
|
<x-slot name="current">1</x-slot>
|
|
|
|
</x-providers-select>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-md-3 mb-3">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
|
|
|
<x-slot name="title">Price</x-slot>
|
|
|
|
<x-slot name="name">price</x-slot>
|
|
|
|
<x-slot name="value">2.50</x-slot>
|
|
|
|
<x-slot name="max">9999</x-slot>
|
|
|
|
<x-slot name="step">0.01</x-slot>
|
|
|
|
<x-slot name="required"></x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-md-3 mb-3">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-term-select></x-term-select>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-md-3 mb-3">
|
2022-03-05 04:13:48 +01:00
|
|
|
<x-currency-select>
|
2022-03-05 14:54:56 +01:00
|
|
|
<x-slot name="current">{{Session::get('default_currency')}}</x-slot>
|
2022-03-05 04:13:48 +01:00
|
|
|
</x-currency-select>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-2">
|
|
|
|
<div class="col-12 col-md-3 mb-3">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-locations-select>
|
|
|
|
<x-slot name="current">1</x-slot>
|
|
|
|
</x-locations-select>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-3 mb-3">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-yes-no-select>
|
|
|
|
<x-slot name="title">Was promo</x-slot>
|
|
|
|
<x-slot name="name">was_promo</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
</x-yes-no-select>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-3 mb-3">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-date-input>
|
|
|
|
<x-slot name="title">Owned since</x-slot>
|
|
|
|
<x-slot name="name">owned_since</x-slot>
|
|
|
|
<x-slot name="value">{{Carbon\Carbon::now()->format('Y-m-d') }}</x-slot>
|
|
|
|
</x-date-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-3 mb-3">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-date-input>
|
|
|
|
<x-slot name="title">Next due date</x-slot>
|
|
|
|
<x-slot name="name">next_due_date</x-slot>
|
|
|
|
<x-slot name="value">{{Carbon\Carbon::now()->addDays(30)->format('Y-m-d') }}</x-slot>
|
|
|
|
</x-date-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2022-03-02 04:47:27 +01:00
|
|
|
<p class="text-muted"><b>Limits</b></p>
|
2022-02-18 05:48:32 +01:00
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
|
|
|
<x-slot name="title">Accounts</x-slot>
|
|
|
|
<x-slot name="name">accounts</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
<x-slot name="max">999999</x-slot>
|
|
|
|
<x-slot name="step">1</x-slot>
|
|
|
|
<x-slot name="value">10</x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
|
|
|
<x-slot name="title">Domains</x-slot>
|
|
|
|
<x-slot name="name">domains</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
<x-slot name="max">999999</x-slot>
|
|
|
|
<x-slot name="step">1</x-slot>
|
|
|
|
<x-slot name="value">10</x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
|
|
|
<x-slot name="title">Sub domains</x-slot>
|
|
|
|
<x-slot name="name">sub_domains</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
<x-slot name="max">999999</x-slot>
|
|
|
|
<x-slot name="step">1</x-slot>
|
|
|
|
<x-slot name="value">20</x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
|
|
|
<x-slot name="title">Disk GB</x-slot>
|
|
|
|
<x-slot name="name">disk</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
<x-slot name="max">999999</x-slot>
|
|
|
|
<x-slot name="step">1</x-slot>
|
|
|
|
<x-slot name="value">50</x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
|
|
|
<x-slot name="title">Email</x-slot>
|
|
|
|
<x-slot name="name">Email</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
<x-slot name="max">999999</x-slot>
|
|
|
|
<x-slot name="step">1</x-slot>
|
|
|
|
<x-slot name="value">100</x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
|
|
|
<x-slot name="title">Bandwidth GB</x-slot>
|
|
|
|
<x-slot name="name">bandwidth</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
<x-slot name="max">999999</x-slot>
|
|
|
|
<x-slot name="step">1</x-slot>
|
|
|
|
<x-slot name="value">500</x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
2022-03-03 01:53:15 +01:00
|
|
|
<x-slot name="title">FTP</x-slot>
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-slot name="name">ftp</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
<x-slot name="max">999999</x-slot>
|
|
|
|
<x-slot name="step">1</x-slot>
|
|
|
|
<x-slot name="value">100</x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
2022-03-02 04:47:27 +01:00
|
|
|
<x-number-input>
|
|
|
|
<x-slot name="title">DB</x-slot>
|
|
|
|
<x-slot name="name">db</x-slot>
|
|
|
|
<x-slot name="value">1</x-slot>
|
|
|
|
<x-slot name="max">999999</x-slot>
|
|
|
|
<x-slot name="step">1</x-slot>
|
|
|
|
<x-slot name="value">100</x-slot>
|
|
|
|
</x-number-input>
|
2022-02-18 05:48:32 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-01 15:36:59 +01:00
|
|
|
<div class="row mb-3">
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
|
|
|
<x-labels-select>
|
|
|
|
<x-slot name="title">label</x-slot>
|
|
|
|
<x-slot name="name">label1</x-slot>
|
|
|
|
</x-labels-select>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
|
|
|
<x-labels-select>
|
|
|
|
<x-slot name="title">label</x-slot>
|
|
|
|
<x-slot name="name">label2</x-slot>
|
|
|
|
</x-labels-select>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
|
|
|
<x-labels-select>
|
|
|
|
<x-slot name="title">label</x-slot>
|
|
|
|
<x-slot name="name">label3</x-slot>
|
|
|
|
</x-labels-select>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-3 mb-4">
|
|
|
|
<x-labels-select>
|
|
|
|
<x-slot name="title">label</x-slot>
|
|
|
|
<x-slot name="name">label4</x-slot>
|
|
|
|
</x-labels-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-02-18 05:48:32 +01:00
|
|
|
<div>
|
|
|
|
<button type="submit"
|
|
|
|
class="btn btn-success py-0 px-4 mt-2">
|
|
|
|
Insert Reseller hosting
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</x-app-layout>
|