Begin moving packs to new service mechanisms, refactor exceptions for services
This commit is contained in:
parent
46cb71e69d
commit
9d3dca87f2
62 changed files with 492 additions and 303 deletions
|
@ -173,7 +173,7 @@ return [
|
|||
'service_header' => 'Service Control',
|
||||
'service' => [
|
||||
'list' => [
|
||||
'title' => 'List Services',
|
||||
'title' => 'List Service',
|
||||
'desc' => 'Allows listing of all services configured on the system.',
|
||||
],
|
||||
'view' => [
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
@extends('layouts.admin')
|
||||
|
||||
@section('title')
|
||||
Services → {{ $service->name }} → Functions
|
||||
Service → {{ $service->name }} → Functions
|
||||
@endsection
|
||||
|
||||
@section('content-header')
|
||||
<h1>{{ $service->name }}<small>Extend the default daemon functions using this service file.</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Services</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Service</a></li>
|
||||
<li><a href="{{ route('admin.services.view', $service->id) }}">{{ $service->name }}</a></li>
|
||||
<li class="active">Functions</li>
|
||||
</ol>
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
@extends('layouts.admin')
|
||||
|
||||
@section('title')
|
||||
Services
|
||||
Service
|
||||
@endsection
|
||||
|
||||
@section('content-header')
|
||||
<h1>Services<small>All services currently available on this system.</small></h1>
|
||||
<h1>Service<small>All services currently available on this system.</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li class="active">Services</li>
|
||||
<li class="active">Service</li>
|
||||
</ol>
|
||||
@endsection
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
|||
<div class="col-xs-12">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Configured Services</h3>
|
||||
<h3 class="box-title">Configured Service</h3>
|
||||
<div class="box-tools">
|
||||
<a href="{{ route('admin.services.new') }}"><button class="btn btn-primary btn-sm">Create New</button></a>
|
||||
</div>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<h1>New Service<small>Configure a new service to deploy to all nodes.</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Services</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Service</a></li>
|
||||
<li class="active">New</li>
|
||||
</ol>
|
||||
@endsection
|
||||
|
@ -64,7 +64,7 @@
|
|||
<label class="control-label">Folder Name</label>
|
||||
<div>
|
||||
<input type="text" name="folder" class="form-control" value="{{ old('folder') }}" />
|
||||
<p class="text-muted"><small>Services are downloaded by the daemon and stored in a folder using this name. The storage location is <code>/srv/daemon/services/{NAME}</code> by default.</small></p>
|
||||
<p class="text-muted"><small>Service are downloaded by the daemon and stored in a folder using this name. The storage location is <code>/srv/daemon/services/{NAME}</code> by default.</small></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
@extends('layouts.admin')
|
||||
|
||||
@section('title')
|
||||
Services → New Option
|
||||
Service → New Option
|
||||
@endsection
|
||||
|
||||
@section('content-header')
|
||||
<h1>New Option<small>Create a new service option to assign to servers.</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Services</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Service</a></li>
|
||||
<li class="active">New Service Option</li>
|
||||
</ol>
|
||||
@endsection
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
@extends('layouts.admin')
|
||||
|
||||
@section('title')
|
||||
Services → Option: {{ $option->name }} → Scripts
|
||||
Service → Option: {{ $option->name }} → Scripts
|
||||
@endsection
|
||||
|
||||
@section('content-header')
|
||||
<h1>{{ $option->name }}<small>Manage install and upgrade scripts for this service option.</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Services</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Service</a></li>
|
||||
<li><a href="{{ route('admin.services.view', $option->service->id) }}">{{ $option->service->name }}</a></li>
|
||||
<li class="active">{{ $option->name }}</li>
|
||||
</ol>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<h1>{{ $option->name }}<small>Managing variables for this service option.</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Services</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Service</a></li>
|
||||
<li><a href="{{ route('admin.services.view', $option->service->id) }}">{{ $option->service->name }}</a></li>
|
||||
<li><a href="{{ route('admin.services.option.view', $option->id) }}">{{ $option->name }}</a></li>
|
||||
<li class="active">Variables</li>
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
@extends('layouts.admin')
|
||||
|
||||
@section('title')
|
||||
Services → Option: {{ $option->name }}
|
||||
Service → Option: {{ $option->name }}
|
||||
@endsection
|
||||
|
||||
@section('content-header')
|
||||
<h1>{{ $option->name }}<small>{{ str_limit($option->description, 50) }}</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Services</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Service</a></li>
|
||||
<li><a href="{{ route('admin.services.view', $option->service->id) }}">{{ $option->service->name }}</a></li>
|
||||
<li class="active">{{ $option->name }}</li>
|
||||
</ol>
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
@extends('layouts.admin')
|
||||
|
||||
@section('title')
|
||||
Services → {{ $service->name }}
|
||||
Service → {{ $service->name }}
|
||||
@endsection
|
||||
|
||||
@section('content-header')
|
||||
<h1>{{ $service->name }}<small>{{ str_limit($service->description, 50) }}</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Services</a></li>
|
||||
<li><a href="{{ route('admin.services') }}">Service</a></li>
|
||||
<li class="active">{{ $service->name }}</li>
|
||||
</ol>
|
||||
@endsection
|
||||
|
@ -71,7 +71,7 @@
|
|||
<label class="control-label">Folder Name</label>
|
||||
<div>
|
||||
<input type="text" name="folder" class="form-control" value="{{ $service->folder }}" />
|
||||
<p class="text-muted"><small>Services are downloaded by the daemon and stored in a folder using this name. The storage location is <code>/srv/daemon/services/{NAME}</code> by default.</small></p>
|
||||
<p class="text-muted"><small>Service are downloaded by the daemon and stored in a folder using this name. The storage location is <code>/srv/daemon/services/{NAME}</code> by default.</small></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
<li class="header">SERVICE MANAGEMENT</li>
|
||||
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.services') ?: 'active' }}">
|
||||
<a href="{{ route('admin.services') }}">
|
||||
<i class="fa fa-th-large"></i> <span>Services</span>
|
||||
<i class="fa fa-th-large"></i> <span>Service</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ ! starts_with(Route::currentRouteName(), 'admin.packs') ?: 'active' }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue