Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp
Conflicts: skolehjem/resources/views/admin/layout/base.blade.php
This commit is contained in:
commit
b03a89463a
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||||
<data-source source="LOCAL" name="laravel.sqlite" uuid="9d32b2d2-cbb3-4fd4-8566-2790c2a354f4">
|
<data-source source="LOCAL" name="Laravel.sqlite" uuid="428bc9e4-1a43-4d98-aec6-555a9cf65fb5">
|
||||||
<driver-ref>sqlite.xerial</driver-ref>
|
<driver-ref>sqlite.xerial</driver-ref>
|
||||||
<synchronize>true</synchronize>
|
<synchronize>true</synchronize>
|
||||||
<jdbc-driver>org.sqlite.JDBC</jdbc-driver>
|
<jdbc-driver>org.sqlite.JDBC</jdbc-driver>
|
||||||
|
|
|
@ -9,16 +9,12 @@
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/psr/log" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/psr/log" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/psr/simple-cache" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/psr/simple-cache" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/psy/psysh" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/psy/psysh" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/filp/whoops" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/opis/closure" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/opis/closure" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/voku/portable-ascii" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/voku/portable-ascii" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/asm89/stack-cors" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/asm89/stack-cors" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/brick/math" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/brick/math" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/nikic/php-parser" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/nikic/php-parser" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/defuse/php-encryption" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/defuse/php-encryption" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/facade/flare-client-php" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/facade/ignition" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/facade/ignition-contracts" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/league/commonmark" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/league/commonmark" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/league/event" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/league/event" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/league/flysystem" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/league/flysystem" />
|
||||||
|
@ -27,7 +23,6 @@
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/nyholm/psr7" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/nyholm/psr7" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/ramsey/collection" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/ramsey/collection" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/ramsey/uuid" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/ramsey/uuid" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/scrivo/highlight.php" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/vlucas/phpdotenv" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/vlucas/phpdotenv" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/dnoegel/php-xdg-base-dir" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/dnoegel/php-xdg-base-dir" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/egulias/email-validator" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/egulias/email-validator" />
|
||||||
|
@ -36,18 +31,7 @@
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/framework" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/framework" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/passport" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/passport" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/tinker" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/tinker" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/mockery/mockery" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/monolog/monolog" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/monolog/monolog" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/myclabs/deep-copy" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phar-io/manifest" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phar-io/version" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpspec/prophecy" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpunit/php-code-coverage" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpunit/php-file-iterator" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpunit/php-text-template" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpunit/php-timer" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpunit/php-token-stream" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpunit/phpunit" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/console" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/console" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/css-selector" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/css-selector" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/deprecation-contracts" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/deprecation-contracts" />
|
||||||
|
@ -75,12 +59,9 @@
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/translation" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/translation" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/translation-contracts" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/translation-contracts" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/var-dumper" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/symfony/var-dumper" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/theseer/tokenizer" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/doctrine/inflector" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/doctrine/inflector" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/doctrine/instantiator" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/doctrine/lexer" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/doctrine/lexer" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/firebase/php-jwt" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/firebase/php-jwt" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/hamcrest/hamcrest-php" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/lcobucci/jwt" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/lcobucci/jwt" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/php-http/message-factory" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/php-http/message-factory" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/fideloper/proxy" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/fideloper/proxy" />
|
||||||
|
@ -89,30 +70,12 @@
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpoption/phpoption" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/phpoption/phpoption" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpseclib/phpseclib" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/phpseclib/phpseclib" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/ralouphie/getallheaders" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/ralouphie/getallheaders" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/code-unit-reverse-lookup" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/comparator" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/diff" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/environment" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/exporter" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/global-state" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/object-enumerator" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/object-reflector" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/recursion-context" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/resource-operations" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/type" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/sebastian/version" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/webmozart/assert" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/fzaninotto/faker" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/guzzlehttp/guzzle" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/guzzlehttp/guzzle" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/guzzlehttp/promises" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/guzzlehttp/promises" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/guzzlehttp/psr7" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/guzzlehttp/psr7" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/nunomaduro/collision" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/swiftmailer/swiftmailer" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/swiftmailer/swiftmailer" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/tijsverkoyen/css-to-inline-styles" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/tijsverkoyen/css-to-inline-styles" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/dragonmantank/cron-expression" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/dragonmantank/cron-expression" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpdocumentor/reflection-common" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpdocumentor/reflection-docblock" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/phpdocumentor/type-resolver" />
|
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/composer" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/composer" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/spatie/laravel-permission" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/spatie/laravel-permission" />
|
||||||
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/ui" />
|
<path value="$PROJECT_DIR$/skolehjem/vendor/laravel/ui" />
|
||||||
|
|
|
@ -12,22 +12,15 @@
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/defuse/php-encryption" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/defuse/php-encryption" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/dnoegel/php-xdg-base-dir" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/dnoegel/php-xdg-base-dir" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/doctrine/inflector" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/doctrine/inflector" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/doctrine/instantiator" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/doctrine/lexer" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/doctrine/lexer" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/dragonmantank/cron-expression" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/dragonmantank/cron-expression" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/egulias/email-validator" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/egulias/email-validator" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/facade/flare-client-php" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/facade/ignition" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/facade/ignition-contracts" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/fideloper/proxy" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/fideloper/proxy" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/filp/whoops" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/firebase/php-jwt" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/firebase/php-jwt" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/fruitcake/laravel-cors" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/fruitcake/laravel-cors" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/fzaninotto/faker" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/guzzle" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/guzzle" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/promises" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/promises" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/psr7" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/guzzlehttp/psr7" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/hamcrest/hamcrest-php" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/jaybizzle/crawler-detect" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/jaybizzle/crawler-detect" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/jenssegers/agent" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/jenssegers/agent" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/laminas/laminas-diactoros" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/laminas/laminas-diactoros" />
|
||||||
|
@ -42,30 +35,15 @@
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/flysystem" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/flysystem" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/oauth2-server" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/league/oauth2-server" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/mobiledetect/mobiledetectlib" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/mobiledetect/mobiledetectlib" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/mockery/mockery" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/monolog/monolog" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/monolog/monolog" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/myclabs/deep-copy" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/nesbot/carbon" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/nesbot/carbon" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/nikic/php-parser" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/nikic/php-parser" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/nunomaduro/collision" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/nyholm/psr7" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/nyholm/psr7" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/opis/closure" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/opis/closure" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/paragonie/random_compat" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/paragonie/random_compat" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phar-io/manifest" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phar-io/version" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/php-http/message-factory" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/php-http/message-factory" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpdocumentor/reflection-common" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpdocumentor/reflection-docblock" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpdocumentor/type-resolver" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpoption/phpoption" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpoption/phpoption" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpseclib/phpseclib" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpseclib/phpseclib" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpspec/prophecy" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpunit/php-code-coverage" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpunit/php-file-iterator" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpunit/php-text-template" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpunit/php-timer" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpunit/php-token-stream" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/phpunit/phpunit" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/psr/container" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/psr/container" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/psr/event-dispatcher" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/psr/event-dispatcher" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/psr/http-factory" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/psr/http-factory" />
|
||||||
|
@ -76,19 +54,6 @@
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/ralouphie/getallheaders" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/ralouphie/getallheaders" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/ramsey/collection" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/ramsey/collection" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/ramsey/uuid" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/ramsey/uuid" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/scrivo/highlight.php" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/code-unit-reverse-lookup" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/comparator" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/diff" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/environment" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/exporter" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/global-state" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/object-enumerator" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/object-reflector" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/recursion-context" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/resource-operations" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/type" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/sebastian/version" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/spatie/laravel-permission" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/spatie/laravel-permission" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/swiftmailer/swiftmailer" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/swiftmailer/swiftmailer" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/symfony/console" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/symfony/console" />
|
||||||
|
@ -118,11 +83,9 @@
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/symfony/translation" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/symfony/translation" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/symfony/translation-contracts" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/symfony/translation-contracts" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/symfony/var-dumper" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/symfony/var-dumper" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/theseer/tokenizer" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/tijsverkoyen/css-to-inline-styles" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/tijsverkoyen/css-to-inline-styles" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/vlucas/phpdotenv" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/vlucas/phpdotenv" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/voku/portable-ascii" />
|
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/voku/portable-ascii" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/skolehjem/vendor/webmozart/assert" />
|
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
|
|
@ -19,7 +19,7 @@ class EventController extends Controller
|
||||||
{
|
{
|
||||||
$events = Event::query()->paginate($request->input("limit", 20));
|
$events = Event::query()->paginate($request->input("limit", 20));
|
||||||
|
|
||||||
return Response::detect("bookings.index", [ "events" => $events]);
|
return Response::detect("events.index", [ "events" => $events]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -29,7 +29,7 @@ class EventController extends Controller
|
||||||
*/
|
*/
|
||||||
public function create()
|
public function create()
|
||||||
{
|
{
|
||||||
return Response::detect("bookings.create");
|
return Response::detect("events.create");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -49,7 +49,7 @@ class EventController extends Controller
|
||||||
|
|
||||||
$event->save();
|
$event->save();
|
||||||
|
|
||||||
return Response::detect("bookings.store");
|
return Response::detect("events.store");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -60,7 +60,7 @@ class EventController extends Controller
|
||||||
*/
|
*/
|
||||||
public function show(Event $id)
|
public function show(Event $id)
|
||||||
{
|
{
|
||||||
return Response::detect("bookings.show", [ "event" => $id ]);
|
return Response::detect("events.show", [ "event" => $id ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -71,7 +71,7 @@ class EventController extends Controller
|
||||||
*/
|
*/
|
||||||
public function edit(Event $id)
|
public function edit(Event $id)
|
||||||
{
|
{
|
||||||
return Response::detect("bookings.edit", [ "event" => $id ]);
|
return Response::detect("events.edit", [ "event" => $id ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -91,7 +91,7 @@ class EventController extends Controller
|
||||||
$id->update($requestBody);
|
$id->update($requestBody);
|
||||||
$id->save();
|
$id->save();
|
||||||
|
|
||||||
return Response::detect("bookings.update");
|
return Response::detect("events.update");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -105,6 +105,6 @@ class EventController extends Controller
|
||||||
{
|
{
|
||||||
$id->delete();
|
$id->delete();
|
||||||
|
|
||||||
return Response::detect("bookings.destroy");
|
return Response::detect("events.destroy");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ class ExternalLinkController extends Controller
|
||||||
{
|
{
|
||||||
$externalLink = ExternalLink::query()->paginate($request->input("limit", 20));
|
$externalLink = ExternalLink::query()->paginate($request->input("limit", 20));
|
||||||
|
|
||||||
return Response::detect("external-links.index", [ "externalLinks" => $externalLink ]);
|
return Response::detect("external-links.index", [ "links" => $externalLink ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -59,7 +59,7 @@ class ExternalLinkController extends Controller
|
||||||
*/
|
*/
|
||||||
public function show($id)
|
public function show($id)
|
||||||
{
|
{
|
||||||
return Response::detect("external-links.show", [ "externallink" => $id]);
|
return Response::detect("external-links.show", [ "link" => $id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -71,7 +71,7 @@ class ExternalLinkController extends Controller
|
||||||
public function edit($id)
|
public function edit($id)
|
||||||
{
|
{
|
||||||
$link = ExternalLink::find($id);
|
$link = ExternalLink::find($id);
|
||||||
return Response::detect("external-links.edit", ["externallink" => $link]);
|
return Response::detect("external-links.edit", ["link" => $link]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -84,8 +84,8 @@ class ExternalLinkController extends Controller
|
||||||
public function update(Request $request, $id)
|
public function update(Request $request, $id)
|
||||||
{
|
{
|
||||||
$data = $request->validate([
|
$data = $request->validate([
|
||||||
"name" => "",
|
"name" => "max:255",
|
||||||
"link" => ""
|
"link" => "max:255"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$id->update($data);
|
$id->update($data);
|
||||||
|
|
|
@ -27,7 +27,7 @@ class MenuPlanController extends Controller
|
||||||
*
|
*
|
||||||
* @return \Illuminate\Http\Response
|
* @return \Illuminate\Http\Response
|
||||||
*/
|
*/
|
||||||
public function create(Request $request)
|
public function create()
|
||||||
{
|
{
|
||||||
return Response::detect("menuplans.create");
|
return Response::detect("menuplans.create");
|
||||||
}
|
}
|
||||||
|
@ -41,11 +41,16 @@ class MenuPlanController extends Controller
|
||||||
public function store(Request $request)
|
public function store(Request $request)
|
||||||
{
|
{
|
||||||
$requestMenuPlanCreate = $request->validate([
|
$requestMenuPlanCreate = $request->validate([
|
||||||
"name" => "required|max:255",
|
"monday" => "required|max:255",
|
||||||
"link" => "required|max:255"
|
"tuesday" => "required|max:255",
|
||||||
|
"wednesday" => "required|max:255",
|
||||||
|
"thursday" => "required|max:255",
|
||||||
|
"friday" => "required|max:255",
|
||||||
|
"saturday" => "required|max:255",
|
||||||
|
"sunday" => "required|max:255"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$menuPlans = new ExternalLink($requestMenuPlanCreate);
|
$menuPlans = new MenuPlan($requestMenuPlanCreate);
|
||||||
$menuPlans->save();
|
$menuPlans->save();
|
||||||
|
|
||||||
return Response::detect("menuplans.store");
|
return Response::detect("menuplans.store");
|
||||||
|
@ -57,9 +62,9 @@ class MenuPlanController extends Controller
|
||||||
* @param int $id
|
* @param int $id
|
||||||
* @return \Illuminate\Http\Response
|
* @return \Illuminate\Http\Response
|
||||||
*/
|
*/
|
||||||
public function show($id)
|
public function show(MenuPlan $id)
|
||||||
{
|
{
|
||||||
return Response::detect("menu-plan.show", [ "menu-plans" => $id]);
|
return Response::detect("menuplans.show", [ "menuplan" => $id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -71,7 +76,7 @@ class MenuPlanController extends Controller
|
||||||
public function edit($id)
|
public function edit($id)
|
||||||
{
|
{
|
||||||
$editLink = MenuPlan::find($id);
|
$editLink = MenuPlan::find($id);
|
||||||
return Response::detect("menu-plans.edit", ["menu-plans" => $editLink]);
|
return Response::detect("menuplans.edit", ["menu-plans" => $editLink]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -91,7 +96,7 @@ class MenuPlanController extends Controller
|
||||||
$id->update($data);
|
$id->update($data);
|
||||||
$id->save();
|
$id->save();
|
||||||
|
|
||||||
return Response::detect("menu-plans.update");
|
return Response::detect("menuplans.update");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -103,6 +108,6 @@ class MenuPlanController extends Controller
|
||||||
public function destroy($id)
|
public function destroy($id)
|
||||||
{
|
{
|
||||||
$id->delete();
|
$id->delete();
|
||||||
return Response::detect("menu-plans.destroy");
|
return Response::detect("menuplans.destroy");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class MenuPlan extends Model
|
class MenuPlan extends Model
|
||||||
{
|
{
|
||||||
//
|
protected $fillable = [
|
||||||
|
'monday', "tuesday", 'wednesday', 'thursday', "friday", "saturday", "sunday"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
"laravel/framework": "^7.0",
|
"laravel/framework": "^7.0",
|
||||||
"laravel/tinker": "^2.0",
|
"laravel/tinker": "^2.0",
|
||||||
"laravel/ui": "^2.0",
|
"laravel/ui": "^2.0",
|
||||||
|
"laravelcollective/html": "^6.1",
|
||||||
"spatie/laravel-permission": "^3.13"
|
"spatie/laravel-permission": "^3.13"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
|
|
@ -15,7 +15,15 @@ class CreateMenuPlans extends Migration
|
||||||
{
|
{
|
||||||
Schema::create('menu_plans', function (Blueprint $table) {
|
Schema::create('menu_plans', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
|
$table->string('monday', 255);
|
||||||
|
$table->string('tuesday', 255);
|
||||||
|
$table->string('wednesday', 255);
|
||||||
|
$table->string('thursday', 255);
|
||||||
|
$table->string('friday', 255);
|
||||||
|
$table->string('saturday', 255);
|
||||||
|
$table->string('sunday', 255);
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
|
//$table->text('description');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6737,11 +6737,11 @@ main {
|
||||||
color: #99A4AE;
|
color: #99A4AE;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
padding: 12px 3px;
|
padding: 6px 3px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 38px;
|
height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 360px) {
|
@media (min-width: 360px) {
|
||||||
|
@ -6765,7 +6765,7 @@ main {
|
||||||
@media (min-width: 360px) {
|
@media (min-width: 360px) {
|
||||||
.calendar-table__body .calendar-table__col {
|
.calendar-table__body .calendar-table__col {
|
||||||
width: 46px;
|
width: 46px;
|
||||||
height: 48px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
require('./bootstrap');
|
require('./bootstrap');
|
||||||
|
|
||||||
//Dependencies
|
//Dependencies
|
||||||
require("moment");
|
const moment = require("moment");
|
||||||
|
|
||||||
require('./date');
|
require('./date');
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ import { toggleMenu } from './navmenu/menu';
|
||||||
|
|
||||||
// window.Vue = require('vue');
|
// window.Vue = require('vue');
|
||||||
|
|
||||||
//import { generateCalendar } from "./calendar/calendar";
|
import { generateCalendar } from "./calendar/calendar";
|
||||||
|
|
||||||
// createCalendar();
|
// createCalendar();
|
||||||
//
|
//
|
||||||
|
@ -53,8 +53,23 @@ import { toggleMenu } from './navmenu/menu';
|
||||||
// el: '#app',
|
// el: '#app',
|
||||||
// });
|
// });
|
||||||
|
|
||||||
//generateCalendar();
|
let weekOffset = 0;
|
||||||
|
|
||||||
|
if(document.getElementById("calendar")) {
|
||||||
|
generateCalendar();
|
||||||
|
|
||||||
|
document.getElementById("week-previous").onclick = function () {
|
||||||
|
weekOffset--;
|
||||||
|
generateCalendar(weekOffset);
|
||||||
|
}
|
||||||
|
|
||||||
|
document.getElementById("week-next").onclick = function () {
|
||||||
|
weekOffset++;
|
||||||
|
generateCalendar(weekOffset);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(document.getElementById("toggle"))
|
||||||
document.getElementById("toggle").onclick = function () {
|
document.getElementById("toggle").onclick = function () {
|
||||||
toggleMenu('menu');
|
toggleMenu('menu');
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,229 +22,167 @@
|
||||||
|
|
||||||
const moment = require("moment");
|
const moment = require("moment");
|
||||||
|
|
||||||
const calendar = document.getElementById("calendar");
|
// const calendar = document.getElementById("calendar");
|
||||||
const title = document.getElementById("month");
|
// const title = document.getElementById("month");
|
||||||
|
|
||||||
|
|
||||||
const days = [
|
|
||||||
"Mandag",
|
|
||||||
"Tirsdag",
|
|
||||||
"Onsdag",
|
|
||||||
"Torsdag",
|
|
||||||
"Fredag",
|
|
||||||
"Lørdag",
|
|
||||||
"Søndag"
|
|
||||||
];
|
|
||||||
//
|
|
||||||
// const months = [
|
|
||||||
// "January",
|
|
||||||
// "February",
|
|
||||||
// "March",
|
|
||||||
// "April",
|
|
||||||
// "May",
|
|
||||||
// "June",
|
|
||||||
// "July",
|
|
||||||
// "August",
|
|
||||||
// "September",
|
|
||||||
// "October",
|
|
||||||
// "November",
|
|
||||||
// "December",
|
|
||||||
// ]
|
|
||||||
|
|
||||||
// const month = document.getElementById("month");
|
|
||||||
//
|
|
||||||
// const year = 2020;
|
|
||||||
//
|
|
||||||
// let currentMonth = 0;
|
|
||||||
//
|
|
||||||
// let firstDay = (new Date(year, month)).getDay();
|
|
||||||
//
|
|
||||||
// function createCalendar() {
|
|
||||||
//
|
|
||||||
// calendar.innerHTML = "";
|
// calendar.innerHTML = "";
|
||||||
//
|
|
||||||
// // HEADER
|
function generateCalendar(weekOffset = 0) {
|
||||||
// let header = document.createElement("div");
|
const week = (moment().week() + weekOffset);
|
||||||
// header.classList.add("calendar-table__header", "calendar-table__row");
|
|
||||||
//
|
document.getElementById("title").innerText = week;
|
||||||
// days.forEach((value) =>{
|
|
||||||
// let head = document.createElement("div");
|
let weekDays = Array.apply(null, Array(7)).map((value, index) => {
|
||||||
// head.classList.add("calendar-table__col");
|
return moment(index, "e").locale("da").startOf("week").weekday(index).format("ddd");
|
||||||
//
|
});
|
||||||
// head.innerText = value;
|
// weekDays.push(weekDays.shift());
|
||||||
//
|
|
||||||
// header.appendChild(head);
|
// console.log(week);
|
||||||
// });
|
// console.log(weekDays);
|
||||||
//
|
|
||||||
// calendar.appendChild(header);
|
const calendar = document.getElementById("calendar");
|
||||||
//
|
|
||||||
//
|
let header = document.createElement("div");
|
||||||
// // BODY
|
header.classList.add("calendar-table__header", "calendar-table__row");
|
||||||
//
|
|
||||||
// let date = new Date(Date.now());
|
let calendarBody = document.createElement("div");
|
||||||
//
|
calendarBody.classList.add("calendar-table__body");
|
||||||
// months.forEach((value, index) => {
|
|
||||||
// if(index === date.getMonth()) {
|
let calendarRow = document.createElement("div");
|
||||||
//
|
calendarRow.classList.add("calendar-table__row")
|
||||||
// }
|
|
||||||
// });
|
weekDays.forEach(function (weekDay) {
|
||||||
//
|
let headerDay = document.createElement("div");
|
||||||
//
|
headerDay.classList.add("calendar-table__col");
|
||||||
// // <div class="calendar-table__col">
|
|
||||||
// // <div class="calendar-table__item">
|
headerDay.innerText = weekDay;
|
||||||
// // <span>2</span>
|
|
||||||
// // </div>
|
header.appendChild(headerDay);
|
||||||
// // </div>
|
|
||||||
//
|
|
||||||
// // let intDay = 1;
|
|
||||||
// // for(let columns = 0; columns < 5; columns++)
|
|
||||||
// // {
|
|
||||||
// // let row = document.createElement("div");
|
|
||||||
// // row.classList.add("calendar-table__row");
|
|
||||||
// //
|
|
||||||
// // for (let i = 0; i < 7; i++)
|
|
||||||
// // {
|
|
||||||
// // let day = document.createElement("div");
|
|
||||||
// // day.classList.add("calendar-table__col", "calendar-table__item");
|
|
||||||
// // day.innerText = intDay;
|
|
||||||
// // // let
|
|
||||||
// //
|
|
||||||
// // row.appendChild(day);
|
|
||||||
// //
|
|
||||||
// // intDay++;
|
|
||||||
// // }
|
|
||||||
// // calendar.appendChild(row);
|
|
||||||
// // }
|
|
||||||
// drawMonth(6);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// function drawMonth(monthId) {
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// let dateObject = new Date()
|
|
||||||
//
|
|
||||||
// let date = 1;
|
|
||||||
// for(let columns = 0; columns < 6; columns++)
|
|
||||||
// {
|
|
||||||
// let row = document.createElement("div");
|
|
||||||
// row.classList.add("calendar-table__row");
|
|
||||||
//
|
|
||||||
// for (let i = 0; i < 7; i++)
|
|
||||||
// {
|
|
||||||
// if(columns === 0 && i < firstDay) {
|
|
||||||
// let day = document.createElement("div");
|
|
||||||
// day.classList.add("calendar-table__col", "calendar-table__item");
|
|
||||||
// // day.innerText = date;
|
|
||||||
//
|
|
||||||
// row.appendChild(day);
|
|
||||||
// }
|
|
||||||
// else if(date > countDays(year, 6)) {
|
|
||||||
// break;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// else {
|
|
||||||
// let day = document.createElement("div");
|
|
||||||
// day.classList.add("calendar-table__col", "calendar-table__item");
|
|
||||||
// day.innerText = date;
|
|
||||||
//
|
|
||||||
// row.appendChild(day);
|
|
||||||
// date++;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// // let day = document.createElement("div");
|
|
||||||
// // day.classList.add("calendar-table__col", "calendar-table__item");
|
|
||||||
// // day.innerText = date;
|
|
||||||
// // // let
|
|
||||||
// //
|
|
||||||
// // row.appendChild(day);
|
|
||||||
// //
|
|
||||||
// // date++;
|
|
||||||
// }
|
|
||||||
// calendar.appendChild(row);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// function nextMonth() {
|
|
||||||
// currentMonth++;
|
|
||||||
//
|
|
||||||
// if(currentMonth > 11)
|
|
||||||
// currentMonth = 0;
|
|
||||||
//
|
|
||||||
// months.forEach((value, index) => {
|
|
||||||
// if(index === currentMonth)
|
|
||||||
// month.innerText = value;
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// drawMonth(currentMonth);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// function previousMonth() {
|
|
||||||
// currentMonth--;
|
|
||||||
//
|
|
||||||
// if(currentMonth < 0)
|
|
||||||
// currentMonth = 11;
|
|
||||||
//
|
|
||||||
// months.forEach((value, index) => {
|
|
||||||
// if(index === currentMonth)
|
|
||||||
// month.innerText = value;
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// drawMonth(currentMonth);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// function countDays(year, month) {
|
|
||||||
// return 32 - new Date(year, month, 32).getDate();
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// // Monday
|
|
||||||
// // Tuesday
|
|
||||||
// // Wednesday
|
|
||||||
// // Thursday
|
|
||||||
// // Friday
|
|
||||||
// // Saturday
|
|
||||||
// // Sunday
|
|
||||||
// //
|
|
||||||
// // mon tue wed thu fri sat sun
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// module.exports = {
|
|
||||||
// createCalendar,
|
|
||||||
// countDays,
|
|
||||||
// nextMonth,
|
|
||||||
// previousMonth,
|
|
||||||
// calendar,
|
|
||||||
// days,
|
|
||||||
// months,
|
|
||||||
// currentMonth,
|
|
||||||
// month,
|
|
||||||
// };
|
|
||||||
|
|
||||||
|
|
||||||
|
let date = moment().locale("da").day(weekDay).week(week);
|
||||||
|
|
||||||
|
// onDateSelect(date);
|
||||||
|
|
||||||
|
let dayHolder = document.createElement("div");
|
||||||
|
dayHolder.classList.add("calendar-table__col");
|
||||||
|
|
||||||
|
let day = document.createElement("div");
|
||||||
|
day.classList.add("calendar-table__item");
|
||||||
|
day.innerText = date.date();
|
||||||
|
|
||||||
|
dayHolder.appendChild(day);
|
||||||
|
|
||||||
|
dayHolder.onclick = function() {
|
||||||
|
onDateSelect(date);
|
||||||
|
}
|
||||||
|
|
||||||
|
calendarRow.appendChild(dayHolder);
|
||||||
|
});
|
||||||
|
|
||||||
|
calendarBody.appendChild(calendarRow);
|
||||||
|
|
||||||
calendar.innerHTML = "";
|
calendar.innerHTML = "";
|
||||||
//
|
|
||||||
// cal.forEach(value => {
|
|
||||||
// let elem = document.createElement("div");
|
|
||||||
// elem.innerText = value;
|
|
||||||
// console.log(value);
|
|
||||||
// calendar.appendChild(elem);
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// title.innerText = moment().format("DD/MM/YYYY");
|
|
||||||
|
|
||||||
function generateCalendar() {
|
calendar.appendChild(header);
|
||||||
const startWeek = moment().startOf("month").week();
|
calendar.appendChild(calendarBody);
|
||||||
const endWeek = moment().endOf("month").week();
|
}
|
||||||
|
|
||||||
let cal = [];
|
function onDateSelect(date) {
|
||||||
for (let week = startWeek; week < endWeek; week++) {
|
let events;
|
||||||
cal.push({
|
let machinez;
|
||||||
week : week,
|
|
||||||
days : Array(7).fill(0).map((n, i) => moment().week(week).startOf("week").clone().add(n + i, "day"))
|
let container = document.getElementById("event-container");
|
||||||
});
|
|
||||||
|
|
||||||
|
if(document.getElementById("washing-machines") != undefined)
|
||||||
|
machinez = document.getElementById("washing-machines");
|
||||||
|
else {
|
||||||
|
let span = document.createElement("span");
|
||||||
|
span.classList.add("events__title");
|
||||||
|
span.innerText = "Maskiner";
|
||||||
|
|
||||||
|
let select = document.createElement("select");
|
||||||
|
select.classList.add("events__title");
|
||||||
|
select.id = "washing-machines";
|
||||||
|
|
||||||
|
container.appendChild(span);
|
||||||
|
container.appendChild(select);
|
||||||
|
|
||||||
|
machinez = document.getElementById("washing-machines");
|
||||||
|
}
|
||||||
|
if(document.getElementById("events") != undefined)
|
||||||
|
events = document.getElementById("events");
|
||||||
|
else {
|
||||||
|
let span = document.createElement("span");
|
||||||
|
span.classList.add("events__title");
|
||||||
|
span.innerText = "Tider";
|
||||||
|
|
||||||
|
let select = document.createElement("select");
|
||||||
|
select.classList.add("events__title");
|
||||||
|
select.id = "events";
|
||||||
|
|
||||||
|
container.appendChild(span);
|
||||||
|
container.appendChild(select);
|
||||||
|
|
||||||
|
events = document.getElementById("events");
|
||||||
|
}
|
||||||
|
|
||||||
|
// events.innerHTML = "";
|
||||||
|
|
||||||
|
const machines = [
|
||||||
|
"Maskine 1",
|
||||||
|
"Maskine 2"
|
||||||
|
]
|
||||||
|
|
||||||
|
for (let i = 0; i < machines.length; i++) {
|
||||||
|
let option = document.createElement("option");
|
||||||
|
option.text = machines[i];
|
||||||
|
|
||||||
|
machinez.appendChild(option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
for (let hour = 8; hour <= 20; hour++) {
|
||||||
|
|
||||||
|
let option = document.createElement("option");
|
||||||
|
option.text = prependZero(hour);
|
||||||
|
|
||||||
|
events.appendChild(option);
|
||||||
|
|
||||||
|
// let item = document.createElement("li");
|
||||||
|
// item.classList.add("events__item");
|
||||||
|
//
|
||||||
|
// let itemData = document.createElement("div");
|
||||||
|
//
|
||||||
|
// let head = document.createElement("span");
|
||||||
|
// head.classList.add("events__name");
|
||||||
|
// head.innerText = "Vaskemaskine Tid";
|
||||||
|
//
|
||||||
|
// let dat = document.createElement("span");
|
||||||
|
// dat.classList.add("events__date");
|
||||||
|
// dat.innerText = "Klokken " + prependZero(hour);
|
||||||
|
//
|
||||||
|
// itemData.appendChild(head);
|
||||||
|
// itemData.appendChild(dat);
|
||||||
|
// item.appendChild(itemData);
|
||||||
|
//
|
||||||
|
// let button = document.createElement("span");
|
||||||
|
// button.classList.add("events__tag");
|
||||||
|
// button.innerText = "Book";
|
||||||
|
//
|
||||||
|
// item.appendChild(button);
|
||||||
|
//
|
||||||
|
// events.appendChild(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function prependZero(value) {
|
||||||
|
if(value < 10)
|
||||||
|
return "0" + value;
|
||||||
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -285,11 +285,11 @@ $primary-color: $blue;
|
||||||
color: $gray;
|
color: $gray;
|
||||||
font-size: $sm-font-size;
|
font-size: $sm-font-size;
|
||||||
font-weight: $font-weight--bold;
|
font-weight: $font-weight--bold;
|
||||||
padding: 12px 3px;
|
padding: 6px 3px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 38px;
|
height: 18px;
|
||||||
|
|
||||||
@include mq(360) {
|
@include mq(360) {
|
||||||
width: 46px;
|
width: 46px;
|
||||||
|
@ -309,7 +309,7 @@ $primary-color: $blue;
|
||||||
|
|
||||||
@include mq(360) {
|
@include mq(360) {
|
||||||
width: 46px;
|
width: 46px;
|
||||||
height: 48px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include mq(410) {
|
@include mq(410) {
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Fornavn}</td>
|
<td>{Fornavn}</td>
|
||||||
<td>{Efternavn}</td>
|
<td>{Efternavn}</td>
|
||||||
<td>{Email}</td>
|
<td>{Email}</td>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Fornavn}</td>
|
<td>{Fornavn}</td>
|
||||||
<td>{Efternavn}</td>
|
<td>{Efternavn}</td>
|
||||||
<td>{Email}</td>
|
<td>{Email}</td>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Event Navn</th>
|
<th>Event Navn</th>
|
||||||
<th>Event Beskrivelse</th>
|
<th>Event Beskrivelse</th>
|
||||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
||||||
|
@ -20,7 +19,6 @@
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($events as $event)
|
@foreach($events as $event)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $event->id }}</td>
|
|
||||||
<td>{{ $event->name }}</td>
|
<td>{{ $event->name }}</td>
|
||||||
<td>{{ $event->description }}</td>
|
<td>{{ $event->description }}</td>
|
||||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Fornavn}</td>
|
<td>{Fornavn}</td>
|
||||||
<td>{Efternavn}</td>
|
<td>{Efternavn}</td>
|
||||||
<td>{Email}</td>
|
<td>{Email}</td>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Fornavn}</td>
|
<td>{Fornavn}</td>
|
||||||
<td>{Efternavn}</td>
|
<td>{Efternavn}</td>
|
||||||
<td>{Email}</td>
|
<td>{Email}</td>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Fornavn}</td>
|
<td>{Fornavn}</td>
|
||||||
<td>{Efternavn}</td>
|
<td>{Efternavn}</td>
|
||||||
<td>{Email}</td>
|
<td>{Email}</td>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<form method="post" action="{{ route("external-links.store") }}">
|
<form method="post" action="{{ route("external-links.store") }}">
|
||||||
@csrf
|
@csrf
|
||||||
<label for="title">Titel:</label>
|
<label for="title">Titel:</label>
|
||||||
<input type="text" name="title" id="title" required>
|
<input type="text" name="name" id="title" required>
|
||||||
<label for="link">Linket:</label>
|
<label for="link">Linket:</label>
|
||||||
<input type="text" name="link" id="link" required>
|
<input type="text" name="link" id="link" required>
|
||||||
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="{{ route('external-links.edit') }}" class="text-white">Rediger Link</a> /
|
<a href="../external-links/edit.blade.php" class="text-white">Rediger Link</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<h1>Rediger Link:</h1>
|
<h1>Rediger Link:</h1>
|
||||||
<form method="post" action="">
|
<form method="post" action="{{ route("external-links.update", ['name' => $link->name]) }}">
|
||||||
@csrf
|
@csrf
|
||||||
<label for="title">Titel:</label>
|
<label for="title">Titel:</label>
|
||||||
<input type="text" name="title" id="title" required>
|
<input type="text" name="title" id="title" required>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Title</th>
|
<th>Title</th>
|
||||||
<th>Link</th>
|
<th>Link</th>
|
||||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
||||||
|
@ -20,7 +19,6 @@
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($links as $link)
|
@foreach($links as $link)
|
||||||
<tr>
|
<tr>
|
||||||
<th>{ID}</th>
|
|
||||||
<th>{Titel}</th>
|
<th>{Titel}</th>
|
||||||
<th>{Link}</th>
|
<th>{Link}</th>
|
||||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
@extends("admin.layout.base")
|
||||||
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
|
@section("title")
|
||||||
|
Link - Opret
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("path")
|
||||||
|
<a href="{{ route('external-links.create') }}" class="text-white">Opret External Link</a> /
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("content")
|
||||||
|
Link blev (ikke) oprettet.
|
||||||
|
@endsection
|
|
@ -0,0 +1,14 @@
|
||||||
|
@extends("admin.layout.base")
|
||||||
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
|
@section("title")
|
||||||
|
link - Rediger
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("path")
|
||||||
|
<a href="{{ route('external-links.index') }}" class="text-white">External link</a> /
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("content")
|
||||||
|
Din link blev (ikke) redigeret.
|
||||||
|
@endsection
|
|
@ -28,20 +28,14 @@
|
||||||
<a href="{{ route("menu-plans.create") }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Menuplan</a>
|
<a href="{{ route("menu-plans.create") }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Menuplan</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="segment">
|
|
||||||
<h3 class="text-white">Booking</h3>
|
|
||||||
<div class="row">
|
|
||||||
<a href="{{ route("washing-reservations.index") }}" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vis Vaskemaskine Reservationer</a>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<a href="{{ route('washing-reservations.create') }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Vaskemaskine Reservation</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="segment">
|
<div class="segment">
|
||||||
<h3 class="text-white">Vaskemaskiner</h3>
|
<h3 class="text-white">Vaskemaskiner</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<a href="{{ route("washing-machines.index") }}" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vis Vaskemaskiner</a>
|
<a href="{{ route("washing-machines.index") }}" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vis Vaskemaskiner</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<a href="{{ route("washing-reservations.index") }}" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vaske Reservationer</a>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<a href="{{ route('washing-machines.create') }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Vaskemaskine</a>
|
<a href="{{ route('washing-machines.create') }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Vaskemaskine</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,21 +11,22 @@
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<h1>Opret Menuplan:</h1>
|
<h1>Opret Menuplan:</h1>
|
||||||
<form method="post" action="">
|
<form action="{{ action('MenuPlanController@store') }}" method="post">
|
||||||
<label for="mandag">Mandag:</label>
|
@csrf
|
||||||
<input type="text" name="mandag" id="mandag" required>
|
<label for="monday">Mandag:</label>
|
||||||
<label for="tirsdag">Tirsdag:</label>
|
<input type="text" name="monday" id="monday" required>
|
||||||
<input type="text" name="tirsdag" id="tirsdag" required>
|
<label for="tuesday">Tirsdag:</label>
|
||||||
<label for="onsdag">Onsdag:</label>
|
<input type="text" name="tuesday" id="tuesday" required>
|
||||||
<input type="text" name="onsdag" id="onsdag" required>
|
<label for="wednesday">Onsdag:</label>
|
||||||
<label for="torsdag">Torsdag:</label>
|
<input type="text" name="wednesday" id="wednesday" required>
|
||||||
<input type="text" name="torsdag" id="torsdag" required>
|
<label for="thursday">Torsdag:</label>
|
||||||
<label for="fredag">Fredag:</label>
|
<input type="text" name="thursday" id="thursday" required>
|
||||||
<input type="text" name="fredag" id="fredag" required>
|
<label for="friday">Fredag:</label>
|
||||||
<label for="lørdag">Lørdag:</label>
|
<input type="text" name="friday" id="friday" required>
|
||||||
<input type="text" name="lørdag" id="lørdag" required>
|
<label for="saturday">Lørdag:</label>
|
||||||
<label for="søndag">Søndag:</label>
|
<input type="text" name="saturday" id="saturday" required>
|
||||||
<input type="text" name="søndag" id="søndag" required>
|
<label for="sunday">Søndag:</label>
|
||||||
|
<input type="text" name="sunday" id="sunday" required>
|
||||||
|
|
||||||
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
|
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -6,12 +6,13 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="{{ route('menu-plans.edit') }}" class="text-white">Rediger Menuplan</a> /
|
<a class="text-white">Rediger Menuplan</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<h1>Rediger Menuplan:</h1>
|
<h1>Rediger Menuplan:</h1>
|
||||||
<form method="post" action="">
|
<form method="post" action="{{ route("menu-plans.store") }}">
|
||||||
|
@csrf
|
||||||
<label for="mandag">Mandag:</label>
|
<label for="mandag">Mandag:</label>
|
||||||
<input type="text" name="mandag" id="mandag" value="{Mandag}" required>
|
<input type="text" name="mandag" id="mandag" value="{Mandag}" required>
|
||||||
<label for="tirsdag">Tirsdag:</label>
|
<label for="tirsdag">Tirsdag:</label>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Mandag</th>
|
<th>Mandag</th>
|
||||||
<th>Tirsdag</th>
|
<th>Tirsdag</th>
|
||||||
<th>Onsdag</th>
|
<th>Onsdag</th>
|
||||||
|
@ -23,21 +22,20 @@
|
||||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
||||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($menuplans as $menuplan)
|
@foreach($menuPlans as $menuplan)
|
||||||
<tr>
|
<tr>
|
||||||
<th>{ID}</th>
|
<td>{{$menuplan->monday}}</td>
|
||||||
<th>{Mandag}</th>
|
<td>{{$menuplan->tuesday}}</td>
|
||||||
<th>{Tirsdag}</th>
|
<td>{{$menuplan->wednesday}}</td>
|
||||||
<th>{Onsdag}</th>
|
<td>{{$menuplan->thursday}}</td>
|
||||||
<th>{Torsdag}</th>
|
<td>{{$menuplan->friday}}</td>
|
||||||
<th>{Fredag}</th>
|
<td>{{$menuplan->saturday}}</td>
|
||||||
<th>{Lørdag}</th>
|
<td>{{$menuplan->sunday}}</td>
|
||||||
<th>{Søndag}</th>
|
|
||||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
||||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{{ $menuplans->links() }}
|
{{ $menuPlans->links() }}
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -6,13 +6,12 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="{{ route('menu-plans.show') }}" class="text-white">Vis Menuplan</a> /
|
<a href="{{ route('menu-plans.show', [ "id" => $menuplan->id ]) }}" class="text-white">Vis Menuplan</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fredag</th>
|
<th>Fredag</th>
|
||||||
<th>Tirsdag</th>
|
<th>Tirsdag</th>
|
||||||
<th>Onsdag</th>
|
<th>Onsdag</th>
|
||||||
|
@ -24,7 +23,6 @@
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Fredag}</td>
|
<td>{Fredag}</td>
|
||||||
<td>{Tirsdag}</td>
|
<td>{Tirsdag}</td>
|
||||||
<td>{Onsdag}</td>
|
<td>{Onsdag}</td>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Opret Vaskemaskiner</a> /
|
<a href="{{ route('menu-plans.create') }}" class="text-white">Opret Vaskemaskiner</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
|
@ -22,7 +21,6 @@
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($users as $user)
|
@foreach($users as $user)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $user->id }}</td>
|
|
||||||
<td>{{ $user->name_first }}</td>
|
<td>{{ $user->name_first }}</td>
|
||||||
<td>{{ $user->name_last }}</td>
|
<td>{{ $user->name_last }}</td>
|
||||||
<td>{{ $user->email }}</td>
|
<td>{{ $user->email }}</td>
|
||||||
|
|
|
@ -12,14 +12,12 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Navn</th>
|
<th>Navn</th>
|
||||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
||||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($machines as $machine)
|
@foreach($machines as $machine)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Navn}</td>
|
<td>{Navn}</td>
|
||||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
||||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
||||||
|
|
|
@ -12,13 +12,11 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Navn</th>
|
<th>Navn</th>
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Navn}</td>
|
<td>{Navn}</td>
|
||||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
||||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Tlf nr</th>
|
<th>Tlf nr</th>
|
||||||
|
@ -22,7 +21,6 @@
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($reservations as $reservation)
|
@foreach($reservations as $reservation)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
|
||||||
<td>{Fornavn}</td>
|
<td>{Fornavn}</td>
|
||||||
<td>{Efternavn}</td>
|
<td>{Efternavn}</td>
|
||||||
<td>{Tlf Nr}</td>
|
<td>{Tlf Nr}</td>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Telefon Nr.</th>
|
<th>Telefon Nr.</th>
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
<th>Fornavn</th>
|
||||||
<th>Efternavn</th>
|
<th>Efternavn</th>
|
||||||
<th>Telefon Nr.</th>
|
<th>Telefon Nr.</th>
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
<div class="col w-100 mt-auto">
|
<div class="col w-100 mt-auto">
|
||||||
<div class="calendar-container">
|
<div class="calendar-container">
|
||||||
<div class="calendar-container__header">
|
<div class="calendar-container__header">
|
||||||
<button id="month-previous" class="calendar-container__btn calendar-container__btn--left" title="Previous">
|
<button id="week-previous" class="calendar-container__btn calendar-container__btn--left" title="Previous">
|
||||||
<i class="icon ion-ios-arrow-back"></i>
|
<i class="icon ion-ios-arrow-back"></i>
|
||||||
</button>
|
</button>
|
||||||
<h2 id="month" class="calendar-container__title">{Måned} {År}</h2>
|
<h2 id="month" class="calendar-container__title">{Måned} {År}</h2>
|
||||||
<button id="month-next" class="calendar-container__btn calendar-container__btn--right" title="Next">
|
<button id="week-next" class="calendar-container__btn calendar-container__btn--right" title="Next">
|
||||||
<i class="icon ion-ios-arrow-forward"></i>
|
<i class="icon ion-ios-arrow-forward"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -223,22 +223,22 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="events-container">
|
<div class="events-container">
|
||||||
<span class="events__title">Tider</span>
|
<span class="events__title">Tider</span>
|
||||||
<ul class="events__list">
|
<select id="events" class="events__list">
|
||||||
<li class="events__item">
|
{{-- <li class="events__item">--}}
|
||||||
<div class="events__item--left">
|
{{-- <div class="events__item--left">--}}
|
||||||
<span class="events__name">Vaskemaskine Tid</span>
|
{{-- <span class="events__name">Vaskemaskine Tid</span>--}}
|
||||||
<span class="events__date">{Dato}</span>
|
{{-- <span class="events__date">{Dato}</span>--}}
|
||||||
</div>
|
{{-- </div>--}}
|
||||||
<span class="events__tag">Book</span>
|
{{-- <span class="events__tag">Book</span>--}}
|
||||||
</li>
|
{{-- </li>--}}
|
||||||
<li class="events__item">
|
{{-- <li class="events__item">--}}
|
||||||
<div class="events__item--left">
|
{{-- <div class="events__item--left">--}}
|
||||||
<span class="events__name">Vaskemaskine Tid</span>
|
{{-- <span class="events__name">Vaskemaskine Tid</span>--}}
|
||||||
<span class="events__date">{Dato}</span>
|
{{-- <span class="events__date">{Dato}</span>--}}
|
||||||
</div>
|
{{-- </div>--}}
|
||||||
<span class="events__tag">Book</span>
|
{{-- <span class="events__tag">Book</span>--}}
|
||||||
</li>
|
{{-- </li>--}}
|
||||||
</ul>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
@extends("app.layout.base")
|
||||||
|
@extends("app.layout.header")
|
||||||
|
@section("title")
|
||||||
|
Aktiviteter
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("content")
|
||||||
|
<main>
|
||||||
|
<h1 class="text-center sde-blue mb-0">Aktiviteter</h1>
|
||||||
|
|
||||||
|
<h3 class="sde-blue bold text-center mb-0">{Aktivitet}</h3>
|
||||||
|
<p class="text-center mt-0">{Dato}</p>
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
|
||||||
|
<a class="btn text-center btn-sde-blue btn-disabled" id="tilmeld">Tilmeld</a>
|
||||||
|
|
||||||
|
<h3 class="sde-blue bold text-center mb-0">{Aktivitet2}</h3>
|
||||||
|
<p class="text-center mt-0">{Dato}</p>
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
|
||||||
|
<a class="btn text-center btn-sde-blue btn-disabled" id="tilmeld">Tilmeld</a>
|
||||||
|
</main>
|
||||||
|
@endsection
|
|
@ -16,27 +16,27 @@
|
||||||
</button>
|
</button>
|
||||||
</header>
|
</header>
|
||||||
<div class="d-none bg-sde-blue col" id="menu">
|
<div class="d-none bg-sde-blue col" id="menu">
|
||||||
<a href="">
|
<a href="{{ route("menu-plans.index") }}">
|
||||||
<img src="{{URL::asset('/images/icons/Menuplan.svg')}}" alt="Menuplan">
|
<img src="{{URL::asset('/images/icons/Menuplan.svg')}}" alt="Menuplan">
|
||||||
Menuplan
|
Menuplan
|
||||||
</a>
|
</a>
|
||||||
<a href="">
|
<a href="{{ route("events.index") }}">
|
||||||
<img src="{{URL::asset('/images/icons/Aktiviteter.svg')}}" alt="Aktiviteter">
|
<img src="{{URL::asset('/images/icons/Aktiviteter.svg')}}" alt="Aktiviteter">
|
||||||
Aktiviteter
|
Aktiviteter
|
||||||
</a>
|
</a>
|
||||||
<a href="">
|
<a href="{{ route("washing-reservations.index") }}">
|
||||||
<img src="{{URL::asset('/images/icons/Vaske booking liste.svg')}}" alt="Vaske booking liste">
|
<img src="{{URL::asset('/images/icons/Vaske booking liste.svg')}}" alt="Reservationer">
|
||||||
Vaske booking liste
|
Reservationer
|
||||||
</a>
|
</a>
|
||||||
<a href="">
|
<a href="#">
|
||||||
<img src="{{URL::asset('/images/icons/Galleri.svg')}}" alt="Galleri">
|
<img src="{{URL::asset('/images/icons/Galleri.svg')}}" alt="Galleri">
|
||||||
Galleri
|
Galleri
|
||||||
</a>
|
</a>
|
||||||
<a href="">
|
<a href="#">
|
||||||
<img src="{{URL::asset('/images/icons/Kontoret.svg')}}" alt="Kontoret">
|
<img src="{{URL::asset('/images/icons/Kontoret.svg')}}" alt="Kontoret">
|
||||||
Kontoret
|
Kontoret
|
||||||
</a>
|
</a>
|
||||||
<a href="">
|
<a href="#">
|
||||||
<img src="{{URL::asset('/images/icons/Vagttelefon-hvid.svg')}}" alt="Vagttelefon">
|
<img src="{{URL::asset('/images/icons/Vagttelefon-hvid.svg')}}" alt="Vagttelefon">
|
||||||
Vagttelefon
|
Vagttelefon
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -11,9 +11,11 @@
|
||||||
{{--Register--}}
|
{{--Register--}}
|
||||||
{{--@extends("app.users.register")--}}
|
{{--@extends("app.users.register")--}}
|
||||||
|
|
||||||
|
{{--Events--}}
|
||||||
|
{{----}}@extends("app.events.index")
|
||||||
|
|
||||||
{{--Vagttelefon--}}
|
{{--Vagttelefon--}}
|
||||||
{{----}}@extends("app.vagttelefons.index")
|
{{--@extends("app.vagttelefons.index")--}}
|
||||||
|
|
||||||
{{--Booking Liste--}}
|
{{--Booking Liste--}}
|
||||||
{{--@extends("app.washing-reservations.index")--}}
|
{{--@extends("app.washing-reservations.index")--}}
|
||||||
|
@ -22,7 +24,7 @@
|
||||||
{{--@extends("app.menuplans.index")--}}
|
{{--@extends("app.menuplans.index")--}}
|
||||||
|
|
||||||
{{--Contact--}}
|
{{--Contact--}}
|
||||||
{{----}}@extends("app.contact.index")
|
{{--@extends("app.contact.index")--}}
|
||||||
|
|
||||||
{{----}}
|
{{----}}
|
||||||
{{------Admin Panel
|
{{------Admin Panel
|
||||||
|
|
|
@ -0,0 +1,58 @@
|
||||||
|
@extends("app.layout.base")
|
||||||
|
@extends("app.layout.header")
|
||||||
|
@section("title")
|
||||||
|
Booking Liste
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("content")
|
||||||
|
<main>
|
||||||
|
<h1 class="text-center sde-blue mb-0">Booking Liste</h1>
|
||||||
|
<div class="col w-100 mt-auto">
|
||||||
|
<div class="calendar-container">
|
||||||
|
<div class="calendar-container__header">
|
||||||
|
<button id="week-previous" class="calendar-container__btn fas fa-arrow-left" title="Previous">
|
||||||
|
<i class="icon ion-ios-arrow-back"></i>
|
||||||
|
</button>
|
||||||
|
<h2 id="title" class="calendar-container__title">{Måned} {År}</h2>
|
||||||
|
<button id="week-next" class="calendar-container__btn fas fa-arrow-right" title="Next">
|
||||||
|
<i class="icon ion-ios-arrow-forward"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="calendar-container__body">
|
||||||
|
<div id="calendar" class="calendar-table">
|
||||||
|
<div class="calendar-table__body">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="event-container" class="events-container">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Maskiner skal dynamisk opdateres alt efter om det er en fra bygning E eller en af de andre bygninger der vil vaske, da bygning E har egen vaskekælder!
|
||||||
|
</p>
|
||||||
|
{{-- <span class="events__title">Maskiner</span>--}}
|
||||||
|
{{-- <select id="washing-machines" class="events__list">--}}
|
||||||
|
|
||||||
|
{{-- </select>--}}
|
||||||
|
|
||||||
|
{{-- <span class="events__title">Tider</span>--}}
|
||||||
|
{{-- <select id="events" class="events__list">--}}
|
||||||
|
{{-- <li class="events__item">--}}
|
||||||
|
{{-- <div class="events__item--left">--}}
|
||||||
|
{{-- <span class="events__name">Vaskemaskine Tid</span>--}}
|
||||||
|
{{-- <span class="events__date">{Dato}</span>--}}
|
||||||
|
{{-- </div>--}}
|
||||||
|
{{-- <span class="events__tag">Book</span>--}}
|
||||||
|
{{-- </li>--}}
|
||||||
|
{{-- <li class="events__item">--}}
|
||||||
|
{{-- <div class="events__item--left">--}}
|
||||||
|
{{-- <span class="events__name">Vaskemaskine Tid</span>--}}
|
||||||
|
{{-- <span class="events__date">{Dato}</span>--}}
|
||||||
|
{{-- </div>--}}
|
||||||
|
{{-- <span class="events__tag">Book</span>--}}
|
||||||
|
{{-- </li>--}}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
@endsection
|
|
@ -25,6 +25,8 @@ Route::post("/login", "UserController@login")->name("users.login");
|
||||||
Route::get("/logout", "UserController@logout")->name("users.logout");
|
Route::get("/logout", "UserController@logout")->name("users.logout");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Route::resource("menu-plans", "MenuPlanController");
|
Route::resource("menu-plans", "MenuPlanController");
|
||||||
Route::resource("users", "UserController");
|
Route::resource("users", "UserController");
|
||||||
Route::resource("events", "EventController");
|
Route::resource("events", "EventController");
|
||||||
|
|
Loading…
Reference in New Issue