2017-03-10 23:25:12 +00:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title')
|
2017-10-07 04:57:53 +00:00
|
|
|
Nests → {{ $nest->name }}
|
2017-03-10 23:25:12 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content-header')
|
2017-10-07 04:57:53 +00:00
|
|
|
<h1>{{ $nest->name }}<small>{{ str_limit($nest->description, 50) }}</small></h1>
|
2017-03-10 23:25:12 +00:00
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
2017-10-07 04:57:53 +00:00
|
|
|
<li><a href="{{ route('admin.nests') }}">Nests</a></li>
|
|
|
|
<li class="active">{{ $nest->name }}</li>
|
2017-03-10 23:25:12 +00:00
|
|
|
</ol>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2017-03-12 19:59:17 +00:00
|
|
|
<div class="row">
|
2017-10-07 04:57:53 +00:00
|
|
|
<form action="{{ route('admin.nests.view', $nest->id) }}" method="POST">
|
2017-04-28 14:25:50 +00:00
|
|
|
<div class="col-md-6">
|
2017-03-10 23:25:12 +00:00
|
|
|
<div class="box">
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="form-group">
|
2017-10-07 02:22:32 +00:00
|
|
|
<label class="control-label">Name <span class="field-required"></span></label>
|
2017-03-10 23:25:12 +00:00
|
|
|
<div>
|
2017-10-07 04:57:53 +00:00
|
|
|
<input type="text" name="name" class="form-control" value="{{ $nest->name }}" />
|
2018-05-13 14:34:09 +00:00
|
|
|
<p class="text-muted"><small>This should be a descriptive category name that encompasses all of the options within the service.</small></p>
|
2017-03-10 23:25:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2020-04-18 00:52:40 +00:00
|
|
|
<label class="control-label">Description</label>
|
2017-03-10 23:25:12 +00:00
|
|
|
<div>
|
2017-10-07 04:57:53 +00:00
|
|
|
<textarea name="description" class="form-control" rows="7">{{ $nest->description }}</textarea>
|
2017-03-10 23:25:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-03 03:51:13 +00:00
|
|
|
<div class="box-footer">
|
2017-10-07 02:22:32 +00:00
|
|
|
{!! csrf_field() !!}
|
2017-10-07 04:57:53 +00:00
|
|
|
<button type="submit" name="_method" value="PATCH" class="btn btn-primary btn-sm pull-right">Save</button>
|
2017-10-03 03:51:13 +00:00
|
|
|
<button id="deleteButton" type="submit" name="_method" value="DELETE" class="btn btn-sm btn-danger muted muted-hover"><i class="fa fa-trash-o"></i></button>
|
|
|
|
</div>
|
2017-03-10 23:25:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-07 02:22:32 +00:00
|
|
|
</form>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-body">
|
2017-12-31 19:14:30 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label">Nest ID</label>
|
|
|
|
<div>
|
|
|
|
<input type="text" readonly class="form-control" value="{{ $nest->id }}" />
|
|
|
|
<p class="text-muted small">A unique ID used for identification of this nest internally and through the API.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-07 02:22:32 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label">Author</label>
|
|
|
|
<div>
|
2017-10-07 04:57:53 +00:00
|
|
|
<input type="text" readonly class="form-control" value="{{ $nest->author }}" />
|
2017-10-07 02:22:32 +00:00
|
|
|
<p class="text-muted small">The author of this service option. Please direct questions and issues to them unless this is an official option authored by <code>support@pterodactyl.io</code>.</p>
|
2017-03-10 23:25:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-07 02:22:32 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label">UUID</label>
|
|
|
|
<div>
|
2017-10-07 04:57:53 +00:00
|
|
|
<input type="text" readonly class="form-control" value="{{ $nest->uuid }}" />
|
2017-12-31 19:14:30 +00:00
|
|
|
<p class="text-muted small">A UUID that all servers using this option are assigned for identification purposes.</p>
|
2017-10-07 02:22:32 +00:00
|
|
|
</div>
|
2017-03-10 23:25:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-07 02:22:32 +00:00
|
|
|
</div>
|
2017-03-10 23:25:12 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="box box-primary">
|
|
|
|
<div class="box-header with-border">
|
2017-10-07 04:57:53 +00:00
|
|
|
<h3 class="box-title">Nest Eggs</h3>
|
2017-03-10 23:25:12 +00:00
|
|
|
</div>
|
|
|
|
<div class="box-body table-responsive no-padding">
|
|
|
|
<table class="table table-hover">
|
|
|
|
<tr>
|
2017-12-31 19:14:30 +00:00
|
|
|
<th>ID</th>
|
2017-10-03 03:51:13 +00:00
|
|
|
<th>Name</th>
|
2017-03-10 23:25:12 +00:00
|
|
|
<th>Description</th>
|
|
|
|
<th class="text-center">Servers</th>
|
2017-10-07 04:57:53 +00:00
|
|
|
<th class="text-center"></th>
|
2017-03-10 23:25:12 +00:00
|
|
|
</tr>
|
2017-10-07 04:57:53 +00:00
|
|
|
@foreach($nest->eggs as $egg)
|
2017-03-10 23:25:12 +00:00
|
|
|
<tr>
|
2017-12-31 19:14:30 +00:00
|
|
|
<td class="align-middle"><code>{{ $egg->id }}</code></td>
|
2017-10-09 02:36:22 +00:00
|
|
|
<td class="align-middle"><a href="{{ route('admin.nests.egg.view', $egg->id) }}" data-toggle="tooltip" data-placement="right" title="{{ $egg->author }}">{{ $egg->name }}</a></td>
|
2022-09-26 01:00:49 +00:00
|
|
|
<td class="col-xs-8 align-middle">{{ $egg->description }}</td>
|
2017-10-07 04:57:53 +00:00
|
|
|
<td class="text-center align-middle"><code>{{ $egg->servers->count() }}</code></td>
|
|
|
|
<td class="align-middle">
|
|
|
|
<a href="{{ route('admin.nests.egg.export', ['egg' => $egg->id]) }}"><i class="fa fa-download"></i></a>
|
|
|
|
</td>
|
2017-03-10 23:25:12 +00:00
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
2017-10-07 04:57:53 +00:00
|
|
|
<a href="{{ route('admin.nests.egg.new') }}"><button class="btn btn-success btn-sm pull-right">New Egg</button></a>
|
2017-03-10 23:25:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
2017-03-12 05:00:06 +00:00
|
|
|
|
|
|
|
@section('footer-scripts')
|
|
|
|
@parent
|
|
|
|
<script>
|
|
|
|
$('#deleteButton').on('mouseenter', function (event) {
|
2017-10-09 02:36:22 +00:00
|
|
|
$(this).find('i').html(' Delete Nest');
|
2017-03-12 05:00:06 +00:00
|
|
|
}).on('mouseleave', function (event) {
|
|
|
|
$(this).find('i').html('');
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@endsection
|