Rename (unused) files.

This commit is contained in:
James Cole 2024-03-09 12:11:18 +01:00
parent 0ff405d1e0
commit a3fd99a498
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
12 changed files with 70 additions and 84 deletions

View File

@ -19,10 +19,28 @@
*/ */
$color-mode-type: media-query; $color-mode-type: media-query;
$link-decoration: none !default;
.balance-box {
container: sidebar / inline-size;
}
.form-control {
appearance: auto;
}
// Bootstrap // Bootstrap
// @import "bootstrap/scss/bootstrap";
// admin LTE
@import "admin-lte/src/scss/adminlte";
// @import "~bootstrap-sass/assets/stylesheets/bootstrap"; // @import "~bootstrap-sass/assets/stylesheets/bootstrap";
// Font awesome // Font awesome
//@import "~font-awesome/css/font-awesome"; //@import "~font-awesome/css/font-awesome";
$fa-font-path: "@fortawesome/fontawesome-free/webfonts"; $fa-font-path: "@fortawesome/fontawesome-free/webfonts";

View File

@ -48,11 +48,11 @@
<form action="{{ route('login.post') }}" method="post"> <form action="{{ route('login.post') }}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}"/> <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
@if(config('firefly.authentication_guard') === 'web') @if(config('firefly.authentication_guard') === 'web')
<div class="input-group mb-3"> <input type="email" name="email" " class="form-control" placeholder="{{ trans('form.email') }}" value="@if(true===$IS_DEMO_SITE){{ $DEMO_USERNAME }}@else{{ $email }}@endif"> <div class="input-group mb-3"> <input type="email" name="email" autofocus required class="form-control" placeholder="{{ trans('form.email') }}" value="@if(true===$IS_DEMO_SITE){{ $DEMO_USERNAME }}@else{{ $email }}@endif">
<div class="input-group-text"> <em class="fa-solid fa-envelope"></em> </div> <div class="input-group-text"> <em class="fa-solid fa-envelope"></em> </div>
</div> </div>
@else @else
<div class="input-group mb-3"> <input type="text" autocomplete="username" " name="{{ $usernameField }}" class="form-control" placeholder="{{ trans('form.login_name') }}" value="{{ $email }}"> <div class="input-group mb-3"> <input type="text" autocomplete="username" autofocus required name="{{ $usernameField }}" class="form-control" placeholder="{{ trans('form.login_name') }}" value="{{ $email }}">
<div class="input-group-text"> <em class="fa-solid fa-user"></em> </div> <div class="input-group-text"> <em class="fa-solid fa-user"></em> </div>
</div> </div>
@endif @endif

View File

