This commit is contained in:
foobar
2022-08-21 21:39:06 +02:00
commit 27c1969aaa
7354 changed files with 897064 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>

98
public/css/style.css Normal file
View File

@@ -0,0 +1,98 @@
body {
background-color: #fff !important;
overflow: scroll !important;
background: #833ab4 !important;
background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(29, 252, 253, 1) 50%, rgba(252, 176, 69, 1) 100%) !important
}
img {
vertical-align: unset
}
.panel-default {
width: 400px
}
.table-striped>tbody>tr:nth-child(2n+1)>td,
.table-striped>tbody>tr:nth-child(2n+1)>th {
background-color: #fff;
border-top: none
}
body {
font-family: 'Roboto', sans-serif;
overflow: hidden;
background: #009688;
font-family: Lato
}
div.widget {
position: relative;
margin: 20px auto;
background-color: #fcfdfd;
border-radius: 10px;
padding: 25px;
box-shadow: rgba(6, 24, 44, 0.4) 0 0 0 2px, rgba(6, 24, 44, 0.65) 0 4px 6px -1px, rgba(255, 255, 255, 0.08) 0 1px 0 inset
}
div.city {
font-size: 21px;
font-weight: 700;
text-transform: uppercase;
padding-top: 5px;
color: rgba(0, 0, 0, 0.7)
}
div.temp {
font-size: 81px;
color: rgba(0, 0, 0, 0.9);
font-weight: 100;
margin: -20px 0
}
div.panel {
display: inline-block;
width: 100%
}
.weather-description {
font-size: 40px;
color: rgba(0, 0, 0, 0.9);
font-weight: 100;
line-height: 1
}
.panel {
margin-bottom: 10px
}
.fa-btn {
margin-right: 6px
}
#x {
position: absolute;
top: -10px;
right: -10px;
padding: 0 5px;
font-weight: 300
}
.table-text {
border-bottom: 1px solid #ccc
}
.panel-heading {
width: 50%;
float: left;
height: 45px
}
.panel-search {
width: 100%;
margin-bottom: 20px
}
#refresh {
float: right
}

0
public/favicon.ico Normal file
View File

55
public/index.php Normal file
View File

@@ -0,0 +1,55 @@
<?php
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Check If The Application Is Under Maintenance
|--------------------------------------------------------------------------
|
| If the application is in maintenance / demo mode via the "down" command
| we will load this file so that any pre-rendered content can be shown
| instead of starting the framework, which could cause an exception.
|
*/
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| this application. We just need to utilize it! We'll simply require it
| into the script here so we don't need to manually load our classes.
|
*/
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);

2
public/robots.txt Normal file
View File

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