snipe-it/resources/views/settings/index.blade.php

479 lines
16 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
@extends('layouts/default')
{{-- Page title --}}
@section('title')
2017-07-07 23:44:48 -07:00
{{ trans('general.admin') }}
2016-03-25 01:18:05 -07:00
@parent
@stop
@section('header_right')
<!-- search filter box -->
<div class="pull-right">
<form onsubmit="return false;">
<div class="btn-group">
<input id="searchinput" name="search" type="search" class="search form-control" placeholder="{{ trans('admin/settings/general.filter_by_keyword') }}">
<span id="searchclear" class="fas fa-times" aria-hidden="true"></span>
<button type="submit" disabled style="display: none" aria-hidden="true"></button>
</div>
</form>
</div>
<!--/ search filter box -->
@stop
2016-03-25 01:18:05 -07:00
{{-- Page content --}}
@section('content')
2017-07-07 23:44:48 -07:00
2020-04-06 20:11:13 -07:00
<style>
#searchinput {
width: 200px;
}
#searchclear {
position: absolute;
right: 5px;
top: 0;
bottom: 0;
height: 14px;
margin: auto;
font-size: 14px;
cursor: pointer;
color: #ccc;
}
</style>
<div class="row">
2020-04-06 21:05:42 -07:00
<!-- search filter list -->
2022-08-22 10:46:15 -07:00
<div class="list clearfix">
2017-07-07 23:44:48 -07:00
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.branding.index') }}" class="settings_button">
<i class="fas fa-copyright fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.brand') }}</span>
<span class="keywords" aria-hidden="true" style="display:none">{{ trans('admin/settings/general.brand_keywords') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.brand_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2016-03-25 01:18:05 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.general.index') }}" class="settings_button">
<i class="fas fa-wrench fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name"> {{ trans('admin/settings/general.general_settings') }}</span>
<span class="keywords" aria-hidden="true" style="display:none">{{ trans('admin/settings/general.general_settings_keywords') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.general_settings_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.security.index') }}" class="settings_button">
<i class="fas fa-lock fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.security') }}</span>
<span class="keywords" aria-hidden="true" style="display:none">{{ trans('admin/settings/general.security_keywords') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.security_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('groups.index') }}" class="settings_button">
<i class="fas fa-user-friends fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('general.groups') }}</span>
<span class="keywords" aria-hidden="true" style="display:none"> {{ trans('admin/settings/general.groups_keywords') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.groups_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.localization.index') }}" class="settings_button">
<i class="fas fa-globe-americas fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.localization') }}</span>
<span class="keywords" aria-hidden="true" style="display:none"> {{ trans('admin/settings/general.localization_keywords') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.localization_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.alerts.index') }}" class="settings_button">
<i class="fas fa-bell fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.notifications') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.notifications_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.slack.index') }}" class="settings_button">
<i class="fa-solid fa-hashtag fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.integrations') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.webhook_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.asset_tags.index') }}" class="settings_button">
<i class="fas fa-list-ol fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('general.asset_tags') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.asset_tags_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.barcodes.index') }}" class="settings_button">
<i class="fas fa-barcode fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.barcodes') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{!! trans('admin/settings/general.barcodes_help_overview') !!}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.labels.index') }}" class="settings_button">
<i class="fas fa-tags fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.labels') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{!! trans('admin/settings/general.labels_help') !!}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.ldap.index') }}" class="settings_button">
<i class="fas fa-sitemap fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.ldap') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.ldap_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.google.index') }}" class="settings_button">
<i class="fa-brands fa-google fa-4x" aria-hidden="true"></i>
<br><br>
<span class="name">Google</span>
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.google_login') }}</p>
</div>
</div>
</div>
2020-05-05 07:06:19 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.saml.index') }}" class="settings_button">
<i class="fas fa-sign-in-alt fa-4x" aria-hidden="true"></i>
2020-05-05 07:06:19 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.saml') }}</span>
2020-05-05 07:06:19 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.saml_help') }}</p>
2020-05-05 07:06:19 -07:00
</div>
</div>
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.backups.index') }}" class="settings_button">
<i class="fas fa-file-archive fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.backups') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{!! trans('admin/settings/general.backups_help') !!}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
</div>
2020-04-21 06:29:08 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.logins.index') }}" class="settings_button">
<i class="fas fa-crosshairs fa-4x" aria-hidden="true"></i>
2020-04-21 06:29:08 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.login') }}</span>
2020-04-21 06:29:08 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.login_help') }} </p>
2020-04-21 06:29:08 -07:00
</div>
</div>
</div>
2020-04-06 21:05:42 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.oauth.index') }}" class="settings_button">
<i class="fas fa-user-secret fa-4x" aria-hidden="true"></i>
2020-04-06 20:47:05 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.oauth') }}</span>
2020-04-06 20:47:05 -07:00
</a>
2020-04-06 21:05:42 -07:00
</h5>
<p class="help-block">{{ trans('admin/settings/general.oauth_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
</div>
2020-04-06 21:05:42 -07:00
@if (config('app.debug')=== true)
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-default">
<div class="box-body text-center">
<h5>
<a href="{{ route('settings.phpinfo.index') }}" class="settings_button">
<i class="fab fa-php fa-4x" aria-hidden="true"></i>
2020-04-06 21:05:42 -07:00
<br><br>
<span class="name">{{ trans('admin/settings/general.php_overview') }}</span>
<span class="keywords" aria-hidden="true" style="display:none">{{ trans('admin/settings/general.php_overview_keywords') }}</span>
2020-04-06 21:05:42 -07:00
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.php_overview_help') }}</p>
2020-04-06 21:05:42 -07:00
</div>
</div>
</div>
@endif
2017-07-07 23:44:48 -07:00
2017-07-07 23:44:48 -07:00
<div class="col-md-4 col-lg-3 col-sm-6 col-xl-1">
<div class="box box-danger">
<div class="box-body text-center">
2020-04-06 20:47:05 -07:00
<h5>
<a href="{{ route('settings.purge.index') }}" class="link-danger">
<i class="fas fa-trash fa-4x" aria-hidden="true"></i>
<br><br>
<span class="name">{{ trans('admin/settings/general.purge') }}</span>
<span class="keywords" aria-hidden="true" style="display:none">{{ trans('admin/settings/general.purge_keywords') }}</span>
</a>
</h5>
<p class="help-block">{{ trans('admin/settings/general.purge_help') }}</p>
2017-07-07 23:44:48 -07:00
</div>
</div>
2020-04-06 20:47:05 -07:00
</div>
2017-07-07 23:44:48 -07:00
</div>
</div>
2017-07-07 23:44:48 -07:00
<div class="row">
<div class="col-md-12">
<div class="box box-default">
<div class="box-header">
2020-03-31 23:36:56 -07:00
<h2 class="box-title">{{ trans('admin/settings/general.system') }}</h2>
2017-07-07 23:44:48 -07:00
</div>
<div class="box-body">
<div class="container row row-striped" style="width:97%">
2020-03-31 17:29:06 -07:00
2020-04-06 21:17:26 -07:00
<!-- row -->
2020-03-31 17:29:06 -07:00
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.snipe_version') }}:</strong>
2020-03-31 17:29:06 -07:00
</div>
<div class="col-md-4">
{{ config('version.app_version') }} build {{ config('version.build_version') }} ({{ config('version.hash_version') }})
</div>
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.license') }}:</strong>
2020-03-31 17:29:06 -07:00
</div>
<div class="col-md-4">
<a href="https://www.gnu.org/licenses/agpl-3.0.en.html" rel="noopener">AGPL3</a>
</div>
</div>
2020-04-06 21:17:26 -07:00
<!-- / row -->
2020-03-31 17:29:06 -07:00
2020-04-06 21:17:26 -07:00
<!-- row -->
2020-03-31 17:29:06 -07:00
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.php') }}:</strong>
2020-03-31 17:29:06 -07:00
</div>
<div class="col-md-4">
{{ phpversion() }}
</div>
2020-04-06 21:17:26 -07:00
2020-03-31 17:29:06 -07:00
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.laravel') }}:</strong>
2020-03-31 17:29:06 -07:00
</div>
<div class="col-md-4">
{{ $snipeSettings->lar_ver() }}
</div>
</div>
<!-- row -->
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.timezone') }}:</strong>
</div>
<div class="col-md-4">
{{ config('app.timezone') }}
</div>
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.database_driver') }}:</strong>
</div>
<div class="col-md-4">
{{ config('database.default') }}
</div>
</div>
<!-- row -->
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.mail_from') }}:</strong>
</div>
<div class="col-md-4">
{{ config('mail.from.name') }}
<code>&lt;{{ config('mail.from.address') }}&gt;</code>
</div>
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.mail_reply_to') }}:</strong>
</div>
<div class="col-md-4">
{{ config('mail.reply_to.name') }}
<code>&lt;{{ config('mail.reply_to.address') }}&gt;</code>
</div>
</div>
<!-- row -->
<div class="row">
<div class="col-md-2">
<strong>{{ trans('admin/settings/general.bs_table_storage') }}:</strong>
</div>
<div class="col-md-10">
{{ config('session.bs_table_storage') }}
</div>
</div>
</div>
2020-03-31 17:29:06 -07:00
</div>
2020-04-06 21:17:26 -07:00
<!--/ row -->
</div>
</div> <!-- /box-body-->
</div> <!--/box-default-->
2024-05-20 10:48:57 -07:00
2020-04-06 20:11:13 -07:00
@section('moar_scripts')
<script nonce="{{ csrf_token() }}">
var options = {
valueNames: [ 'name', 'keywords', 'summary', 'help-block']
};
var settingList = new List('setting-list', options);
2020-04-06 20:11:13 -07:00
$("#searchclear").click(function(){
$("#searchinput").val('');
settingList.search();
2020-04-06 20:11:13 -07:00
});
2020-04-06 20:11:13 -07:00
</script>
@endsection
@stop
2017-07-07 23:44:48 -07:00