@ -1,108 +1,81 @@
@extends('layout.v2.error') @extends('layout.v2.error')
@section('content') @section('content')
<!--
<title>Firefly III Exception :(</title>
-->
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<h1><a href="{{ route('index') }}"><strong>Firefly</strong> III</a></h1> <h1><a href="{{ route('index') }}"><strong>Firefly</strong> III</a></h1>
</div> </div>
</div> </div>
@endsection
<!DOCTYPE html>
<html lang="{{ trans('config.html_language') }}">
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex, nofollow, noarchive, noodp, NoImageIndex, noydir">
<title>Firefly III Exception :(</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<base href="{{ route('index') }}/">
{# CSS things #}
{# libraries #}
<link href="v1/lib/bs/css/bootstrap.min.css?v={{ FF_VERSION }}" rel="stylesheet" type="text/css"
nonce="{{ JS_NONCE }}">
<link href="v1/lib/fa/css/font-awesome.min.css?v={{ FF_VERSION }}" rel="stylesheet" type="text/css"
nonce="{{ JS_NONCE }}">
<link href="v1/css/daterangepicker.css?v={{ FF_VERSION }}" rel="stylesheet" type="text/css" nonce="{{ JS_NONCE }}">
{# the theme #}
<link href="v1/lib/adminlte/css/AdminLTE.min.css?v={{ FF_VERSION }}" rel="stylesheet" type="text/css"
nonce="{{ JS_NONCE }}">
{# favicons #}
{% include('partials.favicons') %}
</head>
<body class="container">
<div class="row"> <div class="row">
<div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12"> <div class="col">
<h1><a href="{{ route('index') }}"><strong>Firefly</strong>III</a></h1>xxxxxx <h3 class="text-danger">{{ trans('errors.error_occurred') }}</h3>
</div>
</div>
<div class="row">
<div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12">
<h3 class="text-info">{{ trans('errors.error_occurred') }}</h3>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12"> <div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12">
<p> <p>
{{ trans('errors.error_not_recoverable') }} {{ trans('errors.error_not_recoverable') }}
</p> </p>
<p class="text-danger"> <p class="text-danger">
{{ exception.getMessage |default('General unknown errror') }} {{ $exception->getMessage() ?? 'General unknown error' }}
</p> </p>
<p> <p>
{{ trans('errors.error_location', {file: exception.getFile, line: exception.getLine, code: exception.getCode })|raw }} {!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' => $exception->getLine(), 'code' => $exception->getCode() ]) !!}
</p> </p>
</div> </div>
</div> </div>
{% if not debug %}
@if(!$debug)
<div class="row"> <div class="row">
<div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12"> <div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12">
<h4> <h4>
{{ trans('errors.more_info') }} {{ trans('errors.more_info') }}
</h4> </h4>
<p> <p>
{{ trans('errors.collect_info')|raw }} {!! trans('errors.collect_info') !!}
{{ trans('errors.collect_info_more')|raw }} {!! trans('errors.collect_info_more') !!}
</p> </p>
<h4> <h4>
{{ trans('errors.github_help') }} {{ trans('errors.github_help') }}
</h4> </h4>
<p> <p>
{{ trans('errors.github_instructions')|raw }} {{ trans('errors.github_instructions') }} |raw
</p> </p>
<ol> <ol>
<li>{{ trans('errors.use_search') }}</li> <li>{{ trans('errors.use_search') }}</li>
<li>{{ trans('errors.include_info', { link: route('debug') })|raw }}</li> <li>{{ trans('errors.include_info', ['link' => route('debug') ]) }}</li> |raw
<li>{{ trans('errors.tell_more') }}</li> <li>{{ trans('errors.tell_more') }}</li>
<li>{{ trans('errors.include_logs') }}</li> <li>{{ trans('errors.include_logs') }}</li>
<li>{{ trans('errors.what_did_you_do') }}</li> <li>{{ trans('errors.what_did_you_do') }}</li>
</ol> </ol>
</div> </div>
</div> </div>
{% endif %} @endif
@if($debug)
{% if debug %}
<div class="row"> <div class="row">
<div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12"> <div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12">
<h4>{{ trans('errors.error') }}</h4> <h4>{{ trans('errors.error') }}</h4>
<p> <p>
{{ trans('errors.error_location', {file: exception.getFile, line: exception.getLine, code: exception.getCode })|raw }} {!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' => $exception->getLine(), 'code' => $exception->getCode() ]) !!}
</p> </p>
<h4> <h4>
{{ trans('errors.stacktrace') }} {{ trans('errors.stacktrace') }}
</h4> </h4>
<div style="font-family: monospace;font-size:11px;"> <div style="font-family: monospace;font-size:11px;">
{{ exception.getTraceAsString|nl2br }} {!! nl2br($exception->getTraceAsString()) !!}
</div> </div>
</div> </div>
</div> </div>
{% endif %} @endif
@endsection
</body>
</html>

View File

@ -66,16 +66,11 @@
Firefly III Firefly III
</title> </title>
<!--begin::Primary Meta Tags-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--
<!--begin::Fonts-->
<link href="v2/css/fonts.css" rel="stylesheet"> <link href="v2/css/fonts.css" rel="stylesheet">
<!--end::Fonts-->
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="v2/css/adminlte.css"> <link rel="stylesheet" href="v2/css/adminlte.css">
<!--end::Required Plugin(AdminLTE)--> -->
@yield('vite') @yield('vite')
</head> </head>