Initial commit

This commit is contained in:
2018-04-02 08:23:14 +02:00
commit 9b83d1dc09
151 changed files with 20566 additions and 0 deletions

5
webroot/.htaccess Normal file
View File

@@ -0,0 +1,5 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

455
webroot/css/base.css Normal file

File diff suppressed because one or more lines are too long

525
webroot/css/cake.css Normal file
View File

@@ -0,0 +1,525 @@
.disabled a,
a.disabled {
pointer-events: none;
}
a:hover {
color: #15848F;
}
a {
color: #1798A5;
}
.side-nav li a:not(.button) {
color: #15848F;
}
.side-nav li a:not(.button):hover {
color: #15848F;
}
header {
background-color: #D33C44;
color: #ffffff;
font-size: 30px;
height: 84px;
line-height: 64px;
padding: 16px 0px;
box-shadow: 0px 1px rgba(0, 0, 0, 0.24);
}
header .header-title {
padding-left:80px
}
legend {
color:#15848F;
}
.row {
max-width: 80rem;
}
.actions.columns {
margin-top:1rem;
border-left: 5px solid #15848F;
padding-left: 15px;
padding: 32px 20px;
}
.actions.columns h3 {
color:#15848F;
}
.related table {
border: 0;
width: 100%;
table-layout: fixed;
}
.index table thead {
height: 3.5rem;
}
.header-help {
float: right;
margin-right:2rem;
margin-top: -80px;
font-size:16px;
}
.header-help span {
font-weight: normal;
text-align: center;
text-decoration: none;
line-height: 1;
white-space: nowrap;
display: inline-block;
padding: 0.25rem 0.5rem 0.375rem;
font-size: 0.8rem;
background-color: #0097a7;
color: #FFF;
border-radius: 1000px;
}
.header-help a {
color: #fff;
}
ul.pagination li a {
color: rgba(0, 0 ,0 , 0.54);
}
ul.pagination li.active a {
background-color: #DCE47E;
color: #FFF;
font-weight: bold;
cursor: default;
}
ul.pagination .disabled:hover a {
background: none;
}
.paginator {
text-align: center;
}
.paginator ul.pagination li {
float: none;
display: inline-block;
}
.paginator p {
text-align: right;
color: rgba(0, 0 ,0 , 0.54);
}
.asc:after {
content: " \2193";
}
.desc:after {
content: " \2191";
}
.form .error-message {
display: block;
padding: 0.375rem 0.5625rem 0.5625rem;
margin-top: -1px;
margin-bottom: 1rem;
font-size: 0.75rem;
font-weight: normal;
font-style: italic;
color: rgba(0, 0, 0, 0.54);
}
.required > label {
font-weight: bold;
}
.required > label:after {
content: ' *';
color: #C3232D;
}
select[multiple] {
min-height:150px;
background: none;
}
input[type=checkbox],
input[type=radio] {
margin-right: 0.5em;
}
.date select,
.time select,
.datetime select {
display: inline;
width: auto;
margin-right: 10px;
}
.error label,
.error label.error {
color: #C3232D;
}
.view h2 {
color: #6F6F6F;
}
.view .columns.strings {
border-radius: 3px;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
margin-right:0.7rem;
}
.view .numbers {
background-color: #B7E3EC;
color: #FFF;
border-radius: 3px;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
margin-right: 0.7rem;
}
.view .columns.dates {
border-radius: 3px;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
margin-right:0.7rem;
background-color:#DCE47E;
color: #fff;
}
.view .columns.booleans {
border-radius: 3px;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
margin-right:0.7rem;
background-color: #8D6E65;
color: #fff;
}
.view .strings p {
border-bottom: 1px solid #eee;
}
.view .numbers .subheader, .view .dates .subheader {
color:#747474;
}
.view .booleans .subheader {
color: #E9E9E9
}
.view .texts .columns {
margin-top:1.2rem;
border-bottom: 1px solid #eee;
}
/** Notices and Errors **/
.cake-error,
.cake-debug,
.notice,
p.error,
p.notice {
display: block;
clear: both;
background-repeat: repeat-x;
margin-bottom: 18px;
padding: 7px 14px;
border-radius: 3px;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
}
.cake-debug,
.notice,
p.notice {
color: #000000;
background: #ffcc00;
}
.cake-error,
p.error {
color: #fff;
background: #C3232D;
}
pre {
background: none repeat scroll 0% 0% #FFF;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
margin: 15px 0px;
color: rgba(0, 0 ,0 , 0.74);
padding:5px;
}
.cake-error .cake-stack-trace {
margin-top:10px;
}
.cake-stack-trace code {
background: inherit;
border:0;
}
.cake-code-dump .code-highlight {
display: block;
background-color: #FFC600;
}
.cake-error a,
.cake-error a:hover {
color:#fff;
text-decoration: underline;
}
.checks {
padding:30px;
color: #626262;
background-color: #B7E3EC;
border-radius: 3px;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
margin-bottom: 2em;
}
.checks h4 {
margin-bottom: 1.5rem;
}
.checks hr {
border: 0;
height: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.checks .success,
.checks .problem {
margin-left: 10px;
}
.checks .success:before,
.checks .problem:before {
line-height: 0px;
font-size: 28px;
height: 12px;
width: 12px;
border-radius: 15px;
text-align: center;
vertical-align: middle;
display: inline-block;
position: relative;
left: -11px;
}
.checks .success:before {
content: "✓";
color: green;
margin-right: 9px;
}
.checks .problem:before {
content: "✘";
color: red;
margin-right: 9px;
}
.top-bar.expanded .title-area {
background: #01545b;
}
.top-bar.expanded, .top-bar,.top-bar-section ul li,.top-bar-section li:not(.has-form) a:not(.button) {
background: #116d76;
}
.top-bar-section li:not(.has-form) a:not(.button):hover {
background-color: #308e97;
background: #308e97;
}
.side-nav li.heading {
color: #1798A5;
font-size: 0.875rem;
font-weight: bold;
text-transform: uppercase;
padding: 0.4375rem 0.875rem;
}
#actions-sidebar {
background: #fafafa;
}
.index table {
margin-top: 0rem;
border: 0;
width: 100%;
table-layout: fixed;
}
table {
background: #fff;
margin-bottom: 1.25rem;
border: none;
table-layout: fixed;
width: 100%;
}
table thead {
background: none;
}
table tr {
border-bottom: 1px solid #ebebec;
}
table thead tr {
border-bottom: 1px solid #1798A5;
}
table tr th {
padding: 0.5625rem 0.625rem;
font-size: 0.875rem;
color: #1798A5;
text-align: left;
border-bottom: 2px solid #1798A5;
}
table tr:nth-of-type(even) {
background: none;
}
fieldset {
border: none;
padding: 1.25rem;
margin: 1.125rem 0;
}
fieldset legend {
border-bottom: 2px solid #1798A5;
width: 100%;
line-height: 2rem;
}
.form button[type="submit"] {
float: right;
text-transform: uppercase;
box-shadow: none;
}
.form button:hover, .form button:focus {
background: #BE840B;
box-shadow: none;
}
button {
background: #966600;
}
div.message {
text-align: center;
cursor: pointer;
display: block;
font-weight: normal;
padding: 0 1.5rem 0 1.5rem;
transition: height 300ms ease-out 0s;
background-color: #a0d3e8;
color: #626262;
top: 15px;
right: 15px;
z-index: 999;
overflow: hidden;
height: 50px;
line-height: 2.5em;
box-radius: 5px;
}
div.message:before {
line-height: 0px;
font-size: 20px;
height: 12px;
width: 12px;
border-radius: 15px;
text-align: center;
vertical-align: middle;
display: inline-block;
position: relative;
left: -11px;
background-color: #FFF;
padding: 12px 14px 12px 10px;
content: "i";
color: #a0d3e8;
}
div.message.error {
background-color: #C3232D;
color: #FFF;
}
div.message.error:before {
padding: 11px 16px 14px 7px;
color: #C3232D;
content: "x";
}
div.message.hidden {
height: 0;
}
.vertical-table th {
padding: 0.5625rem 0.625rem;
font-size: 0.875rem;
color: #1798A5;
border: none;
text-align: left;
}
.vertical-table {
vertical-align: middle;
}
.vertical-table td {
text-align: right;
}
.content {
padding: 2rem;
}
/* Use 'one true layout' methods to get equal height columns */
.container {
overflow: hidden;
min-height: 92%; /* full height almost always */
}
/* Force equal height by overflowing */
.content,
#actions-sidebar {
margin-bottom: -99999px;
padding-bottom: 99999px;
}
@media(max-width: 640px) {
#actions-sidebar {
padding-bottom: 2rem;
margin-bottom: 0;
}
}
.content h3 {
color: #be140b;
padding-bottom: 0.5rem;
margin-bottom: 20px;
}
.content h4 {
color: #be140b;
padding-bottom: 0.5rem;
margin-bottom: 20px;
border-bottom: 2px solid #be140b;
}
.content .related h4 {
color: #4d8f97;
padding-bottom: 0.5rem;
margin-top: 20px;
margin-bottom: 10px;
border-bottom: 0px;
}
table td {
vertical-align: top;
word-break: break-all;
}

