snipe-it/resources/views/layouts/setup.blade.php

133 lines
4.4 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
<!DOCTYPE html>
2020-03-25 16:32:33 -07:00
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
2016-03-25 01:18:05 -07:00
<html>
<head>
<title>
@section('title')
Snipe-IT Setup
@show
</title>
<link rel="stylesheet" href="{{ mix('css/all.css') }}">
2017-12-12 02:31:36 -08:00
2017-09-28 19:45:15 -07:00
<script nonce="{{ csrf_token() }}">
window.snipeit = {
settings: {
2016-06-02 17:17:50 -07:00
"per_page": 20
}
};
</script>
2016-03-25 01:18:05 -07:00
<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 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">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">Configuration 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">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">Create Database Tables</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">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">Create Admin User</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">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"> Finished!</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(mix('js/app.js')) }}" nonce="{{ csrf_token() }}"></script>
<script src="{{ url(mix('js/vendor.js')) }}" nonce="{{ csrf_token() }}"></script>
2016-11-29 01:19:05 -08:00
2017-09-28 19:45:15 -07:00
<script nonce="{{ csrf_token() }}">
$(function () {
$(".select2").select2();
});
</script>
2016-11-29 01:19:05 -08:00
@section('moar_scripts')
@show
2016-03-25 01:18:05 -07:00
</body>
</html>