saving progress
This commit is contained in:
parent
ca38fce1af
commit
24ee173326
12 changed files with 286 additions and 202 deletions
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
|
||||
|
||||
"Activity Logs": "Aktivitäts logs",
|
||||
"No recent activity from cronjobs": "Keine neuen aktivitäten von Cronjobs",
|
||||
"Check the docs for it here": "Zur Dokumentation",
|
||||
|
@ -20,6 +18,73 @@
|
|||
"Dashboard": "Dashboard",
|
||||
"Key": "Schlüssel",
|
||||
"Value": "Wert",
|
||||
"Type": "Typ"
|
||||
"Type": "Typ",
|
||||
|
||||
"Admin Overview": "Admin Übersicht",
|
||||
"Support server": "Discord Server",
|
||||
"Documentation": "Dokumentation",
|
||||
"Github": "Github",
|
||||
"Support ControlPanel": "Unterstütze Controlpanel.gg",
|
||||
"Servers": "Server",
|
||||
"Users": "Benutzer",
|
||||
"Total": "Gesamt",
|
||||
"Payments": "Zahlungen",
|
||||
"Pterodactyl": "Pterodactyl",
|
||||
"Sync": "Sync",
|
||||
"Resources": "Ressourcen",
|
||||
"Count": "Anzahl",
|
||||
"Locations": "Standorte",
|
||||
"Nodes": "Nodes",
|
||||
"Nests": "Nests",
|
||||
"Eggs": "Eggs",
|
||||
"Last updated :date": "Zuletzt aktualisiert :date",
|
||||
|
||||
"ID": "ID",
|
||||
"User": "Benutzer",
|
||||
"Amount": "Anzahl",
|
||||
"Product Price": "Produktpreis",
|
||||
"Tax": "Steuer",
|
||||
"Total Price": "Gesamtpreis",
|
||||
"Payment_ID": "Zahlungs-ID",
|
||||
"Payer_ID": "Käufer-ID",
|
||||
|
||||
"Products": "Produkte",
|
||||
"Create": "Erstellen",
|
||||
"Product Details": "Produktdetails",
|
||||
"Product Linking": "Produktbeziehungen",
|
||||
"Name": "Name",
|
||||
"Price in": "Preis in ",
|
||||
"Memory": "Arbeitsspeicher",
|
||||
"Cpu": "Prozessorleistung",
|
||||
"Swap": "Swap",
|
||||
"Disk": "Festplatte",
|
||||
"Minimum": "Mindest",
|
||||
"IO": "IO",
|
||||
"Databases": "Datenbanken",
|
||||
"Backups": "Backups",
|
||||
"Allocations": "Port Zuweisungen",
|
||||
"Disabled": "Deaktiviert",
|
||||
"Submit": "Abschicken",
|
||||
"This product will only be available for these nodes": "Dieses Produkt wurd nur für die ausgewählten Nodes verfügbar sein",
|
||||
"This product will only be available for these eggs": "Dieses Produkt wurd nur für die ausgewählten Eggs verfügbar sein",
|
||||
"Will hide this option from being selected": "Wird dieses Produkt nicht zum Kauf zur Verfügung stellen",
|
||||
"Link your products to nodes and eggs to create dynamic pricing for each option": "Verbinde deine Produkte mit Nodes und Eggs um ein dynamisches Preismodell zu erstellen",
|
||||
"Setting to -1 will use the value from configuration.": "Benutzt den Standard, wenn der Wert auf -1 gesetzt wird",
|
||||
"This is what the users sees": "Das wird der Benutzer sehen",
|
||||
"Edit": "Bearbeiten",
|
||||
|
||||
"Price": "Preis",
|
||||
"Are you sure you wish to delete?": "Sicher, dass du dies löschen möchtest?",
|
||||
"Create new": "Neu erstellen",
|
||||
"Show": "Zeige",
|
||||
"Updated at": "Aktualisiert",
|
||||
"Suspended at": "Suspendiert",
|
||||
|
||||
"Settings": "Einstellungen",
|
||||
"Dashboard icons": "Dashboard Icons",
|
||||
"Select panel icon": "Icon auswählen",
|
||||
"Select panel favicon": "Favicon auswählen"
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
<!--
|
||||
THIS FILE IS DEPRECATED
|
||||
-->
|
||||
|
||||
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('content')
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
<!--
|
||||
THIS FILE IS DEPRECATED
|
||||
-->
|
||||
|
||||
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('content')
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Admin Overview</h1>
|
||||
<h1>{{__('Admin Overview')}}</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">{{__('Dashboard')}}</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-muted"
|
||||
href="{{route('admin.overview.index')}}">Admin Overview</a></li>
|
||||
href="{{route('admin.overview.index')}}">{{__('Admin Overview')}}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Payments</h1>
|
||||
<h1>{{__('Payments')}}</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-muted" href="{{route('admin.payments.index')}}">Payments</a>
|
||||
<li class="breadcrumb-item"><a class="text-muted" href="{{route('admin.payments.index')}}">{{__('Payments')}}</a>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
@ -26,24 +26,24 @@
|
|||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title"><i class="fas fa-money-bill-wave mr-2"></i>Payments</h5>
|
||||
<h5 class="card-title"><i class="fas fa-money-bill-wave mr-2"></i>{{__('Payments')}}</h5>
|
||||
</div>
|
||||
|
||||
<div class="card-body table-responsive">
|
||||
<table id="datatable" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>User</th>
|
||||
<th>Type</th>
|
||||
<th>Amount</th>
|
||||
<th>Product Price</th>
|
||||
<th>Tax</th>
|
||||
<th>Tax(%)</th>
|
||||
<th>Total Price</th>
|
||||
<th>Payment_ID</th>
|
||||
<th>Payer_ID</th>
|
||||
<th>Created at</th>
|
||||
<th>{{__('ID')}}</th>
|
||||
<th>{{__('User')}}</th>
|
||||
<th>{{__('Type')}}</th>
|
||||
<th>{{__('Amount')}}</th>
|
||||
<th>{{__('Product Price')}}</th>
|
||||
<th>{{__('Tax')}}</th>
|
||||
<th>{{__('Tax')}}(%)</th>
|
||||
<th>{{__('Total Price')}}</th>
|
||||
<th>{{__('Payment_ID')}}</th>
|
||||
<th>{{__('Payer_ID')}}</th>
|
||||
<th>{{__('Created at')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
|
@ -6,14 +6,15 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Products</h1>
|
||||
<h1>{{__('Products')}}</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{ route('home') }}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('admin.products.index') }}">Products</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('home') }}">{{__('Dashboard')}}</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('admin.products.index') }}">{{__('Products')}}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item"><a class="text-muted"
|
||||
href="{{ route('admin.products.create') }}">Create</a>
|
||||
href="{{ route('admin.products.create') }}">{{__('Create')}}</a>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
@ -31,7 +32,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title">Product Details</h5>
|
||||
<h5 class="card-title">{{__('Product Details')}}</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
@ -39,9 +40,9 @@
|
|||
<div class="custom-control custom-switch">
|
||||
<input type="checkbox" name="disabled"
|
||||
class="custom-control-input custom-control-input-danger" id="switch1">
|
||||
<label class="custom-control-label" for="switch1">Disabled <i
|
||||
<label class="custom-control-label" for="switch1">{{__('Disabled')}} <i
|
||||
data-toggle="popover" data-trigger="hover"
|
||||
data-content="Will hide this option from being selected"
|
||||
data-content="{{__('Will hide this option from being selected')}}"
|
||||
class="fas fa-info-circle"></i></label>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -49,7 +50,7 @@
|
|||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<div class="form-group">
|
||||
<label for="name">Name</label>
|
||||
<label for="name">{{__('Name')}}</label>
|
||||
<input value="{{$product->name ?? old('name')}}" id="name" name="name"
|
||||
type="text"
|
||||
class="form-control @error('name') is-invalid @enderror"
|
||||
|
@ -62,7 +63,7 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="price">Price in credits</label>
|
||||
<label for="price">{{__('Price in')}}{{CREDITS_DISPLAY_NAME}}</label>
|
||||
<input value="{{$product->price ?? old('price')}}" id="price" name="price"
|
||||
type="number"
|
||||
class="form-control @error('price') is-invalid @enderror"
|
||||
|
@ -76,7 +77,7 @@
|
|||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="memory">Memory</label>
|
||||
<label for="memory">{{__('Memory')}}</label>
|
||||
<input value="{{$product->memory ?? old('memory')}}" id="memory"
|
||||
name="memory"
|
||||
type="number"
|
||||
|
@ -90,7 +91,7 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="cpu">Cpu</label>
|
||||
<label for="cpu">{{__('Cpu')}}</label>
|
||||
<input value="{{$product->cpu ?? old('cpu')}}" id="cpu" name="cpu"
|
||||
type="number"
|
||||
class="form-control @error('cpu') is-invalid @enderror"
|
||||
|
@ -103,7 +104,7 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="swap">Swap</label>
|
||||
<label for="swap">{{__('Swap')}}</label>
|
||||
<input value="{{$product->swap ?? old('swap')}}" id="swap" name="swap"
|
||||
type="number"
|
||||
class="form-control @error('swap') is-invalid @enderror"
|
||||
|
@ -116,10 +117,10 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="description">Description <i data-toggle="popover"
|
||||
data-trigger="hover"
|
||||
data-content="This is what the users sees"
|
||||
class="fas fa-info-circle"></i></label>
|
||||
<label for="description">{{__('Description')}} <i data-toggle="popover"
|
||||
data-trigger="hover"
|
||||
data-content="{{__('This is what the users sees')}}"
|
||||
class="fas fa-info-circle"></i></label>
|
||||
<textarea id="description" name="description"
|
||||
type="text"
|
||||
class="form-control @error('description') is-invalid @enderror"
|
||||
|
@ -134,7 +135,7 @@
|
|||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="form-group">
|
||||
<label for="disk">Disk</label>
|
||||
<label for="disk">{{__('Disk')}}</label>
|
||||
<input value="{{$product->disk ?? old('disk') ?? 1000}}" id="disk"
|
||||
name="disk"
|
||||
type="number"
|
||||
|
@ -148,14 +149,16 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="minimum_credits">Minimum {{ CREDITS_DISPLAY_NAME }} <i
|
||||
<label for="minimum_credits">{{__('Minimum')}} {{ CREDITS_DISPLAY_NAME }} <i
|
||||
data-toggle="popover" data-trigger="hover"
|
||||
data-content="Setting to -1 will use the value from configuration."
|
||||
data-content="{{__('Setting to -1 will use the value from configuration.')}}"
|
||||
class="fas fa-info-circle"></i></label>
|
||||
<input value="{{ $product->minimum_credits ?? old('minimum_credits') ?? -1 }}" id="minimum_credits"
|
||||
name="minimum_credits" type="number"
|
||||
class="form-control @error('minimum_credits') is-invalid @enderror"
|
||||
required="required">
|
||||
<input
|
||||
value="{{ $product->minimum_credits ?? old('minimum_credits') ?? -1 }}"
|
||||
id="minimum_credits"
|
||||
name="minimum_credits" type="number"
|
||||
class="form-control @error('minimum_credits') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('minimum_credits')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
|
@ -164,7 +167,7 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="io">IO</label>
|
||||
<label for="io">{{__('IO')}}</label>
|
||||
<input value="{{$product->io ?? old('io') ?? 500}}" id="io" name="io"
|
||||
type="number"
|
||||
class="form-control @error('io') is-invalid @enderror"
|
||||
|
@ -176,7 +179,7 @@
|
|||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="databases">Databases</label>
|
||||
<label for="databases">{{__('Databases')}}</label>
|
||||
<input value="{{$product->databases ?? old('databases') ?? 1}}"
|
||||
id="databases"
|
||||
name="databases"
|
||||
|
@ -190,7 +193,7 @@
|
|||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="backups">Backups</label>
|
||||
<label for="backups">{{__('Backups')}}</label>
|
||||
<input value="{{$product->backups ?? old('backups') ?? 1}}" id="backups"
|
||||
name="backups"
|
||||
type="number"
|
||||
|
@ -203,7 +206,7 @@
|
|||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="allocations">Allocations</label>
|
||||
<label for="allocations">{{__('Allocations')}}</label>
|
||||
<input value="{{$product->allocations ?? old('allocations') ?? 0}}"
|
||||
id="allocations" name="allocations"
|
||||
type="number"
|
||||
|
@ -220,7 +223,7 @@
|
|||
|
||||
<div class="form-group text-right">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
Submit
|
||||
{{__('Submit')}}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
@ -231,16 +234,16 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title">Product Linking
|
||||
<h5 class="card-title">{{__('Product Linking')}}
|
||||
<i data-toggle="popover"
|
||||
data-trigger="hover"
|
||||
data-content="Link your products to nodes and eggs to create dynamic pricing for each option"
|
||||
data-content="{{__('Link your products to nodes and eggs to create dynamic pricing for each option')}}"
|
||||
class="fas fa-info-circle"></i></h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="nodes">Nodes</label>
|
||||
<label for="nodes">{{__('Nodes')}}</label>
|
||||
<select id="nodes" style="width:100%"
|
||||
class="custom-select @error('nodes') is-invalid @enderror"
|
||||
name="nodes[]" multiple="multiple" autocomplete="off">
|
||||
|
@ -260,13 +263,13 @@
|
|||
</div>
|
||||
@enderror
|
||||
<div class="text-muted">
|
||||
This product will only be available for these nodes
|
||||
{{__('This product will only be available for these nodes')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="eggs">Eggs</label>
|
||||
<label for="eggs">{{__('Eggs')}}</label>
|
||||
<select id="eggs" style="width:100%"
|
||||
class="custom-select @error('eggs') is-invalid @enderror"
|
||||
name="eggs[]" multiple="multiple" autocomplete="off">
|
||||
|
@ -286,7 +289,7 @@
|
|||
</div>
|
||||
@enderror
|
||||
<div class="text-muted">
|
||||
This product will only be available for these eggs
|
||||
{{__('This product will only be available for these eggs')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -6,14 +6,15 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Products</h1>
|
||||
<h1>{{__('Products')}}</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{route('admin.products.index')}}">Products</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">{{__('Dashboard')}}</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{route('admin.products.index')}}">{{__('Products')}}</a>
|
||||
</li>
|
||||
<li class="breadcrumb-item"><a class="text-muted"
|
||||
href="{{route('admin.products.edit' , $product->id)}}">Edit</a>
|
||||
href="{{route('admin.products.edit' , $product->id)}}">{{__('Edit')}}</a>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
@ -34,16 +35,16 @@
|
|||
|
||||
@if($product->servers()->count() > 0)
|
||||
<div class="callout callout-danger">
|
||||
<h4>Editing the resource options will not automatically update the servers on
|
||||
pterodactyl's side!</h4>
|
||||
<p class="text-muted">Automatically updating resource options on pterodactyl side is on
|
||||
my todo list :)</p>
|
||||
<h4>{{__('Editing the resource options will not automatically update the servers on
|
||||
pterodactyls side!')}}'</h4>
|
||||
<p class="text-muted">{{__('Automatically updating resource options on pterodactyl side is on
|
||||
my todo list :)')}}</p>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title">Product Details</h5>
|
||||
<h5 class="card-title">{{__('Product Details')}}</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
@ -51,9 +52,9 @@
|
|||
<div class="custom-control custom-switch">
|
||||
<input type="checkbox" @if($product->disabled) checked @endif name="disabled"
|
||||
class="custom-control-input custom-control-input-danger" id="switch1">
|
||||
<label class="custom-control-label" for="switch1">Disabled <i
|
||||
<label class="custom-control-label" for="switch1">{{__('Disabled')}} <i
|
||||
data-toggle="popover" data-trigger="hover"
|
||||
data-content="Will hide this option from being selected"
|
||||
data-content="{{__('Will hide this option from being selected')}}"
|
||||
class="fas fa-info-circle"></i></label>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -62,150 +63,155 @@
|
|||
<div class="col-lg-6">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="name">Name</label>
|
||||
<label for="name">{{__('Name')}}</label>
|
||||
<input value="{{ $product->name }}" id="name" name="name" type="text"
|
||||
class="form-control @error('name') is-invalid @enderror"
|
||||
required="required">
|
||||
class="form-control @error('name') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('name')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="price">Price in {{ CREDITS_DISPLAY_NAME }}</label>
|
||||
<label for="price">{{__('Price in')}} {{ CREDITS_DISPLAY_NAME }}</label>
|
||||
<input value="{{ $product->price }}" id="price" name="price" type="number"
|
||||
class="form-control @error('price') is-invalid @enderror"
|
||||
required="required">
|
||||
class="form-control @error('price') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('price')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="memory">Memory</label>
|
||||
<input value="{{ $product->memory }}" id="memory" name="memory" type="number"
|
||||
class="form-control @error('memory') is-invalid @enderror"
|
||||
required="required">
|
||||
<label for="memory">{{__('Memory')}}</label>
|
||||
<input value="{{ $product->memory }}" id="memory" name="memory"
|
||||
type="number"
|
||||
class="form-control @error('memory') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('memory')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="cpu">Cpu</label>
|
||||
<label for="cpu">{{__('Cpu')}}</label>
|
||||
<input value="{{ $product->cpu }}" id="cpu" name="cpu" type="number"
|
||||
class="form-control @error('cpu') is-invalid @enderror" required="required">
|
||||
class="form-control @error('cpu') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('cpu')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="swap">Swap</label>
|
||||
<label for="swap">{{__('Swap')}}</label>
|
||||
<input value="{{ $product->swap }}" id="swap" name="swap" type="number"
|
||||
class="form-control @error('swap') is-invalid @enderror"
|
||||
required="required">
|
||||
class="form-control @error('swap') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('swap')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="description">Description <i data-toggle="popover"
|
||||
data-trigger="hover"
|
||||
data-content="This is what the users sees"
|
||||
class="fas fa-info-circle"></i></label>
|
||||
<label for="description">{{__('Description')}} <i data-toggle="popover"
|
||||
data-trigger="hover"
|
||||
data-content="{{__('This is what the users sees')}}"
|
||||
class="fas fa-info-circle"></i></label>
|
||||
<textarea id="description" name="description"
|
||||
type="text"
|
||||
class="form-control @error('description') is-invalid @enderror"
|
||||
required="required">{{$product->description}}</textarea>
|
||||
@error('description')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="form-group">
|
||||
<label for="disk">Disk</label>
|
||||
<label for="disk">{{__('Disk')}}</label>
|
||||
<input value="{{ $product->disk }}" id="disk" name="disk" type="number"
|
||||
class="form-control @error('disk') is-invalid @enderror"
|
||||
required="required">
|
||||
class="form-control @error('disk') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('disk')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="minimum_credits">Minimum {{ CREDITS_DISPLAY_NAME }} <i
|
||||
<label for="minimum_credits">{{__('Minimum')}} {{ CREDITS_DISPLAY_NAME }} <i
|
||||
data-toggle="popover" data-trigger="hover"
|
||||
data-content="Setting to -1 will use the value from configuration."
|
||||
data-content="{{__('Setting to -1 will use the value from configuration.')}}"
|
||||
class="fas fa-info-circle"></i></label>
|
||||
<input value="{{ $product->minimum_credits }}" id="minimum_credits"
|
||||
name="minimum_credits" type="number"
|
||||
class="form-control @error('minimum_credits') is-invalid @enderror"
|
||||
required="required">
|
||||
name="minimum_credits" type="number"
|
||||
class="form-control @error('minimum_credits') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('minimum_credits')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="io">IO</label>
|
||||
<label for="io">{{__('IO')}}</label>
|
||||
<input value="{{ $product->io }}" id="io" name="io" type="number"
|
||||
class="form-control @error('io') is-invalid @enderror" required="required">
|
||||
class="form-control @error('io') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('io')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="databases">Databases</label>
|
||||
<label for="databases">{{__('Databases')}}</label>
|
||||
<input value="{{ $product->databases }}" id="databases" name="databases"
|
||||
type="number" class="form-control @error('databases') is-invalid @enderror"
|
||||
required="required">
|
||||
type="number"
|
||||
class="form-control @error('databases') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('databases')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="backups">Backups</label>
|
||||
<label for="backups">{{__('Backups')}}</label>
|
||||
<input value="{{ $product->backups }}" id="backups" name="backups"
|
||||
type="number" class="form-control @error('backups') is-invalid @enderror"
|
||||
required="required">
|
||||
type="number"
|
||||
class="form-control @error('backups') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('backups')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="allocations">Allocations</label>
|
||||
<label for="allocations">{{__('Allocations')}}</label>
|
||||
<input value="{{ $product->allocations }}" id="allocations"
|
||||
name="allocations" type="number"
|
||||
class="form-control @error('allocations') is-invalid @enderror"
|
||||
required="required">
|
||||
name="allocations" type="number"
|
||||
class="form-control @error('allocations') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('allocations')
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
<div class="invalid-feedback">
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
@ -213,7 +219,7 @@
|
|||
|
||||
<div class="form-group text-right">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
Submit
|
||||
{{__('Submit')}}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
@ -224,16 +230,16 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title">Product Linking
|
||||
<h5 class="card-title">{{__('Product Linking')}}
|
||||
<i data-toggle="popover"
|
||||
data-trigger="hover"
|
||||
data-content="Link your products to nodes and eggs to create dynamic pricing for each option"
|
||||
data-content="{{__('Link your products to nodes and eggs to create dynamic pricing for each option')}}"
|
||||
class="fas fa-info-circle"></i></h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="nodes">Nodes</label>
|
||||
<label for="nodes">{{__('Nodes')}}</label>
|
||||
<select id="nodes" style="width:100%"
|
||||
class="custom-select @error('nodes') is-invalid @enderror" name="nodes[]"
|
||||
multiple="multiple" autocomplete="off">
|
||||
|
@ -252,7 +258,7 @@
|
|||
</div>
|
||||
@enderror
|
||||
<div class="text-muted">
|
||||
This product will only be available for these nodes
|
||||
{{__('This product will only be available for these nodes')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -276,7 +282,7 @@
|
|||
</div>
|
||||
@enderror
|
||||
<div class="text-muted">
|
||||
This product will only be available for these eggs
|
||||
{{__('This product will only be available for these eggs')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -296,7 +302,7 @@
|
|||
})
|
||||
</script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
$('[data-toggle="popover"]').popover();
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Products</h1>
|
||||
<h1>{{__('Products')}}</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">{{__('Dashboard')}}</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-muted"
|
||||
href="{{route('admin.products.index')}}">Products</a></li>
|
||||
href="{{route('admin.products.index')}}">{{__('Products')}}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -28,9 +28,9 @@
|
|||
|
||||
<div class="card-header">
|
||||
<div class="d-flex justify-content-between">
|
||||
<h5 class="card-title"><i class="fas fa-sliders-h mr-2"></i>Products</h5>
|
||||
<h5 class="card-title"><i class="fas fa-sliders-h mr-2"></i>{{__('Products')}}</h5>
|
||||
<a href="{{route('admin.products.create')}}" class="btn btn-sm btn-primary"><i
|
||||
class="fas fa-plus mr-1"></i>Create new</a>
|
||||
class="fas fa-plus mr-1"></i>{{__('Create new')}}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -39,19 +39,19 @@
|
|||
<table id="datatable" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Active</th>
|
||||
<th>Name</th>
|
||||
<th>Price</th>
|
||||
<th>Memory</th>
|
||||
<th>Cpu</th>
|
||||
<th>Swap</th>
|
||||
<th>Disk</th>
|
||||
<th>Databases</th>
|
||||
<th>Backups</th>
|
||||
<th>Eggs</th>
|
||||
<th>Nodes</th>
|
||||
<th>Servers</th>
|
||||
<th>Created at</th>
|
||||
<th>{{__('Active')}}</th>
|
||||
<th>{{__('Name')}}</th>
|
||||
<th>{{__('Price')}}</th>
|
||||
<th>{{__('Memory')}}</th>
|
||||
<th>{{__('Cpu')}}</th>
|
||||
<th>{{__('Swap')}}</th>
|
||||
<th>{{__('Disk')}}</th>
|
||||
<th>{{__('Databases')}}</th>
|
||||
<th>{{__('Backups')}}</th>
|
||||
<th>{{__('Eggs')}}</th>
|
||||
<th>{{__('Nodes')}}</th>
|
||||
<th>{{__('Servers')}}</th>
|
||||
<th>{{__('Created at')}}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -71,7 +71,7 @@
|
|||
|
||||
<script>
|
||||
function submitResult() {
|
||||
return confirm("Are you sure you wish to delete?") !== false;
|
||||
return confirm("{{__('Are you sure you wish to delete?')}}") !== false;
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Products</h1>
|
||||
<h1>{{__('Products')}}</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{ route('home') }}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('admin.users.index') }}">Products</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('home') }}">{{__('Dashboard')}}</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('admin.users.index') }}">{{__('Products')}}</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-muted"
|
||||
href="{{ route('admin.products.show', $product->id) }}">Show</a>
|
||||
href="{{ route('admin.products.show', $product->id) }}">{{__('Show')}}</a>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<h5 class="card-title"><i class="fas fa-sliders-h mr-2"></i>Product</h5>
|
||||
<h5 class="card-title"><i class="fas fa-sliders-h mr-2"></i>{{__('Product')}}</h5>
|
||||
<div class="ml-auto">
|
||||
<a data-content="Edit" data-trigger="hover" data-toggle="tooltip"
|
||||
href="{{ route('admin.products.edit', $product->id) }}" class="btn btn-sm btn-info mr-1"><i
|
||||
|
@ -48,7 +48,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>ID</label>
|
||||
<label>{{__('ID')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -61,7 +61,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Name</label>
|
||||
<label>{{__('Name')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -74,7 +74,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Price</label>
|
||||
<label>{{__('Price')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -87,7 +87,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Minimum {{ CREDITS_DISPLAY_NAME }}</label>
|
||||
<label>{{__('Minimum')}} {{ CREDITS_DISPLAY_NAME }}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -105,7 +105,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Memory</label>
|
||||
<label>{{__('Memory')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -118,7 +118,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>CPU</label>
|
||||
<label>{{__('CPU')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -131,7 +131,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Swap</label>
|
||||
<label>{{__('Swap')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -144,7 +144,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Disk</label>
|
||||
<label>{{__('Disk')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -157,7 +157,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>IO</label>
|
||||
<label>{{__('IO')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -170,7 +170,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Databases</label>
|
||||
<label>{{__('Databases')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -183,7 +183,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Allocations</label>
|
||||
<label>{{__('Allocations')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -196,7 +196,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Created At</label>
|
||||
<label>{{__('Created at')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -210,7 +210,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Description</label>
|
||||
<label>{{__('Description')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span class="d-inline-block text-truncate">
|
||||
|
@ -224,7 +224,7 @@
|
|||
<div class="col-lg-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label>Updated At</label>
|
||||
<label>{{__('Updated at')}}</label>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<span style="max-width: 250px;" class="d-inline-block text-truncate">
|
||||
|
@ -240,7 +240,7 @@
|
|||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title"><i class="fas fa-server mr-2"></i>Servers</h5>
|
||||
<h5 class="card-title"><i class="fas fa-server mr-2"></i>{{__('Servers')}}</h5>
|
||||
</div>
|
||||
<div class="card-body table-responsive">
|
||||
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Servers</h1>
|
||||
<h1>{{__('Servers')}}</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-muted" href="{{route('admin.servers.index')}}">Servers</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">{{__('Dashboard')}}</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-muted" href="{{route('admin.servers.index')}}">{{__('Servers')}}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -25,7 +25,7 @@
|
|||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title"><i class="fas fa-server mr-2"></i>Servers</h5>
|
||||
<h5 class="card-title"><i class="fas fa-server mr-2"></i>{{__('Servers')}}</h5>
|
||||
</div>
|
||||
<div class="card-body table-responsive">
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th width="20"></th>
|
||||
<th>Name</th>
|
||||
<th>User</th>
|
||||
<th>Config</th>
|
||||
<th>Suspended At</th>
|
||||
<th>Created At</th>
|
||||
<th>{{__('Name')}}</th>
|
||||
<th>{{__('User')}}</th>
|
||||
<th>{{__('Config')}}</th>
|
||||
<th>{{__('Suspended at')}}</th>
|
||||
<th>{{__('Created at')}}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
<script>
|
||||
function submitResult() {
|
||||
return confirm("Are you sure you wish to delete?") !== false;
|
||||
return confirm("{{__('Are you sure you wish to delete?')}}") !== false;
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
<div class="container-fluid">
|
||||
<div class="row mb-2">
|
||||
<div class="col-sm-6">
|
||||
<h1>Settings</h1>
|
||||
<h1>{{__('Settings')}}</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right">
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{route('home')}}">{{__('Dashboard')}}</a></li>
|
||||
<li class="breadcrumb-item"><a class="text-muted"
|
||||
href="{{route('admin.settings.index')}}">Settings</a></li>
|
||||
href="{{route('admin.settings.index')}}">{{__('Settings')}}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
<div class="card-header">
|
||||
<div class="d-flex justify-content-between">
|
||||
<h5 class="card-title"><i class="fas fa-tools mr-2"></i>Settings</h5>
|
||||
<h5 class="card-title"><i class="fas fa-tools mr-2"></i>{{__('Settings')}}</h5>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
|||
<!-- Nav pills -->
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" data-toggle="pill" href="#dashboard-icons">Dashboard icons</a>
|
||||
<a class="nav-link active" data-toggle="pill" href="#dashboard-icons">{{__('Dashboard icons')}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
@ -81,7 +81,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-primary">Submit</button>
|
||||
<button class="btn btn-primary">{{__('Submit')}}</button>
|
||||
</form>
|
||||
|
||||
<p class="text-muted">Images and Icons may be cached, use <code>CNTRL + F5</code><sup>(google
|
||||
|
|
Loading…
Reference in a new issue