View File

@@ -0,0 +1,14 @@
.handsontable .testhead {
transform: rotate(90deg);
height: 300px;
/*text-align: right; */
margin-right: 0px;
}
.handsontable thead th {
line-height: 290px;
padding-bottom: 30px;
}
.handsontable tr {
line-height: 20px;
}

31
webroot/css/handsontable.min.css vendored Normal file

File diff suppressed because one or more lines are too long

240
webroot/css/home.css Normal file
View File

@@ -0,0 +1,240 @@
@font-face {
font-family: 'cakefont';
src: url('../font/cakedingbats-webfont.eot');
src: url('../font/cakedingbats-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/cakedingbats-webfont.woff2') format('woff2'),
url('../font/cakedingbats-webfont.woff') format('woff'),
url('../font/cakedingbats-webfont.ttf') format('truetype'),
url('../font/cakedingbats-webfont.svg#cake_dingbatsregular') format('svg');
font-weight: normal;
font-style: normal;
}
.home {
font-family: 'Roboto', sans-serif;
font-size: 14px;
line-height: 27px;
color: #404041;
}
a {
color: #0071BC;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-ms-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
}
a:hover, a:active {
color: #d33d44;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-ms-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
}
ul, ol, dl, p {
font-size: 0.85rem;
}
p {
line-height: 2;
}
header {
height: auto;
line-height: 1em;
padding: 0;
box-shadow: none;
}
header.row {
margin-bottom: 30px;
}
header .header-image {
text-align: center;
padding: 64px 0;
}
header .header-title {
padding: 0;
display: block;
background: #404041;
text-align: center;
}
header .header-title h1 {
font-family: 'Raleway', sans-serif;
margin: 0;
font-style: italic;
font-size: 18px;
font-weight: 500;
padding: 18px 30px;
color: #DEDED5;
}
header h1 {
color: #fff;
}
h3, h4 {
font-family: 'Roboto', sans-serif;
font-size: 27px;
line-height: 30px;
font-weight: 300;
-webkit-font-smoothing: antialiased;
margin-top: 0;
margin-bottom: 20px;
}
.more {
color: #ffffff;
background-color: #d33d44;
padding: 15px;
margin-top: 10px;
}
.row {
max-width: 1000px;
}
.alert {
background-color: #fff9e1;
font-size: 12px;
text-align: center;
display: block;
padding: 12px;
border-bottom: 2px solid #ffcf06;
}
.alert {
background-color: #fff9e1;
font-size: 12px;
display: block;
padding: 12px;
border-bottom: 2px solid #ffcf06;
margin-bottom: 30px;
color: #404041;
}
.alert p {
margin: 0;
font-size: 12px;
line-height: 1.4;
}
.alert p:before {
color: #ffcf06;
content: "\0055";
font-family: 'cakefont', sans-serif;
font-size: 21px;
margin-left: -0.8em;
width: 2.3em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
padding: 0 10px 0 15px;
vertical-align: -2px;
}
.alert ul {
margin: 0;
font-size: 12px;
}
.alert.url-rewriting {
background-color: #F0F0F0;
border-color: #cccccc;
display: none;
}
.text-center {
text-align: center;
}
ul {
list-style-type: none;
margin: 0 0 30px 0;
}
li {
padding-left: 1.8em;
}
ul li ul, ul li ul li {
margin: 0;
padding: 0;
}
.bullet:before {
font-family: 'cakefont', sans-serif;
font-size: 18px;
display: inline-block;
margin-left: -1.3em;
width: 1.2em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: -1px;
}
.success:before {
color: #88c671;
content: "\0056";
}
.problem:before {
color: #d33d44;
content: "\0057";
}
.cutlery:before {
color: #404041;
content: "\0059";
}
.book:before {
color: #404041;
content: "\0042";
width: 1.7em;
}
hr {
border-bottom: 1px solid #e7e7e7;
border-top: 0;
margin-bottom: 35px;
margin-left: 30px;
margin-right: 30px;
}
.icon {
color: #404041;
font-style: normal;
font-family: 'cakefont', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon.support {
font-size: 60px;
}
.icon.docs {
font-size: 57px;
}
.icon.training {
font-size: 39px;
}
@media (min-width: 768px) {
.columns {
padding-left: 30px;
padding-right: 30px;
}
}
@media (min-width: 992px) {
header.row {
max-width: 940px;
}
}

BIN
webroot/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
webroot/files/debug.txt Normal file

Binary file not shown.

1
webroot/files/test.txt Normal file
View File

@@ -0,0 +1 @@
Test

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
webroot/img/cake-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
webroot/img/cake.icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

41
webroot/img/cake.logo.svg Normal file
View File

@@ -0,0 +1,41 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="225.994px" height="45.258px" viewBox="0 0 225.994 45.258" enable-background="new 0 0 225.994 45.258"
xml:space="preserve">
<g>
<g>
<path fill="#FFFFFF" d="M28.993,18.11l22.685,5.632c3.948-1.541,6.318-3.505,6.318-5.632V9.052C57.996,4.058,45.011,0,28.993,0
C12.979,0,0,4.058,0,9.052v9.058c0,4.995,12.979,9.05,28.993,9.05V18.11z"/>
<path fill="#FFFFFF" d="M51.676,32.796L28.993,27.16v9.051l22.683,5.638c3.95-1.549,6.322-3.504,6.322-5.638V27.16
C57.999,29.292,55.626,31.25,51.676,32.796"/>
<path fill="#FFFFFF" d="M0,27.16v9.052c0,4.996,12.979,9.047,28.993,9.047v-9.047C12.979,36.211,0,32.155,0,27.16"/>
<path fill="#FFFFFF" d="M82.884,35.384c-7.082,0-12.339-5.467-12.339-12.378V22.94c0-6.837,5.154-12.443,12.546-12.443
c4.536,0,7.253,1.515,9.487,3.713l-3.368,3.882c-1.857-1.685-3.749-2.715-6.156-2.715c-4.055,0-6.975,3.368-6.975,7.493v0.069
c0,4.124,2.849,7.562,6.975,7.562c2.751,0,4.435-1.1,6.324-2.82l3.367,3.402C90.273,33.734,87.525,35.384,82.884,35.384"/>
<path fill="#FFFFFF" d="M107.321,27.546c-0.894-0.416-2.064-0.688-3.334-0.688c-2.234,0-3.611,0.894-3.611,2.544v0.068
c0,1.406,1.171,2.231,2.852,2.231c2.441,0,4.093-1.335,4.093-3.229V27.546z M107.215,34.968v-1.99
c-1.269,1.408-3.021,2.337-5.568,2.337c-3.469,0-6.323-1.994-6.323-5.637v-0.069c0-4.023,3.056-5.879,7.422-5.879
c1.859,0,3.2,0.312,4.506,0.756v-0.311c0-2.162-1.342-3.368-3.955-3.368c-1.993,0-3.4,0.379-5.086,0.997l-1.309-3.986
c2.03-0.896,4.023-1.479,7.15-1.479c5.708,0,8.216,2.957,8.216,7.943v10.686H107.215z"/>
</g>
<polygon fill="#FFFFFF" points="128.629,34.968 123.816,27.443 121.994,29.368 121.994,34.968 116.772,34.968 116.772,9.876
121.994,9.876 121.994,23.25 128.115,16.547 134.37,16.547 127.358,23.797 134.609,34.968 "/>
<g>
<path fill="#FFFFFF" d="M144.469,20.396c-2.166,0-3.578,1.547-3.989,3.917h7.872C148.041,21.975,146.666,20.396,144.469,20.396
M153.37,27.583h-12.819c0.514,2.371,2.164,3.605,4.504,3.605c1.752,0,3.022-0.552,4.465-1.89l2.994,2.647
c-1.723,2.132-4.195,3.438-7.529,3.438c-5.535,0-9.628-3.885-9.628-9.521v-0.07c0-5.261,3.75-9.591,9.112-9.591
c6.149,0,8.97,4.779,8.97,10.005v0.065C153.438,26.792,153.405,27.099,153.37,27.583"/>
<path fill="#FFFFFF" d="M171.551,19.329c0-2.371-1.647-3.641-4.296-3.641h-4.09v7.358h4.193c2.646,0,4.192-1.586,4.192-3.646
V19.329z M167.184,27.751h-4.019v7.217h-5.292v-24.06h9.83c5.738,0,9.209,3.403,9.209,8.321v0.065
C176.912,24.864,172.58,27.751,167.184,27.751"/>
</g>
<polygon fill="#FFFFFF" points="195.885,34.968 195.885,25.307 186.122,25.307 186.122,34.968 180.831,34.968 180.831,10.908
186.122,10.908 186.122,20.43 195.885,20.43 195.885,10.908 201.176,10.908 201.176,34.968 "/>
<g>
<path fill="#FFFFFF" d="M220.63,19.329c0-2.371-1.65-3.641-4.295-3.641h-4.091v7.358h4.191c2.649,0,4.194-1.586,4.194-3.646
V19.329z M216.268,27.751h-4.023v7.217h-5.292v-24.06h9.829c5.737,0,9.213,3.403,9.213,8.321v0.065
C225.994,24.864,221.662,27.751,216.268,27.751"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
webroot/img/cake.power.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

40
webroot/index.php Normal file
View File

@@ -0,0 +1,40 @@
<?php
/**
* The Front Controller for handling every request
*
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
* @link https://cakephp.org CakePHP(tm) Project
* @since 0.2.9
* @license MIT License (https://opensource.org/licenses/mit-license.php)
*/
// Check platform requirements
require dirname(__DIR__) . '/config/requirements.php';
// For built-in server
if (php_sapi_name() === 'cli-server') {
$_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
$url = parse_url(urldecode($_SERVER['REQUEST_URI']));
$file = __DIR__ . $url['path'];
if (strpos($url['path'], '..') === false && strpos($url['path'], '.') !== false && is_file($file)) {
return false;
}
}
require dirname(__DIR__) . '/vendor/autoload.php';
use App\Application;
use Cake\Http\Server;
// Bind your application to the server.
$server = new Server(new Application(dirname(__DIR__) . '/config'));
// Run the request/response through the application and emit the response.
$server->emit($server->run());

0
webroot/js/empty Normal file
View File

29
webroot/js/handsontable.min.js vendored Normal file

File diff suppressed because one or more lines are too long

2
webroot/js/jquery-3.3.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
Schulnummer;"Werteliste ID";Bezeichnung;Count;Comment
9310;1502;"Partnerschule Leistungssport";5;Test
9310;1505;"offenes Ganztagsangebot";5;"Noch ein Test!"
9310;1504;"W-/P-Seminar in Q12";3;"Noch ein Test! 2"
1 Schulnummer Werteliste ID Bezeichnung Count Comment
2 9310 1502 Partnerschule Leistungssport 5 Test
3 9310 1505 offenes Ganztagsangebot 5 Noch ein Test!
4 9310 1504 W-/P-Seminar in Q12 3 Noch ein Test! 2