diff --git a/themes/default/views/servers/create.blade.php b/themes/default/views/servers/create.blade.php index 1aec8f0d..dcc807e6 100644 --- a/themes/default/views/servers/create.blade.php +++ b/themes/default/views/servers/create.blade.php @@ -23,7 +23,7 @@ -
+
{{ __('Server configuration') }}
- @if (!config("SETTINGS::SYSTEM:CREATION_OF_NEW_SERVERS")) + @if (!config('SETTINGS::SYSTEM:CREATION_OF_NEW_SERVERS'))
The creation of new servers has been disabled for regular users, enable it again - {{ __('here') }}. + {{ __('here') }}.
@endif @if ($productCount === 0 || $nodeCount === 0 || count($nests) === 0 || count($eggs) === 0) @@ -48,7 +48,7 @@ @if (Auth::user()->role == 'admin') {{ __('Make sure to link your products to nodes and eggs.') }}
{{ __('There has to be at least 1 valid product for server creation') }} - {{ __('Sync now') }} + {{ __('Sync now') }} @endif

@@ -103,8 +103,8 @@
- @@ -135,8 +135,8 @@
- @@ -209,14 +209,17 @@
  • - {{ __('Required') }} {{ CREDITS_DISPLAY_NAME }} {{ __('to create this server') }} - + {{ __('Required') }} {{ CREDITS_DISPLAY_NAME }} + {{ __('to create this server') }} +
  • {{ __('Description') }} -

    +

    @@ -285,6 +288,8 @@ locations: [], products: [], + submitClicked: false, + /** * @description set available eggs based on the selected nest @@ -368,7 +373,8 @@ this.fetchedProducts = true; // TODO: Sortable by user chosen property (cpu, ram, disk...) - this.products = response.data.sort((p1, p2) => parseInt(p1.price,10) > parseInt(p2.price,10) && 1 || -1) + this.products = response.data.sort((p1, p2) => parseInt(p1.price, 10) > parseInt(p2.price, 10) && + 1 || -1) //divide cpu by 100 for each product this.products.forEach(product => {