2015-12-06 18:58:49 +00:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title')
|
|
|
|
Server List
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2016-01-04 21:48:22 +00:00
|
|
|
<div class="col-md-12">
|
2015-12-06 18:58:49 +00:00
|
|
|
<ul class="breadcrumb">
|
|
|
|
<li><a href="/admin">Admin Control</a></li>
|
|
|
|
<li class="active">Servers</li>
|
|
|
|
</ul>
|
|
|
|
<h3>All Servers</h3><hr />
|
|
|
|
<table class="table table-bordered table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Server Name</th>
|
|
|
|
<th>Owner</th>
|
2016-01-10 05:45:52 +00:00
|
|
|
<th class="hidden-xs">Node</th>
|
2015-12-06 18:58:49 +00:00
|
|
|
<th>Default Connection</th>
|
2016-01-10 05:45:52 +00:00
|
|
|
<th class="hidden-xs">SFTP Username</th>
|
2015-12-06 18:58:49 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach ($servers as $server)
|
|
|
|
<tr class="dynUpdate @if($server->active !== 1)active @endif" id="{{ $server->uuidShort }}">
|
|
|
|
<td><a href="/admin/servers/view/{{ $server->id }}">{{ $server->name }}</td>
|
2016-01-05 19:45:56 +00:00
|
|
|
<td><a href="/admin/accounts/view/{{ $server->owner }}">{{ $server->a_ownerEmail }}</a></td>
|
2016-01-10 05:45:52 +00:00
|
|
|
<td class="hidden-xs"><a href="/admin/nodes/view/{{ $server->node }}">{{ $server->a_nodeName }}</a></td>
|
2015-12-06 18:58:49 +00:00
|
|
|
<td><code>{{ $server->ip }}:{{ $server->port }}</code></td>
|
2016-01-10 05:45:52 +00:00
|
|
|
<td class="hidden-xs"><code>{{ $server->username }}</code></td>
|
2015-12-06 18:58:49 +00:00
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 text-center">{!! $servers->render() !!}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
|
|
$('#sidebar_links').find("a[href='/admin/servers']").addClass('active');
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@endsection
|