Initial commit

master
Eirik Th S 2021-03-30 13:47:01 +02:00
commit 791e7f73d7
15 changed files with 78 additions and 0 deletions

19
LICENSE Normal file
View File

@ -0,0 +1,19 @@
MIT License Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# GroceryAssist

7
css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

0
css/index.css Normal file
View File

18
index.php Normal file
View File

@ -0,0 +1,18 @@
<?php require 'webdata/init.php'; ?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$$REPO_NAME</title>
<link rel="stylesheet" href="/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="/css/index.css" type="text/css" />
<script src="/js/jquery-3.5.1.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
</head>
<body>
</body>
</html>

7
js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
js/bootstrap.min.js.map Normal file

File diff suppressed because one or more lines are too long

2
js/index.js Normal file
View File

@ -0,0 +1,2 @@
/*jshint sub:true, esversion: 6, -W083 */

2
js/jquery-3.5.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
js/jquery-3.5.1.min.map Normal file

File diff suppressed because one or more lines are too long

4
robots.txt Normal file
View File

@ -0,0 +1,4 @@
# robots.txt for https://example.com
User-agent: *
Disallow: /

3
webdata/connection.php Normal file
View File

@ -0,0 +1,3 @@
<?php
$db = new mysqli("localhost","user","password","database");
?>

10
webdata/init.php Normal file
View File

@ -0,0 +1,10 @@
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require 'connection.php';
if($db->connect_error){
die("Connection failed: " . $blogdb->connect_error);
}

1
webdata/setup.php Normal file
View File

@ -0,0 +1 @@
<?php