Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Home - Admin Panel
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
|
||||
@endsection
|
||||
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>@yield("title")</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<link type="text/css" rel="stylesheet" href="{{ mix("/css/admin.css") }}">
|
||||
</head>
|
||||
<body>
|
||||
@yield("header")
|
||||
<main class="row">
|
||||
<div class="col nav" style="background-color: #333333;">
|
||||
<div class="segment">
|
||||
<h3 class="text-white">Brugere</h3>
|
||||
<div class="row">
|
||||
<a href="" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vis Brugere</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a href="" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Bruger</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a href="" class="text-white"><img src="{{ asset('/images/icons/pencil.svg') }}" alt="Update">Rediger Bruger</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="segment">
|
||||
<h3 class="text-white">Menuplan</h3>
|
||||
<div class="row">
|
||||
<a href="" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vis Menuplan</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a href="" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Menuplan</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a href="" class="text-white"><img src="{{ asset('/images/icons/pencil.svg') }}" alt="Update">Rediger Menuplan</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-85" style="background-color: #cccccc;">
|
||||
<div class="directorypath text-white">
|
||||
<a href="" class="text-white">Home</a> / @yield("path")
|
||||
</div>
|
||||
<div class="content">
|
||||
@yield("content")
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script src="{{ mix("/js/app.js") }}"></script>
|
||||
@yield("scripts")
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,7 @@
|
||||
@section("header")
|
||||
<header class="row align-items-center" style="background-color: #00788a;">
|
||||
<img src="{{ URL::asset('/images/logos/Logo-hvid.svg') }}" class="h-100 brand" alt="Syddansk Erhvervsskole">
|
||||
<a href="" class="btn btn-dark text-white m-0 ml-auto">User: Admin</a>
|
||||
<a href="" class="btn btn-dark text-white m-0 ml-1 mr-1">Log ud</a>
|
||||
</header>
|
||||
@endsection
|
||||
@@ -0,0 +1,32 @@
|
||||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Menuplan - Opret
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="" class="text-white">Opret Menuplan</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<h1>Opret Menuplan:</h1>
|
||||
<form method="post" action="">
|
||||
<label for="mandag">Mandag:</label>
|
||||
<input type="text" name="mandag" id="mandag" required>
|
||||
<label for="tirsdag">Tirsdag:</label>
|
||||
<input type="text" name="tirsdag" id="tirsdag" required>
|
||||
<label for="onsdag">Onsdag:</label>
|
||||
<input type="text" name="onsdag" id="onsdag" required>
|
||||
<label for="torsdag">Torsdag:</label>
|
||||
<input type="text" name="torsdag" id="torsdag" required>
|
||||
<label for="fredag">Fredag:</label>
|
||||
<input type="text" name="fredag" id="fredag" required>
|
||||
<label for="lørdag">Lørdag:</label>
|
||||
<input type="text" name="lørdag" id="lørdag" required>
|
||||
<label for="søndag">Søndag:</label>
|
||||
<input type="text" name="søndag" id="søndag" required>
|
||||
|
||||
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
|
||||
</form>
|
||||
@endsection
|
||||
@@ -0,0 +1,39 @@
|
||||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Menuplan - Read
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="" class="text-white">Vis Menuplan</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<table class="tbl">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Fredag</th>
|
||||
<th>Tirsdag</th>
|
||||
<th>Onsdag</th>
|
||||
<th>Torsdag</th>
|
||||
<th>Fredag</th>
|
||||
<th>Lørdag</th>
|
||||
<th>Søndag</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{ID}</td>
|
||||
<td>{Fredag}</td>
|
||||
<td>{Tirsdag}</td>
|
||||
<td>{Onsdag}</td>
|
||||
<td>{Torsdag}</td>
|
||||
<td>{Fredag}</td>
|
||||
<td>{Lørdag}</td>
|
||||
<td>{Søndag}</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>
|
||||
</tr>
|
||||
</table>
|
||||
@endsection
|
||||
@@ -0,0 +1,32 @@
|
||||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Menuplan - Rediger
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="" class="text-white">Rediger Menuplan</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<h1>Rediger Menuplan:</h1>
|
||||
<form method="post" action="">
|
||||
<label for="mandag">Mandag:</label>
|
||||
<input type="text" name="mandag" id="mandag" value="{Mandag}" required>
|
||||
<label for="tirsdag">Tirsdag:</label>
|
||||
<input type="text" name="tirsdag" id="tirsdag" value="{Tirsdag}" required>
|
||||
<label for="onsdag">Onsdag:</label>
|
||||
<input type="text" name="onsdag" id="onsdag" value="{Onsdag}" required>
|
||||
<label for="torsdag">Torsdag:</label>
|
||||
<input type="text" name="torsdag" id="torsdag" value="{Torsdag}" required>
|
||||
<label for="fredag">Fredag:</label>
|
||||
<input type="text" name="fredag" id="fredag" value="{Fredag}" required>
|
||||
<label for="lørdag">Lørdag:</label>
|
||||
<input type="text" name="lørdag" id="lørdag" value="{Lørdag}" required>
|
||||
<label for="søndag">Søndag:</label>
|
||||
<input type="text" name="søndag" id="søndag" value="{Søndag}" required>
|
||||
|
||||
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
|
||||
</form>
|
||||
@endsection
|
||||
@@ -0,0 +1,29 @@
|
||||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Bruger - Opret
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="" class="text-white">Opret Bruger</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<h1>Opret Bruger:</h1>
|
||||
<form method="post" action="">
|
||||
<label for="name_first">Fornavn:</label>
|
||||
<input type="text" name="name_first" id="name_first" required>
|
||||
<label for="name_last">Efternavn:</label>
|
||||
<input type="text" name="name_last" id="name_last" required>
|
||||
<label for="email">Email:</label>
|
||||
<input type="email" name="email" id="email" required>
|
||||
<label for="password1">Password:</label>
|
||||
<input type="password" name="password" id="password1" required>
|
||||
<label for="password2">Confirm Password:</label>
|
||||
<input type="password" id="password2" required>
|
||||
<label for="tel">Telefon nr:</label>
|
||||
<input type="tel" name="phone" id="tel" required>
|
||||
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||
</form>
|
||||
@endsection
|
||||
@@ -0,0 +1,33 @@
|
||||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
User - Read
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="" class="text-white">Vis Brugere</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<table class="tbl">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Fornavn</th>
|
||||
<th>Efternavn</th>
|
||||
<th>Email</th>
|
||||
<th>Tlf nr</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{ID}</td>
|
||||
<td>{Fornavn}</td>
|
||||
<td>{Efternavn}</td>
|
||||
<td>{Email}</td>
|
||||
<td>{TLF}</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>
|
||||
</tr>
|
||||
</table>
|
||||
@endsection
|
||||
@@ -0,0 +1,29 @@
|
||||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Bruger - Rediger
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="" class="text-white">Rediger Bruger</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<h1>Rediger Bruger:</h1>
|
||||
<form method="post" action="">
|
||||
<label for="name_first">Fornavn:</label>
|
||||
<input type="text" name="name_first" id="name_first" value="{Fornavn}" required>
|
||||
<label for="name_last">Efternavn:</label>
|
||||
<input type="text" name="name_last" id="name_last" value="{Efternavn}" required>
|
||||
<label for="email">Email:</label>
|
||||
<input type="email" name="email" id="email" value="{Email}" required>
|
||||
<label for="password1">Password:</label>
|
||||
<input type="password" name="password" id="password1" value="{Password}" required>
|
||||
<label for="password2">Confirm Password:</label>
|
||||
<input type="password" id="password2" value="{Password}" required>
|
||||
<label for="tel">Telefon nr:</label>
|
||||
<input type="tel" name="phone" id="tel" value="{Telefon}" required>
|
||||
<input type="submit" class="btn btn-dark text-white" value="Rediger">
|
||||
</form>
|
||||
@endsection
|
||||
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>@yield("title")</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<link type="text/css" rel="stylesheet" href="{{ mix("/css/webapp.css") }}">
|
||||
</head>
|
||||
<body style="background-color: #00788a;">
|
||||
@yield("content")
|
||||
|
||||
<script src="{{ mix("/js/app.js") }}"></script>
|
||||
@yield("scripts")
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,4 @@
|
||||
@extends('webapp.layout.base')
|
||||
|
||||
@section('content')
|
||||
@endsection
|
||||
+4
-4
@@ -1,17 +1,17 @@
|
||||
@extends("layout.base")
|
||||
@extends("app.layout.base")
|
||||
|
||||
@section("title")
|
||||
Login
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<main>
|
||||
<main style="background-color: #00788a; height: 100%;">
|
||||
<div class="brand">
|
||||
<img src="{{URL::asset('/images/logos/Logo-hvid.svg')}}" alt="Syddansk Erhvervsskole">
|
||||
</div>
|
||||
<form action="" method="post">
|
||||
<input type="email" name="email" placeholder="Email" required>
|
||||
<input type="password" name="password" placeholder="Password" required>
|
||||
<input class="appinput" type="email" name="email" placeholder="Email" required>
|
||||
<input class="appinput" type="password" name="password" placeholder="Password" required>
|
||||
<label class="toggle">
|
||||
<input class="toggle__input" type="checkbox" name="rememberpassword">
|
||||
<span class="toggle__label">
|
||||
+5
-5
@@ -1,18 +1,18 @@
|
||||
@extends("layout.base")
|
||||
@extends("app.layout.base")
|
||||
|
||||
@section("title")
|
||||
Register
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<main>
|
||||
<main style="background-color: #00788a; height: 100%;">
|
||||
<div class="brand">
|
||||
<img src="{{ URL::asset('/images/logos/Logo-hvid.svg') }}" alt="Syddansk Erhvervsskole">
|
||||
</div>
|
||||
<form action="" method="post" onsubmit="return validateRegisterForm(this)" >
|
||||
<input type="email" name="email" placeholder="Email">
|
||||
<input type="password" name="password" placeholder="Password">
|
||||
<input type="password" name="confirmpassword" placeholder="Confirm password">
|
||||
<input class="appinput" type="email" name="email" placeholder="Email">
|
||||
<input class="appinput" type="password" name="password" placeholder="Password">
|
||||
<input class="appinput" type="password" name="confirmpassword" placeholder="Confirm password">
|
||||
<input class="btn btn-dark" type="submit" value="Sign up">
|
||||
<button class="btn" onclick="window.location='';">Sign in</button>
|
||||
</form>
|
||||
@@ -1,7 +1,35 @@
|
||||
@extends("layout.base")
|
||||
{{----}}
|
||||
{{------Webapp
|
||||
{{----}}
|
||||
|
||||
{{--Login--}}
|
||||
{{--@extends("app.user.login")--}}
|
||||
|
||||
{{--Register--}}
|
||||
{{--@extends("app.user.register")--}}
|
||||
|
||||
|
||||
{{--Vagttelefon--}}
|
||||
{{--@extends("webapp.vagttelefon.index")--}}
|
||||
|
||||
@section("content")
|
||||
Hej
|
||||
@endsection
|
||||
{{----}}
|
||||
{{------Admin Panel
|
||||
{{----}}
|
||||
|
||||
{{--Create User--}}
|
||||
{{--@extends("admin.user.create")--}}
|
||||
|
||||
{{--Read User--}}
|
||||
{{--@extends("admin.user.read")--}}
|
||||
|
||||
{{--Update User--}}
|
||||
{{--@extends("admin.user.update")--}}
|
||||
|
||||
{{--Create Menuplan--}}
|
||||
{{----}}@extends("admin.menuplan.create")
|
||||
|
||||
{{--Read Menuplan--}}
|
||||
{{--@extends("admin.menuplan.read")--}}
|
||||
|
||||
{{--Update Menuplan--}}
|
||||
{{--@extends("admin.menuplan.update")--}}
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
@extends('layout.base')
|
||||
|
||||
@section('content')
|
||||
|
||||
<ul>
|
||||
|
||||
</ul>
|
||||
|
||||
@endsection
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
<title>@yield("title")</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<link type="text/css" rel="stylesheet" href="{{ mix("/css/app.css") }}">
|
||||
<link type="text/css" rel="stylesheet" href="{{ mix("/css/webapp.css") }}">
|
||||
</head>
|
||||
<body>
|
||||
@yield("header")
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
@extends("layout.base")
|
||||
@extends("layout.header")
|
||||
@extends("webapp.layout.base")
|
||||
@extends("webapp.layout.header")
|
||||
@section("title")
|
||||
Menuplan
|
||||
@endsection
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
@extends("layout.base")
|
||||
@extends("layout.header")
|
||||
@extends("webapp.layout.base")
|
||||
@extends("webapp.layout.header")
|
||||
@section("title")
|
||||
Menuplan
|
||||
@endsection
|
||||
Reference in New Issue
Block a user