diff --git a/resources/views/servers/index.blade.php b/resources/views/servers/index.blade.php new file mode 100644 index 00000000..517c3f1e --- /dev/null +++ b/resources/views/servers/index.blade.php @@ -0,0 +1,208 @@ +@extends('layouts.main') + +@section('content') + +
+
+
+
+

{{ __('Servers') }}

+
+ +
+
+
+ + + +
+
+ + + + +
+ @foreach ($servers as $server) + +
+
+
+
{{ $server->name }} +
+
+ +
+
+
+
+
+
+
{{ __('Status') }}:
+
+ + {{ $server->isSuspended() ? 'Suspended' : 'Active' }} +
+
+
+
+ {{ __('Location') }}: +
+
+ {{ $server->location }} + +
+ +
+
+
+ {{ __('Software') }}: +
+
+ {{ $server->nest }} +
+ +
+
+
+ {{ __('Specification') }}: +
+
+ {{ $server->egg }} +
+
+
+
+ {{ __('Resource plan') }}: +
+
+ {{ $server->product->name }} + + +
+ +
+
+
+ {{ __('Price') }}: + + ({{ CREDITS_DISPLAY_NAME }}) + +
+
+
+ @if($server->product->billing_period == 'monthly') + {{ __('per Month') }} + @elseif($server->product->billing_period == 'weekly') + {{ __('per Week') }} + @elseif($server->product->billing_period == 'daily') + {{ __('per Day') }} + @elseif($server->product->billing_period == 'hourly') + {{ __('per Hour') }} + @endif +
+ + {{ $server->product->price }} + +
+
+
+
+ + +
+ @endforeach +
+ +
+
+ + + +@endsection