aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/views/inc/navbar.blade.php6
-rw-r--r--resources/views/inc/special_navbar.blade.php4
-rw-r--r--resources/views/pages/gallery-add.blade.php13
3 files changed, 18 insertions, 5 deletions
diff --git a/resources/views/inc/navbar.blade.php b/resources/views/inc/navbar.blade.php
index 60bda7b..332c799 100644
--- a/resources/views/inc/navbar.blade.php
+++ b/resources/views/inc/navbar.blade.php
@@ -16,12 +16,12 @@
<div class="navbar-nav ml-auto">
@if (Auth::check())
<div class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <span class="nav-link dropdown-toggle" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Administration
- </a>
+ </span>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="{{ route('newsAdd') }}">News</a>
- <a class="dropdown-item" href="#">Gallery</a>
+ <a class="dropdown-item" href="{{ route('galleryAdd') }}">Gallery</a>
</div>
</div>
<a href="{{ route('logout') }}" class="nav-item nav-link">Logout</a>
diff --git a/resources/views/inc/special_navbar.blade.php b/resources/views/inc/special_navbar.blade.php
index 763a470..69ec1e8 100644
--- a/resources/views/inc/special_navbar.blade.php
+++ b/resources/views/inc/special_navbar.blade.php
@@ -13,9 +13,9 @@
<div class="navbar-nav ml-auto">
@if (Auth::check())
<div class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <span class="nav-link dropdown-toggle" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Administration
- </a>
+ </span>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="{{ route('addSign') }}">Callsigns</a>
<a class="dropdown-item" href="{{ route('reservations') }}">Reservations</a>
diff --git a/resources/views/pages/gallery-add.blade.php b/resources/views/pages/gallery-add.blade.php
new file mode 100644
index 0000000..2d0ec27
--- /dev/null
+++ b/resources/views/pages/gallery-add.blade.php
@@ -0,0 +1,13 @@
+@extends('layouts.app')
+
+@section('title', 'Add image')
+
+@section('content')
+ <form action="{{ route('galleryAddForm')}}" method="POST" enctype="multipart/form-data">
+ @csrf
+ <div class="form-group">
+ <input type="file" placeholder="Choose images" name="images"/>
+ </div>
+ <input type="submit" value="Submit" name="submit" class="btn btn-primary"/>
+ </form>
+@endsection()