ok
This commit is contained in:
80
Production/SNIPE-IT/resources/views/layouts/basic.blade.php
Normal file
80
Production/SNIPE-IT/resources/views/layouts/basic.blade.php
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ ($snipeSettings) && ($snipeSettings->site_name) ? $snipeSettings->site_name : 'Snipe-IT' }}</title>
|
||||
|
||||
<link rel="shortcut icon" type="image/ico" href="{{ ($snipeSettings) && ($snipeSettings->favicon!='') ? Storage::disk('public')->url(e($snipeSettings->favicon)) : config('app.url').'/favicon.ico' }}">
|
||||
{{-- stylesheets --}}
|
||||
<link rel="stylesheet" href="{{ url(mix('css/dist/all.css')) }}">
|
||||
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
window.snipeit = {
|
||||
settings: {
|
||||
"per_page": 50
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@livewireStyles
|
||||
|
||||
|
||||
@if (($snipeSettings) && ($snipeSettings->header_color))
|
||||
<style>
|
||||
.main-header .navbar, .main-header .logo {
|
||||
background-color: {{ $snipeSettings->header_color }};
|
||||
background: -webkit-linear-gradient(top, {{ $snipeSettings->header_color }} 0%,{{ $snipeSettings->header_color }} 100%);
|
||||
background: linear-gradient(to bottom, {{ $snipeSettings->header_color }} 0%,{{ $snipeSettings->header_color }} 100%);
|
||||
border-color: {{ $snipeSettings->header_color }};
|
||||
}
|
||||
.skin-blue .sidebar-menu > li:hover > a, .skin-blue .sidebar-menu > li.active > a {
|
||||
border-left-color: {{ $snipeSettings->header_color }};
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: {{ $snipeSettings->header_color }};
|
||||
border-color: {{ $snipeSettings->header_color }};
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
@endif
|
||||
|
||||
@if (($snipeSettings) && ($snipeSettings->custom_css))
|
||||
<style>
|
||||
{!! $snipeSettings->show_custom_css() !!}
|
||||
</style>
|
||||
@endif
|
||||
|
||||
</head>
|
||||
|
||||
<body class="hold-transition login-page">
|
||||
|
||||
@if (($snipeSettings) && ($snipeSettings->logo!=''))
|
||||
<center>
|
||||
<a href="{{ config('app.url') }}"><img id="login-logo" src="{{ Storage::disk('public')->url('').e($snipeSettings->logo) }}"></a>
|
||||
</center>
|
||||
@endif
|
||||
<!-- Content -->
|
||||
@yield('content')
|
||||
|
||||
|
||||
|
||||
<div class="text-center" style="padding-top: 100px;">
|
||||
@if (($snipeSettings) && ($snipeSettings->privacy_policy_link!=''))
|
||||
<a target="_blank" rel="noopener" href="{{ $snipeSettings->privacy_policy_link }}" target="_new">{{ trans('admin/settings/general.privacy_policy') }}</a>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
{{-- Javascript files --}}
|
||||
<script src="{{ url(mix('js/dist/all.js')) }}" nonce="{{ csrf_token() }}"></script>
|
||||
|
||||
|
||||
@stack('js')
|
||||
@livewireScripts
|
||||
</body>
|
||||
|
||||
</html>
|
15
Production/SNIPE-IT/resources/views/layouts/debug.blade.php
Normal file
15
Production/SNIPE-IT/resources/views/layouts/debug.blade.php
Normal file
@ -0,0 +1,15 @@
|
||||
@extends('layouts/basic')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{-- Page content --}}
|
||||
@section('content')
|
||||
|
||||
<pre>
|
||||
<?php print_r($data); ?>
|
||||
</pre>
|
||||
|
||||
@stop
|
1116
Production/SNIPE-IT/resources/views/layouts/default.blade.php
Normal file
1116
Production/SNIPE-IT/resources/views/layouts/default.blade.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,79 @@
|
||||
@extends('layouts.default')
|
||||
|
||||
{{-- Page title --}}
|
||||
@section('title')
|
||||
@if ($item->id)
|
||||
{{ $updateText }}
|
||||
@else
|
||||
{{ $createText }}
|
||||
@endif
|
||||
@parent
|
||||
@stop
|
||||
|
||||
@section('header_right')
|
||||
<a href="{{ URL::previous() }}" class="btn btn-primary pull-right">
|
||||
{{ trans('general.back') }}</a>
|
||||
@stop
|
||||
|
||||
|
||||
|
||||
{{-- Page content --}}
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- row -->
|
||||
<div class="row">
|
||||
<!-- col-md-8 -->
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 col-sm-12 col-sm-offset-0">
|
||||
|
||||
<form id="create-form" class="form-horizontal" method="post" action="{{ (isset($formAction)) ? $formAction : \Request::url() }}" autocomplete="off" role="form" enctype="multipart/form-data">
|
||||
|
||||
<!-- box -->
|
||||
<div class="box box-default">
|
||||
<!-- box-header -->
|
||||
<div class="box-header with-border">
|
||||
|
||||
@if ((isset($topSubmit) && ($topSubmit=='true')) || (isset($item->id)))
|
||||
|
||||
<div class="col-md-12 box-title text-right" style="padding: 0px; margin: 0px;">
|
||||
<div class="col-md-9 text-left">
|
||||
@if ($item->id)
|
||||
<h2 class="box-title" style="padding-top: 8px; padding-bottom: 7px;">
|
||||
{{ $item->display_name }}
|
||||
</h2>
|
||||
@endif
|
||||
</div>
|
||||
@if (isset($topSubmit) && ($topSubmit=='true'))
|
||||
<div class="col-md-3 text-right" style="padding-right: 10px;">
|
||||
<button type="submit" class="btn btn-primary pull-right">
|
||||
<i class="fas fa-check icon-white" aria-hidden="true"></i>
|
||||
{{ trans('general.save') }}
|
||||
</button>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div><!-- /.box-header -->
|
||||
@endif
|
||||
|
||||
<!-- box-body -->
|
||||
<div class="box-body">
|
||||
|
||||
<div style="padding-top: 30px;">
|
||||
@if ($item->id)
|
||||
{{ method_field('PUT') }}
|
||||
@endif
|
||||
|
||||
<!-- CSRF Token -->
|
||||
{{ csrf_field() }}
|
||||
@yield('inputFields')
|
||||
@include('partials.forms.edit.submit')
|
||||
</div>
|
||||
|
||||
</div> <!-- ./box-body -->
|
||||
</div> <!-- box -->
|
||||
</form>
|
||||
</div> <!-- col-md-8 -->
|
||||
|
||||
</div><!-- ./row -->
|
||||
|
||||
@stop
|
132
Production/SNIPE-IT/resources/views/layouts/setup.blade.php
Normal file
132
Production/SNIPE-IT/resources/views/layouts/setup.blade.php
Normal file
@ -0,0 +1,132 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
@section('title')
|
||||
Snipe-IT {{ trans('general.setup') }}
|
||||
@show
|
||||
</title>
|
||||
<link rel="stylesheet" href="{{ url(mix('css/dist/all.css')) }}">
|
||||
|
||||
|
||||
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
window.snipeit = {
|
||||
settings: {
|
||||
"per_page": 20
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
td, th {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.preflight-success {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.preflight-error {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.preflight-warning {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
font-size: 280%;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 250%;
|
||||
}
|
||||
|
||||
.alert {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-10 col-lg-offset-1">
|
||||
<h1 class="page-header">Snipe-IT {{ trans('general.pre_flight') }}</h1>
|
||||
</div>
|
||||
<div class="col-lg-11 col-lg-offset-1">
|
||||
|
||||
<div class="row bs-wizard" style="border-bottom:0;">
|
||||
|
||||
<div class="col-xs-3 bs-wizard-step {{ ($step > 1) ? 'complete':'active' }}">
|
||||
<div class="text-center bs-wizard-stepnum">{{ trans('general.setup_step_1') }}</div>
|
||||
<div class="progress"><div class="progress-bar"></div></div>
|
||||
<a href="{{ route('setup') }}" class="bs-wizard-dot"></a>
|
||||
<div class="bs-wizard-info text-center">{{ trans('general.setup_config_check') }}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3 bs-wizard-step {{ ($step == 2) ? 'active': (($step < 2) ? 'disabled' : 'complete') }}"><!-- complete -->
|
||||
<div class="text-center bs-wizard-stepnum">{{ trans('general.setup_step_2') }}</div>
|
||||
<div class="progress"><div class="progress-bar"></div></div>
|
||||
<a href="{{ route('setup.migrate') }}" class="bs-wizard-dot"></a>
|
||||
<div class="bs-wizard-info text-center">{{ trans('general.setup_create_database') }}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3 bs-wizard-step {{ ($step == 3) ? 'active': (($step < 3) ? 'disabled' : 'complete') }}"><!-- complete -->
|
||||
<div class="text-center bs-wizard-stepnum">{{ trans('general.setup_step_3') }}</div>
|
||||
<div class="progress"><div class="progress-bar"></div></div>
|
||||
<a href="{{ route('setup.user') }}" class="bs-wizard-dot"></a>
|
||||
<div class="bs-wizard-info text-center">{{ trans('general.setup_create_admin') }}</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-3 bs-wizard-step {{ ($step == 4) ? 'active': (($step < 4) ? 'disabled' : 'complete') }}"><!-- active -->
|
||||
<div class="text-center bs-wizard-stepnum">{{ trans('general.setup_step_4') }}</div>
|
||||
<div class="progress"><div class="progress-bar"></div></div>
|
||||
<a href="#" class="bs-wizard-dot"></a>
|
||||
<div class="bs-wizard-info text-center">{{ trans('general.setup_done') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-10 col-lg-offset-1" style="padding-top: 50px;">
|
||||
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
{{ $section }}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<!-- Content -->
|
||||
@yield('content')
|
||||
</div>
|
||||
<div class="panel-footer text-right">
|
||||
@section('button')
|
||||
@show
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Javascript files --}}
|
||||
<script src="{{ url('js/dist/all.js') }}" nonce="{{ csrf_token() }}"></script>
|
||||
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
$(function () {
|
||||
$(".select2").select2();
|
||||
});
|
||||
</script>
|
||||
@section('moar_scripts')
|
||||
@show
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user