All blade files
This commit is contained in:
parent
1a1223424a
commit
6bc01d5ae6
|
@ -35,6 +35,7 @@
|
||||||
"Resources": "Ressourcen",
|
"Resources": "Ressourcen",
|
||||||
"Count": "Anzahl",
|
"Count": "Anzahl",
|
||||||
"Locations": "Standorte",
|
"Locations": "Standorte",
|
||||||
|
"Node": "Node",
|
||||||
"Nodes": "Nodes",
|
"Nodes": "Nodes",
|
||||||
"Nests": "Nests",
|
"Nests": "Nests",
|
||||||
"Eggs": "Eggs",
|
"Eggs": "Eggs",
|
||||||
|
@ -49,9 +50,12 @@
|
||||||
"Payment_ID": "Zahlungs-ID",
|
"Payment_ID": "Zahlungs-ID",
|
||||||
"Payer_ID": "Käufer-ID",
|
"Payer_ID": "Käufer-ID",
|
||||||
|
|
||||||
|
"Product": "Produkt",
|
||||||
"Products": "Produkte",
|
"Products": "Produkte",
|
||||||
"Create": "Erstellen",
|
"Create": "Erstellen",
|
||||||
"Product Details": "Produktdetails",
|
"Product Details": "Produktdetails",
|
||||||
|
"Server Details": "Serverdetails",
|
||||||
|
|
||||||
"Product Linking": "Produktbeziehungen",
|
"Product Linking": "Produktbeziehungen",
|
||||||
"Name": "Name",
|
"Name": "Name",
|
||||||
"Price in": "Preis in ",
|
"Price in": "Preis in ",
|
||||||
|
@ -206,7 +210,51 @@
|
||||||
"Due to system settings you are required to verify your discord account!": "Um das System zu benutzten, musst du deinen Discord Account bestätigen",
|
"Due to system settings you are required to verify your discord account!": "Um das System zu benutzten, musst du deinen Discord Account bestätigen",
|
||||||
"It looks like this hasnt been set-up correctly! Please contact support.": "Es scheint so, als wäre dies nicht richtig Konfiguriert. Bitte melde dich beim Support",
|
"It looks like this hasnt been set-up correctly! Please contact support.": "Es scheint so, als wäre dies nicht richtig Konfiguriert. Bitte melde dich beim Support",
|
||||||
|
|
||||||
|
"Change Password": "Passwort ändern",
|
||||||
|
"Current Password": "Momentanes Passwort",
|
||||||
|
"Save Changes": "Änderungen speichern",
|
||||||
|
"Re-Sync Discord": "Resync Discord",
|
||||||
|
"You are verified!": "Du bist verifiziert!",
|
||||||
|
"By verifying your discord account, you receive extra Credits and increased Server amounts": "Wenn du deinen Discordaccount verifizierst, bekommst du extra Credits und ein erhöhtes Server Limit",
|
||||||
|
"Server configuration": "Server Konfiguration",
|
||||||
|
"Error!": "Fehler!",
|
||||||
|
"Make sure to link your products to nodes and eggs.": "Stelle sicher, dass deine Produkte mit Nodes und Eggs verknüpft sind",
|
||||||
|
"There has to be at least 1 valid product for server creation": "Es muss mindestens 1 aktives Produkt erstellt sein, bevor ein Server erstellt wird",
|
||||||
|
"No products available!": "Keine Produkte verfügbar!",
|
||||||
|
"No nodes have been linked!": "Es wurde keine Nodes verknüpft",
|
||||||
|
"No nests available!": "Keine Nests verfügbar",
|
||||||
|
"No eggs have been linked!": "Es wurde keine Eggs verknüpft",
|
||||||
|
"Software / Games": "Software / Spiele",
|
||||||
|
"Please select software ...": "Bitte Software auswählen",
|
||||||
|
"Specification": "Spezifikationen",
|
||||||
|
"No selection": "Keine Auswahl",
|
||||||
|
"per month": "pro Monat",
|
||||||
|
"Not enough credits!": "Nicht genug Credits!",
|
||||||
|
"Please select a configuration ...": "Konfiguration Auswählen!",
|
||||||
|
"No resources found matching current configuration": "Keine Ressource passt zur momentanen Konfiguration",
|
||||||
|
"No nodes found matching current configuration": "Kein Node passt zur momentanen Konfiguration",
|
||||||
|
"Please select a node ...": "Bitte Node auswählen",
|
||||||
|
"Create server": "Server erstellen",
|
||||||
|
"Use your servers on our": "Verwalte deine Server mit unserem",
|
||||||
|
"pterodactyl panel": "Server panel",
|
||||||
|
"Server limit reached!": "Server Limit erreicht!",
|
||||||
|
"Create Server": "Server erstellen",
|
||||||
|
"Manage": "Verwalten",
|
||||||
|
"Delete server": "Server löschen",
|
||||||
|
"Price per Hour": "Preis pro Stunde",
|
||||||
|
"Price per Month": "Preis pro Monat",
|
||||||
|
|
||||||
|
"Date": "Datum",
|
||||||
|
"To": "Zu",
|
||||||
|
"From": "Von",
|
||||||
|
"Pending": "Wartend",
|
||||||
|
"Subtotal": "Zwischensumme",
|
||||||
|
"Submit Payment": "Zahlung bestätigen",
|
||||||
|
"Payment Methods": "Zahlungsmethoden",
|
||||||
|
"By purchasing this product you agree and accept our terms of service": "Mit dem kauf akzeptierst du unsere TOS",
|
||||||
|
"There are no store products!": "Es gibt keine Produkte",
|
||||||
|
"The store is not correctly configured!": "Der Laden wurde nicht richtig konfiguriert",
|
||||||
|
"Out of Credits in": "Keine :credits mehr in"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<!-- Modal footer -->
|
<!-- Modal footer -->
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-danger" data-dismiss="modal">{{__('Cancel')}}</button>
|
<button type="button" class="btn btn-danger" data-dismiss="modal">{{__('Cancel')}}</button>
|
||||||
<button type="submit" class="btn btn-primary">{{__('Save')}}'</button>
|
<button type="submit" class="btn btn-primary">{{__('Save')}}</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h1>Dashboard</h1>
|
<h1>{{__('Dashboard')}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<ol class="breadcrumb float-sm-right">
|
<ol class="breadcrumb float-sm-right">
|
||||||
<li class="breadcrumb-item"><a class="text-muted" href="">Dashboard</a></li>
|
<li class="breadcrumb-item"><a class="text-muted" href="">{{__('Dashboard')}}</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
<span class="info-box-icon bg-info elevation-1"><i class="fas fa-server"></i></span>
|
<span class="info-box-icon bg-info elevation-1"><i class="fas fa-server"></i></span>
|
||||||
|
|
||||||
<div class="info-box-content">
|
<div class="info-box-content">
|
||||||
<span class="info-box-text">Servers</span>
|
<span class="info-box-text">{{__('Servers')}}</span>
|
||||||
<span class="info-box-number">{{Auth::user()->servers()->count()}}</span>
|
<span class="info-box-number">{{Auth::user()->servers()->count()}}</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.info-box-content -->
|
<!-- /.info-box-content -->
|
||||||
|
@ -58,8 +58,8 @@
|
||||||
<span class="info-box-icon bg-warning elevation-1"><i class="fas fa-chart-line"></i></span>
|
<span class="info-box-icon bg-warning elevation-1"><i class="fas fa-chart-line"></i></span>
|
||||||
|
|
||||||
<div class="info-box-content">
|
<div class="info-box-content">
|
||||||
<span class="info-box-text">{{CREDITS_DISPLAY_NAME}} usage</span>
|
<span class="info-box-text">{{CREDITS_DISPLAY_NAME}} {{__('Usage')}}</span>
|
||||||
<span class="info-box-number">{{number_format($useage, 2, '.', '')}} <sup>per month</sup></span>
|
<span class="info-box-number">{{number_format($useage, 2, '.', '')}} <sup>{{__('per month')}}</sup></span>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.info-box-content -->
|
<!-- /.info-box-content -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
<span class="info-box-icon {{$bg}} elevation-1">
|
<span class="info-box-icon {{$bg}} elevation-1">
|
||||||
<i class="fas fa-hourglass-half"></i></span>
|
<i class="fas fa-hourglass-half"></i></span>
|
||||||
<div class="info-box-content">
|
<div class="info-box-content">
|
||||||
<span class="info-box-text">Out of {{CREDITS_DISPLAY_NAME}} in </span>
|
<span class="info-box-text">{{__('Out of Credits in',["credits"=>CREDITS_DISPLAY_NAME])}} </span>
|
||||||
<span class="info-box-number">{{$boxText}}<sup>{{$unit}}</sup></span>
|
<span class="info-box-number">{{$boxText}}<sup>{{$unit}}</sup></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h3 class="card-title">
|
<h3 class="card-title">
|
||||||
<i class="fas fa-link mr-2"></i>
|
<i class="fas fa-link mr-2"></i>
|
||||||
Useful Links
|
{{__('Useful Links')}}
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.card-header -->
|
<!-- /.card-header -->
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h3 class="card-title">
|
<h3 class="card-title">
|
||||||
<i class="fas fa-history mr-2"></i>
|
<i class="fas fa-history mr-2"></i>
|
||||||
Activity Log
|
{{__('Activity Logs')}}
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.card-header -->
|
<!-- /.card-header -->
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="form-group"><label>Name</label> <input
|
<div class="form-group"><label>{{__('Name')}}</label> <input
|
||||||
class="form-control @error('name') is-invalid @enderror"
|
class="form-control @error('name') is-invalid @enderror"
|
||||||
type="text" name="name"
|
type="text" name="name"
|
||||||
placeholder="{{$user->name}}" value="{{$user->name}}">
|
placeholder="{{$user->name}}" value="{{$user->name}}">
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="form-group"><label>Email</label> <input
|
<div class="form-group"><label>{{__('Email')}}</label> <input
|
||||||
class="form-control @error('email') is-invalid @enderror"
|
class="form-control @error('email') is-invalid @enderror"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="{{$user->email}}" name="email"
|
placeholder="{{$user->email}}" name="email"
|
||||||
|
@ -142,10 +142,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-sm-6 mb-3">
|
<div class="col-12 col-sm-6 mb-3">
|
||||||
<div class="mb-3"><b>Change Password</b></div>
|
<div class="mb-3"><b>{{__('Change Password')}}</b></div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="form-group"><label>Current Password</label> <input
|
<div class="form-group"><label>{{__('Current Password')}}</label> <input
|
||||||
class="form-control @error('current_password') is-invalid @enderror"
|
class="form-control @error('current_password') is-invalid @enderror"
|
||||||
name="current_password" type="password"
|
name="current_password" type="password"
|
||||||
placeholder="••••••">
|
placeholder="••••••">
|
||||||
|
@ -160,7 +160,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="form-group"><label>New Password</label> <input
|
<div class="form-group"><label>{{__('New Password')}}</label> <input
|
||||||
class="form-control @error('new_password') is-invalid @enderror"
|
class="form-control @error('new_password') is-invalid @enderror"
|
||||||
name="new_password" type="password" placeholder="••••••">
|
name="new_password" type="password" placeholder="••••••">
|
||||||
|
|
||||||
|
@ -174,8 +174,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="form-group"><label>Confirm <span
|
<div class="form-group"><label>{{__('Confirm Password')}}</span></label>
|
||||||
class="d-none d-xl-inline">Password</span></label>
|
|
||||||
<input
|
<input
|
||||||
class="form-control @error('new_password_confirmation') is-invalid @enderror"
|
class="form-control @error('new_password_confirmation') is-invalid @enderror"
|
||||||
name="new_password_confirmation" type="password"
|
name="new_password_confirmation" type="password"
|
||||||
|
@ -193,28 +192,23 @@
|
||||||
@if(!empty(env('DISCORD_CLIENT_ID')) && !empty(env('DISCORD_CLIENT_SECRET')))
|
@if(!empty(env('DISCORD_CLIENT_ID')) && !empty(env('DISCORD_CLIENT_SECRET')))
|
||||||
<div class="col-12 col-sm-5 offset-sm-1 mb-3">
|
<div class="col-12 col-sm-5 offset-sm-1 mb-3">
|
||||||
@if(is_null(Auth::user()->discordUser))
|
@if(is_null(Auth::user()->discordUser))
|
||||||
<b>Link your discord account!</b>
|
<b>{{__('Link your discord account!')}}</b>
|
||||||
<div class="verify-discord">
|
<div class="verify-discord">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
@if($credits_reward_after_verify_discord)
|
@if($credits_reward_after_verify_discord)
|
||||||
<p>By verifying your discord account, you receive an
|
<p>{{__('By verifying your discord account, you receive extra Credits and increased Server amounts')}}
|
||||||
extra
|
|
||||||
<b><i
|
|
||||||
class="fa fa-coins mx-1"></i>{{$credits_reward_after_verify_discord}}
|
|
||||||
</b> {{CREDITS_DISPLAY_NAME}} and increased server
|
|
||||||
limit
|
|
||||||
</p>
|
</p>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a class="btn btn-light" href="{{route('auth.redirect')}}">
|
<a class="btn btn-light" href="{{route('auth.redirect')}}">
|
||||||
<i class="fab fa-discord mr-2"></i>Login with Discord
|
<i class="fab fa-discord mr-2"></i>{{__('Login with Discord')}}
|
||||||
</a>
|
</a>
|
||||||
@else
|
@else
|
||||||
<div class="verified-discord">
|
<div class="verified-discord">
|
||||||
<div class="my-3 callout callout-info">
|
<div class="my-3 callout callout-info">
|
||||||
<p>You are verified!</p>
|
<p>{{__('You are verified!')}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row pl-2">
|
<div class="row pl-2">
|
||||||
|
@ -233,7 +227,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="small-box-footer">
|
<div class="small-box-footer">
|
||||||
<a href="{{route('auth.redirect')}}">
|
<a href="{{route('auth.redirect')}}">
|
||||||
<i class="fab fa-discord mr-1"></i>Re-Sync Discord
|
<i class="fab fa-discord mr-1"></i>{{__('Re-Sync Discord')}}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -245,7 +239,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col d-flex justify-content-end">
|
<div class="col d-flex justify-content-end">
|
||||||
<button class="btn btn-primary" type="submit">Save Changes</button>
|
<button class="btn btn-primary" type="submit">{{__('Save Changes')}}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h1>Servers</h1>
|
<h1>{{__('Servers')}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<ol class="breadcrumb float-sm-right">
|
<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 href="{{ route('servers.index') }}">Servers</a>
|
<li class="breadcrumb-item"><a href="{{ route('servers.index') }}">{{__('Servers')}}</a>
|
||||||
<li class="breadcrumb-item"><a class="text-muted"
|
<li class="breadcrumb-item"><a class="text-muted"
|
||||||
href="{{ route('servers.create') }}">Create</a>
|
href="{{ route('servers.create') }}">{{__('Create')}}</a>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
@ -194,7 +194,7 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<div class="card-title">
|
<div class="card-title">
|
||||||
<i class="fas fa-list mr-2"></i>{{__('Server details')}}
|
<i class="fas fa-list mr-2"></i>{{__('Server Details')}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -233,7 +233,7 @@
|
||||||
<template x-if="selectedProductObject?.name">
|
<template x-if="selectedProductObject?.name">
|
||||||
<ul class="pl-0">
|
<ul class="pl-0">
|
||||||
<li class="d-flex justify-content-between">
|
<li class="d-flex justify-content-between">
|
||||||
<small class="text-muted d-inline-block">{{__('CPU')}}</small>
|
<small class="text-muted d-inline-block">{{__('Cpu')}}</small>
|
||||||
<small class="text-muted d-inline-block"
|
<small class="text-muted d-inline-block"
|
||||||
x-text="selectedProductObject.cpu + ' %'"></small>
|
x-text="selectedProductObject.cpu + ' %'"></small>
|
||||||
</li>
|
</li>
|
||||||
|
@ -258,7 +258,7 @@
|
||||||
x-text="selectedProductObject.backups"></small>
|
x-text="selectedProductObject.backups"></small>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<small class="text-muted d-inline-block">{{__('Allocations')}} ({{__('ports')}})</small>
|
<small class="text-muted d-inline-block">{{__('Allocations')}}</small>
|
||||||
<small class="text-muted d-inline-block" x-text="selectedProductObject.allocations"></small>
|
<small class="text-muted d-inline-block" x-text="selectedProductObject.allocations"></small>
|
||||||
</div>
|
</div>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h1>Servers</h1>
|
<h1>{{__('Servers')}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<ol class="breadcrumb float-sm-right">
|
<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('servers.index')}}">Servers</a>
|
<li class="breadcrumb-item"><a class="text-muted" href="{{route('servers.index')}}">{{__('Servers')}}</a>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,9 +26,8 @@
|
||||||
|
|
||||||
<!-- CUSTOM CONTENT -->
|
<!-- CUSTOM CONTENT -->
|
||||||
<div class="d-flex justify-content-between mb-3">
|
<div class="d-flex justify-content-between mb-3">
|
||||||
<p>Use your servers on our <a href="{{env('PTERODACTYL_URL' , 'http://localhost')}}">pterodactyl panel</a></p>
|
<p>{{__('Use your servers on our')}} <a href="{{env('PTERODACTYL_URL' , 'http://localhost')}}">{{__('pterodactyl panel')}}</a></p>
|
||||||
<a @if(Auth::user()->Servers->count() >= Auth::user()->server_limit) disabled="disabled" title="Server limit reached!" @endif href="{{route('servers.create')}}" class="btn @if(Auth::user()->Servers->count() >= Auth::user()->server_limit) disabled @endif btn-primary"><i class="fa fa-plus mr-2"></i>Create
|
<a @if(Auth::user()->Servers->count() >= Auth::user()->server_limit) disabled="disabled" title="{{__('Server limit reached!')}}" @endif href="{{route('servers.create')}}" class="btn @if(Auth::user()->Servers->count() >= Auth::user()->server_limit) disabled @endif btn-primary"><i class="fa fa-plus mr-2"></i>{{__('Create Server')}}</a>
|
||||||
Server</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -44,14 +43,14 @@
|
||||||
<i class="fas fa-ellipsis-v fa-sm fa-fw text-white-50"></i>
|
<i class="fas fa-ellipsis-v fa-sm fa-fw text-white-50"></i>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu dropdown-menu-right shadow animated--fade-in" aria-labelledby="dropdownMenuLink">
|
<div class="dropdown-menu dropdown-menu-right shadow animated--fade-in" aria-labelledby="dropdownMenuLink">
|
||||||
<a href="{{env('PTERODACTYL_URL' , 'http://localhost')}}/server/{{$server->identifier}}" target="__blank" class="dropdown-item text-info"><i title="manage" class="fas fa-tasks mr-2"></i><span>Manage</span></a>
|
<a href="{{env('PTERODACTYL_URL' , 'http://localhost')}}/server/{{$server->identifier}}" target="__blank" class="dropdown-item text-info"><i title="manage" class="fas fa-tasks mr-2"></i><span>{{__('Manage')}}</span></a>
|
||||||
@if(!empty(env('PHPMYADMIN_URL')))
|
@if(!empty(env('PHPMYADMIN_URL')))
|
||||||
<a href="{{env('PHPMYADMIN_URL' , 'http://localhost')}}" class="dropdown-item text-info" target="__blank"><i title="manage" class="fas fa-database mr-2"></i><span>Database</span></a>
|
<a href="{{env('PHPMYADMIN_URL' , 'http://localhost')}}" class="dropdown-item text-info" target="__blank"><i title="manage" class="fas fa-database mr-2"></i><span>{{__('Database')}}</span></a>
|
||||||
@endif
|
@endif
|
||||||
<form method="post" onsubmit="return submitResult();" action="{{route('servers.destroy' , $server->id)}}">
|
<form method="post" onsubmit="return submitResult();" action="{{route('servers.destroy' , $server->id)}}">
|
||||||
@csrf
|
@csrf
|
||||||
@method('DELETE')
|
@method('DELETE')
|
||||||
<button class="dropdown-item text-danger"><i title="delete" class="fas fa-trash mr-2"></i><span>Delete server</span></button>
|
<button class="dropdown-item text-danger"><i title="delete" class="fas fa-trash mr-2"></i><span>{{__('Delete server')}}</span></button>
|
||||||
</form>
|
</form>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<span class="dropdown-item"><i title="Created at" class="fas fa-sync-alt mr-2"></i><span>{{$server->created_at->isoFormat('LL')}}</span></span>
|
<span class="dropdown-item"><i title="Created at" class="fas fa-sync-alt mr-2"></i><span>{{$server->created_at->isoFormat('LL')}}</span></span>
|
||||||
|
@ -61,34 +60,34 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<span class="text-muted">Server details</span>
|
<span class="text-muted">{{__('Server Details')}}</span>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<td>CPU</td>
|
<td>{{__('Cpu')}}</td>
|
||||||
<td>{{$server->product->cpu}} %</td>
|
<td>{{$server->product->cpu}} %</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>RAM</td>
|
<td>{{__('Memory')}}</td>
|
||||||
<td>{{$server->product->memory}} MB</td>
|
<td>{{$server->product->memory}} MB</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Disk</td>
|
<td>{{__('Disk')}}</td>
|
||||||
<td>{{$server->product->disk}} MB</td>
|
<td>{{$server->product->disk}} MB</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Databases</td>
|
<td>{{__('Databases')}}</td>
|
||||||
<td>{{$server->product->databases}} MySQL</td>
|
<td>{{$server->product->databases}} MySQL</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Backups</td>
|
<td>{{__('Backups')}}</td>
|
||||||
<td>{{$server->product->backups}}</td>
|
<td>{{$server->product->backups}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Price per Hour</td>
|
<td>{{__('Price per Hour')}}</td>
|
||||||
<td>{{number_format($server->product->getHourlyPrice(),2,".", "")}} {{CREDITS_DISPLAY_NAME}}</td>
|
<td>{{number_format($server->product->getHourlyPrice(),2,".", "")}} {{CREDITS_DISPLAY_NAME}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Price per Month</td>
|
<td>{{__('Price per Month')}}</td>
|
||||||
<td>{{$server->product->getHourlyPrice()*24*30}} {{CREDITS_DISPLAY_NAME}}</td>
|
<td>{{$server->product->getHourlyPrice()*24*30}} {{CREDITS_DISPLAY_NAME}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -96,9 +95,9 @@
|
||||||
|
|
||||||
|
|
||||||
<div class="card-footer d-flex justify-content-between">
|
<div class="card-footer d-flex justify-content-between">
|
||||||
<a href="{{env('PTERODACTYL_URL' , 'http://localhost')}}/server/{{$server->identifier}}" target="__blank" class="btn btn-info mx-3 w-100"><i class="fas fa-tasks mr-2"></i>Manage</a>
|
<a href="{{env('PTERODACTYL_URL' , 'http://localhost')}}/server/{{$server->identifier}}" target="__blank" class="btn btn-info mx-3 w-100"><i class="fas fa-tasks mr-2"></i>{{__('Manage')}}</a>
|
||||||
@if(!empty(env('PHPMYADMIN_URL')))
|
@if(!empty(env('PHPMYADMIN_URL')))
|
||||||
<a href="{{env('PHPMYADMIN_URL' , 'http://localhost')}}" target="__blank" class="btn btn-info mx-3 w-100" ><i class="fas fa-database mr-2"></i>Database</a>
|
<a href="{{env('PHPMYADMIN_URL' , 'http://localhost')}}" target="__blank" class="btn btn-info mx-3 w-100" ><i class="fas fa-database mr-2"></i>{{__('Database')}}</a>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -115,7 +114,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function submitResult() {
|
function submitResult() {
|
||||||
return confirm("Are you sure you wish to delete?") !== false;
|
return confirm("{{__('Are you sure you wish to delete?')}}") !== false;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h1>Store</h1>
|
<h1>{{__('Store')}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<ol class="breadcrumb float-sm-right">
|
<ol class="breadcrumb float-sm-right">
|
||||||
<li class="breadcrumb-item"><a class="" href="{{route('home')}}">Dashboard</a></li>
|
<li class="breadcrumb-item"><a class="" href="{{route('home')}}">{{__('Dashboard')}}</a></li>
|
||||||
<li class="breadcrumb-item"><a class="text-muted" href="{{route('store.index')}}">Store</a></li>
|
<li class="breadcrumb-item"><a class="text-muted" href="{{route('store.index')}}">{{__('Store')}}</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<h4>
|
<h4>
|
||||||
<i class="fas fa-globe"></i> {{ config('app.name', 'Laravel') }}
|
<i class="fas fa-globe"></i> {{ config('app.name', 'Laravel') }}
|
||||||
<small class="float-right">Date: {{Carbon\Carbon::now()->isoFormat('LL')}}</small>
|
<small class="float-right">{{__('Date')}}: {{Carbon\Carbon::now()->isoFormat('LL')}}</small>
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
|
@ -42,24 +42,24 @@
|
||||||
<!-- info row -->
|
<!-- info row -->
|
||||||
<div class="row invoice-info">
|
<div class="row invoice-info">
|
||||||
<div class="col-sm-4 invoice-col">
|
<div class="col-sm-4 invoice-col">
|
||||||
To
|
{{__('To')}}
|
||||||
<address>
|
<address>
|
||||||
<strong>{{config('app.name' , 'Laravel')}}</strong><br>
|
<strong>{{config('app.name' , 'Laravel')}}</strong><br>
|
||||||
Email: {{env('PAYPAL_EMAIL' , env('MAIL_FROM_NAME'))}}
|
{{__('Email')}}: {{env('PAYPAL_EMAIL' , env('MAIL_FROM_NAME'))}}
|
||||||
</address>
|
</address>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
<div class="col-sm-4 invoice-col">
|
<div class="col-sm-4 invoice-col">
|
||||||
From
|
{{__('From')}}
|
||||||
<address>
|
<address>
|
||||||
<strong>{{Auth::user()->name}}</strong><br>
|
<strong>{{Auth::user()->name}}</strong><br>
|
||||||
Email: {{Auth::user()->email}}
|
{{__('Email')}}: {{Auth::user()->email}}
|
||||||
</address>
|
</address>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
<div class="col-sm-4 invoice-col">
|
<div class="col-sm-4 invoice-col">
|
||||||
<b>Status</b><br>
|
<b>{{__('Status')}}</b><br>
|
||||||
<span class="badge badge-warning">Pending</span><br>
|
<span class="badge badge-warning">{{__('Pending')}}</span><br>
|
||||||
{{-- <b>Order ID:</b> 4F3S8J<br>--}}
|
{{-- <b>Order ID:</b> 4F3S8J<br>--}}
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
|
@ -72,10 +72,10 @@
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Quantity</th>
|
<th>{{__('Quantity')}}</th>
|
||||||
<th>Product</th>
|
<th>{{__('Product')}}</th>
|
||||||
<th>Description</th>
|
<th>{{__('Description')}}</th>
|
||||||
<th>Subtotal</th>
|
<th>{{__('Subtotal')}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -95,34 +95,34 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- accepted payments column -->
|
<!-- accepted payments column -->
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<p class="lead">Payment Methods:</p>
|
<p class="lead">{{__('Payment Methods')}}:</p>
|
||||||
|
|
||||||
<img src="https://www.paypalobjects.com/digitalassets/c/website/logo/full-text/pp_fc_hl.svg" alt="Paypal">
|
<img src="https://www.paypalobjects.com/digitalassets/c/website/logo/full-text/pp_fc_hl.svg" alt="Paypal">
|
||||||
|
|
||||||
<p class="text-muted well well-sm shadow-none" style="margin-top: 10px;">
|
<p class="text-muted well well-sm shadow-none" style="margin-top: 10px;">
|
||||||
By purchasing this product you agree and accept our terms of service</a>
|
{{__('By purchasing this product you agree and accept our terms of service')}}</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<p class="lead">Amount Due {{Carbon\Carbon::now()->isoFormat('LL')}}</p>
|
<p class="lead">{{__('Amount Due')}} {{Carbon\Carbon::now()->isoFormat('LL')}}</p>
|
||||||
|
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:50%">Subtotal:</th>
|
<th style="width:50%">{{__('Subtotal')}}:</th>
|
||||||
<td>{{$product->formatToCurrency($product->price)}}</td>
|
<td>{{$product->formatToCurrency($product->price)}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Tax ({{$taxpercent}}%)</th>
|
<th>{{__('Tax')}} ({{$taxpercent}}%)</th>
|
||||||
<td>{{$product->formatToCurrency($taxvalue)}}</td>
|
<td>{{$product->formatToCurrency($taxvalue)}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Quantity:</th>
|
<th>{{__('Quantity')}}:</th>
|
||||||
<td>1</td>
|
<td>1</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Total:</th>
|
<th>{{__('Total')}}:</th>
|
||||||
<td>{{$product->formatToCurrency($total)}}</td>
|
<td>{{$product->formatToCurrency($total)}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -135,8 +135,8 @@
|
||||||
<!-- this row will not appear when printing -->
|
<!-- this row will not appear when printing -->
|
||||||
<div class="row no-print">
|
<div class="row no-print">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<a href="{{route('payment.pay' , $product->id)}}" type="button" class="btn btn-success float-right"><i class="far fa-credit-card mr-2"></i> Submit
|
<a href="{{route('payment.pay' , $product->id)}}" type="button" class="btn btn-success float-right"><i class="far fa-credit-card mr-2"></i> {{__('Submit
|
||||||
Payment
|
Payment')}}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,12 +7,12 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h1>Store</h1>
|
<h1>{{__('Store')}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<ol class="breadcrumb float-sm-right">
|
<ol class="breadcrumb float-sm-right">
|
||||||
<li class="breadcrumb-item"><a class="" href="{{route('home')}}">Dashboard</a></li>
|
<li class="breadcrumb-item"><a class="" href="{{route('home')}}">{{__('Dashboard')}}</a></li>
|
||||||
<li class="breadcrumb-item"><a class="text-muted" href="{{route('store.index')}}">Store</a></li>
|
<li class="breadcrumb-item"><a class="text-muted" href="{{route('store.index')}}">{{__('Store')}}</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
<div class="text-right mb-3">
|
<div class="text-right mb-3">
|
||||||
<button type="button" data-toggle="modal" data-target="#redeemVoucherModal" class="btn btn-primary">
|
<button type="button" data-toggle="modal" data-target="#redeemVoucherModal" class="btn btn-primary">
|
||||||
<i class="fas fa-money-check-alt mr-2"></i>Redeem code
|
<i class="fas fa-money-check-alt mr-2"></i>{{__('Redeem code')}}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -40,9 +40,9 @@
|
||||||
<table class="table table-striped table-responsive-sm">
|
<table class="table table-striped table-responsive-sm">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Price</th>
|
<th>{{__('Price')}}</th>
|
||||||
<th>Type</th>
|
<th>{{__('Type')}}</th>
|
||||||
<th>Description</th>
|
<th>{{__('Description')}}</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
@else
|
@else
|
||||||
<div class="alert alert-danger alert-dismissible">
|
<div class="alert alert-danger alert-dismissible">
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||||
<h4><i class="icon fa fa-ban"></i> @if($products->count() == 0) There are no store products! @else The store is not correctly configured! @endif
|
<h4><i class="icon fa fa-ban"></i> @if($products->count() == 0) {{__('There are no store products!')}} @else {{__('The store is not correctly configured!')}} @endif
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue