first commit

This commit is contained in:
2020-03-21 15:52:49 +01:00
commit 3f96cc6fe3
126 changed files with 57882 additions and 0 deletions

21
public/.htaccess Normal file
View File

@@ -0,0 +1,21 @@
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

478
public/css/app.css vendored Normal file
View File

@@ -0,0 +1,478 @@
@import url(https://fonts.googleapis.com/css?family=Nunito);@import url(https://fonts.googleapis.com/css?family=Open+Sans);body {
margin: 0;
}
div,
input,
nav,
aside {
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
body {
font-family: "Open Sans", sans-serif;
font-size: 1.6rem;
color: #1a1a1a;
}
.relative {
position: relative;
}
.absolute {
position: absolute;
}
.block {
display: block;
}
.inline {
display: inline;
}
.flex {
display: flex;
}
.flex-col {
display: flex;
flex-direction: column;
}
.flex-center {
display: flex;
align-items: center;
}
.flex-end {
display: flex;
justify-content: flex-end;
}
.flex-between {
display: flex;
justify-content: space-between;
}
.width-full {
width: 100%;
}
.m-auto {
margin-left: auto;
margin-right: auto;
}
.p-auto {
padding-left: auto;
padding-right: auto;
}
.m-1 {
margin: 1rem;
}
.mx-1 {
margin-left: 1rem;
margin-right: 1rem;
}
.my-1 {
margin-top: 1rem;
margin-bottom: 1rem;
}
.mt-1 {
margin-top: 1rem;
}
.ml-1 {
margin-left: 1rem;
}
.mr-1 {
margin-right: 1rem;
}
.mb-1 {
margin-bottom: 1rem;
}
.p-1 {
padding: 1rem;
}
.px-1 {
padding-left: 1rem;
padding-right: 1rem;
}
.py-1 {
padding-top: 1rem;
padding-bottom: 1rem;
}
.pt-1 {
padding-top: 1rem;
}
.pl-1 {
padding-left: 1rem;
}
.pb-1 {
padding-bottom: 1rem;
}
.m-2 {
margin: 2rem;
}
.mx-2 {
margin-left: 2rem;
margin-right: 2rem;
}
.my-2 {
margin-top: 2rem;
margin-bottom: 2rem;
}
.mt-2 {
margin-top: 2rem;
}
.ml-2 {
margin-left: 2rem;
}
.mr-2 {
margin-right: 2rem;
}
.mb-2 {
margin-bottom: 2rem;
}
.p-2 {
padding: 2rem;
}
.px-2 {
padding-left: 2rem;
padding-right: 2rem;
}
.py-2 {
padding-top: 2rem;
padding-bottom: 2rem;
}
.pt-2 {
padding-top: 2rem;
}
.pl-2 {
padding-left: 2rem;
}
.pb-2 {
padding-bottom: 2rem;
}
.m-3 {
margin: 3rem;
}
.mx-3 {
margin-left: 3rem;
margin-right: 3rem;
}
.my-3 {
margin-top: 3rem;
margin-bottom: 3rem;
}
.mt-3 {
margin-top: 3rem;
}
.ml-3 {
margin-left: 3rem;
}
.mr-3 {
margin-right: 3rem;
}
.mb-3 {
margin-bottom: 3rem;
}
.p-3 {
padding: 3rem;
}
.px-3 {
padding-left: 3rem;
padding-right: 3rem;
}
.py-3 {
padding-top: 3rem;
padding-bottom: 3rem;
}
.pt-3 {
padding-top: 3rem;
}
.pl-3 {
padding-left: 3rem;
}
.pb-3 {
padding-bottom: 3rem;
}
.m-4 {
margin: 4rem;
}
.mx-4 {
margin-left: 4rem;
margin-right: 4rem;
}
.my-4 {
margin-top: 4rem;
margin-bottom: 4rem;
}
.mt-4 {
margin-top: 4rem;
}
.ml-4 {
margin-left: 4rem;
}
.mr-4 {
margin-right: 4rem;
}
.mb-4 {
margin-bottom: 4rem;
}
.p-4 {
padding: 4rem;
}
.px-4 {
padding-left: 4rem;
padding-right: 4rem;
}
.py-4 {
padding-top: 4rem;
padding-bottom: 4rem;
}
.pt-4 {
padding-top: 4rem;
}
.pl-4 {
padding-left: 4rem;
}
.pb-4 {
padding-bottom: 4rem;
}
.m-5 {
margin: 5rem;
}
.mx-5 {
margin-left: 5rem;
margin-right: 5rem;
}
.my-5 {
margin-top: 5rem;
margin-bottom: 5rem;
}
.mt-5 {
margin-top: 5rem;
}
.ml-5 {
margin-left: 5rem;
}
.mr-5 {
margin-right: 5rem;
}
.mb-5 {
margin-bottom: 5rem;
}
.p-5 {
padding: 5rem;
}
.px-5 {
padding-left: 5rem;
padding-right: 5rem;
}
.py-5 {
padding-top: 5rem;
padding-bottom: 5rem;
}
.pt-5 {
padding-top: 5rem;
}
.pl-5 {
padding-left: 5rem;
}
.pb-5 {
padding-bottom: 5rem;
}
.z-10 {
z-index: 10;
}
.btn,
.btn-secondary,
.btn-primary {
font-size: 1.6rem;
border: 1px solid transparent;
padding: 0.5rem;
border-radius: 0.5rem;
cursor: pointer;
box-shadow: 1px 1px 2px grey;
transition: background-color 0.2s, color 0.2s;
}
.btn:hover,
.btn-secondary:hover,
.btn-primary:hover {
transition: background-color 0.2s, color 0.2s;
}
.btn-primary {
background-color: #53900F;
border-color: #53900F;
color: #ffffff;
}
.btn-primary:hover {
background-color: #1F2605;
color: #D6CE15;
}
.btn-secondary {
background-color: #A4A71E;
border-color: #53900F;
color: #1F2605;
}
.btn-secondary:hover {
background-color: #1F2605;
color: #D6CE15;
}
label {
display: block;
}
input {
width: 100%;
border: 1px solid #D6CE15;
background-color: #eeeeee;
font-size: 1.6rem;
padding: 0.5rem;
border-radius: 0.5rem;
}
input:focus {
background-color: #ffffff;
border-color: #1F2605;
}
input[type=checkbox] {
width: unset;
}
body {
overflow: hidden;
height: 100vh;
}
main {
overflow: auto;
width: 100%;
height: calc(100vh - 4.5rem);
}
nav {
background-color: #53900F;
height: 4.5rem;
}
nav .site-logo {
width: 3rem;
fill: #1F2605;
transition: fill 0.2s;
}
nav .site-logo:hover {
fill: #1F6521;
transition: fill 0.2s;
}
aside {
background-color: #A4A71E;
height: calc(100vh - 4.5rem);
width: 15rem;
flex-shrink: 0;
}
.auth {
max-width: 350px;
width: 100%;
background-color: #D6CE15;
margin: 3rem auto;
border-radius: 1rem;
box-shadow: 1px 1px 2px grey;
}
.auth .title-page {
font-size: 2.4rem;
font-weight: bold;
text-align: center;
color: #1F2605;
}
.logo {
text-align: center;
font-size: 2.8rem;
color: #1F2605;
font-weight: bold;
}

0
public/favicon.ico Normal file
View File

60
public/index.php Normal file
View File

@@ -0,0 +1,60 @@
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
|
*/
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);

36418
public/js/app.js vendored Normal file

File diff suppressed because it is too large Load Diff

4
public/mix-manifest.json Normal file
View File

@@ -0,0 +1,4 @@
{
"/js/app.js": "/js/app.js",
"/css/app.css": "/css/app.css"
}

2
public/robots.txt Normal file
View File

@@ -0,0 +1,2 @@
User-agent: *
Disallow:

28
public/web.config Normal file
View File

@@ -0,0 +1,28 @@
<!--
Rewrites requires Microsoft URL Rewrite Module for IIS
Download: https://www.microsoft.com/en-us/download/details.aspx?id=47337
Debug Help: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules
-->
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)/$" ignoreCase="false" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Redirect" redirectType="Permanent" url="/{R:1}" />
</rule>
<rule name="Imported Rule 2" stopProcessing="true">
<match url="^" ignoreCase="false" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>