From 83e7e6b8868896c18908afbc4be4da29040d0187 Mon Sep 17 00:00:00 2001 From: Pomog Date: Sat, 30 Dec 2023 17:59:01 +0200 Subject: [PATCH] HTML formatted --- templates/about.page.tmpl | 2 +- templates/admin-all-reservations.page.tmpl | 74 ++++---- templates/admin-dashboard.page.tmpl | 8 +- templates/admin-new-reservations.page.tmpl | 74 ++++---- templates/admin-reservations-show.page.tmpl | 177 +++++++++--------- templates/admin.layout.tmpl | 108 +++++------ templates/choose-room.page.tmpl | 26 +-- templates/contact.html | 194 ++++++++++---------- templates/generals.page.tmpl | 133 +++++++------- templates/home.page.tmpl | 125 ++++++------- templates/login.page.tmpl | 58 +++--- templates/majors.page.tmpl | 133 +++++++------- templates/make-reservation.page.tmpl | 113 ++++++------ templates/reservation-summary.page.tmpl | 24 +-- templates/search-availability.page.tmpl | 49 +++-- 15 files changed, 650 insertions(+), 648 deletions(-) diff --git a/templates/about.page.tmpl b/templates/about.page.tmpl index 387c555..a3144d6 100644 --- a/templates/about.page.tmpl +++ b/templates/about.page.tmpl @@ -4,4 +4,4 @@ -{{end}} +{{end}} \ No newline at end of file diff --git a/templates/admin-all-reservations.page.tmpl b/templates/admin-all-reservations.page.tmpl index 10515e1..c8aef57 100644 --- a/templates/admin-all-reservations.page.tmpl +++ b/templates/admin-all-reservations.page.tmpl @@ -1,22 +1,22 @@ {{template "admin" .}} {{define "css"}} - + {{end}} {{define "page-title"}} - All Reservations +All Reservations {{end}} {{define "content"}} -
+

{{template "page-title" .}}

{{ $res := index .Data "reservations"}}
- - - +
+ + @@ -29,43 +29,43 @@ - - - - {{range $i, $reservation := $res}} - - - - + + + {{range $i, $reservation := $res}} + + + + - - - - - - - - - - - {{end}} - -
ID First Name Last NameUpdated At Room ID Room Name
{{$reservation.ID}}{{$reservation.FirstName}} +
{{$reservation.ID}}{{$reservation.FirstName}} - {{$reservation.LastName}} + {{$reservation.LastName}} - {{$reservation.Email}}{{$reservation.Phone}}{{dateformate $reservation.StartDate}}{{dateformate $reservation.EndDate}}{{$reservation.RoomID}}{{dateformate $reservation.CreatedAt}}{{dateformate $reservation.UpdatedAt}}{{$reservation.Room.ID}}{{$reservation.Room.RoomName}}
-
+ + {{$reservation.Email}} + {{$reservation.Phone}} + {{dateformate $reservation.StartDate}} + {{dateformate $reservation.EndDate}} + {{$reservation.RoomID}} + {{dateformate $reservation.CreatedAt}} + {{dateformate $reservation.UpdatedAt}} + {{$reservation.Room.ID}} + {{$reservation.Room.RoomName}} + + {{end}} + +
+
{{end}} {{define "js"}} - + - + }) + {{end}} \ No newline at end of file diff --git a/templates/admin-dashboard.page.tmpl b/templates/admin-dashboard.page.tmpl index 9758926..fe50677 100644 --- a/templates/admin-dashboard.page.tmpl +++ b/templates/admin-dashboard.page.tmpl @@ -1,11 +1,11 @@ {{template "admin" .}} {{define "page-title"}} - Dashboard +Dashboard {{end}} {{define "content"}} -
- Dashboard content -
+
+ Dashboard content +
{{end}} \ No newline at end of file diff --git a/templates/admin-new-reservations.page.tmpl b/templates/admin-new-reservations.page.tmpl index bda606c..89546f9 100644 --- a/templates/admin-new-reservations.page.tmpl +++ b/templates/admin-new-reservations.page.tmpl @@ -1,22 +1,22 @@ {{template "admin" .}} {{define "css"}} - + {{end}} {{define "page-title"}} - All Reservations +All Reservations {{end}} {{define "content"}} -
+

{{template "page-title" .}}

{{ $res := index .Data "reservations"}}
- - - +
+ + @@ -30,44 +30,44 @@ - - - - {{range $i, $reservation := $res}} - - - - - + + + {{range $i, $reservation := $res}} + + + + + - - - - - - - - - - - {{end}} - -
ID New First NameUpdated At Room ID Room Name
{{$reservation.ID}}{{$reservation.Processed}}{{$reservation.FirstName}} +
{{$reservation.ID}}{{$reservation.Processed}}{{$reservation.FirstName}} - {{$reservation.LastName}} + {{$reservation.LastName}} - {{$reservation.Email}}{{$reservation.Phone}}{{dateformate $reservation.StartDate}}{{dateformate $reservation.EndDate}}{{$reservation.RoomID}}{{dateformate $reservation.CreatedAt}}{{dateformate $reservation.UpdatedAt}}{{$reservation.Room.ID}}{{$reservation.Room.RoomName}}
+ + {{$reservation.Email}} + {{$reservation.Phone}} + {{dateformate $reservation.StartDate}} + {{dateformate $reservation.EndDate}} + {{$reservation.RoomID}} + {{dateformate $reservation.CreatedAt}} + {{dateformate $reservation.UpdatedAt}} + {{$reservation.Room.ID}} + {{$reservation.Room.RoomName}} + + {{end}} + +
{{end}} {{define "js"}} - + - + }) + {{end}} \ No newline at end of file diff --git a/templates/admin-reservations-show.page.tmpl b/templates/admin-reservations-show.page.tmpl index f8366e6..16be64d 100644 --- a/templates/admin-reservations-show.page.tmpl +++ b/templates/admin-reservations-show.page.tmpl @@ -1,22 +1,22 @@ {{template "admin" .}} {{define "page-title"}} - Reservations +Reservations {{end}} {{define "content"}} - {{$reservation := index .Data "reservation"}} - {{$src := index .StringMap "src"}} -
-

+{{$reservation := index .Data "reservation"}} +{{$src := index .StringMap "src"}} +

+

Arrival: {{dateformate $reservation.StartDate}}
Departue: {{dateformate $reservation.EndDate}}
-

-
+

+
- - - +
+ + @@ -29,102 +29,97 @@ - - - - - - - - + + + + + + + - - - - - - - - - - -
ID New First NameCreated At Updated At Room Name
{{$reservation.ID}}{{$reservation.Processed}}{{$reservation.FirstName}} +
{{$reservation.ID}}{{$reservation.Processed}}{{$reservation.FirstName}} - {{$reservation.LastName}} + {{$reservation.LastName}} - {{$reservation.Email}}{{$reservation.Phone}}{{dateformate $reservation.StartDate}}{{dateformate $reservation.EndDate}}{{$reservation.RoomID}}{{dateformate $reservation.CreatedAt}}{{dateformate $reservation.UpdatedAt}}{{$reservation.Room.RoomName}}
+ + {{$reservation.Email}} + {{$reservation.Phone}} + {{dateformate $reservation.StartDate}} + {{dateformate $reservation.EndDate}} + {{$reservation.RoomID}} + {{dateformate $reservation.CreatedAt}} + {{dateformate $reservation.UpdatedAt}} + {{$reservation.Room.RoomName}} + + + -
- + + -
- - {{with.Form.Errors.Get "first_name"}} - - {{end}} - -
+
+ + {{with.Form.Errors.Get "first_name"}} + + {{end}} + +
-
- - {{with.Form.Errors.Get "last_name"}} - - {{end}} - -
+
+ + {{with.Form.Errors.Get "last_name"}} + + {{end}} + +
-
- - {{with.Form.Errors.Get "email"}} - - {{end}} - -
+
+ + {{with.Form.Errors.Get "email"}} + + {{end}} + +
-
- - {{with.Form.Errors.Get "phone"}} - - {{end}} - -
+
+ + {{with.Form.Errors.Get "phone"}} + + {{end}} + +
-
- - Cancel +
+ + Cancel - Mark As Processed -
+ Mark As Processed +
-
+
{{end}} {{define "js"}} - {{$src := index .StringMap "src"}} - -{{end}} - + +{{end}} \ No newline at end of file diff --git a/templates/admin.layout.tmpl b/templates/admin.layout.tmpl index 71f2e10..4590e8f 100644 --- a/templates/admin.layout.tmpl +++ b/templates/admin.layout.tmpl @@ -1,48 +1,50 @@ {{define "admin"}} - - + + - - - - - Administration + + + + + Administration - - - - - - - - - - - - - - - - - - - {{block "css" . }} - - - - {{end}} - - - + + + + + + + + + + + + + + + + + + {{block "css" . }} + + + + {{end}} + + + + +
+ -{{end}} +{{end}} \ No newline at end of file diff --git a/templates/contact.html b/templates/contact.html index c09a44b..c22547f 100644 --- a/templates/contact.html +++ b/templates/contact.html @@ -1,105 +1,113 @@ - - - - Bootstrap demo - - - - - - - + + + + Bootstrap demo + + + -
-
-
-

Column1

-
-
-

Column2

-
-
-

Column3

-
-
-

Column4

-
-
+ -
-

This will be the contact page

-

Some text. Some text. Some text. Some text.

-
-
+ + + + +
+
+
+

Column1

+
+
+

Column2

+
+
+

Column3

+
+
+

Column4

+
+
+
+

This will be the contact page

+

Some text. Some text. Some text. Some text.

- + + + + + + + - - - \ No newline at end of file diff --git a/templates/generals.page.tmpl b/templates/generals.page.tmpl index a2e5555..c9e53d8 100644 --- a/templates/generals.page.tmpl +++ b/templates/generals.page.tmpl @@ -16,34 +16,35 @@

Column4

-
+
-
-
- Responsive image -
-
+
+
+ Responsive image +
+
-
-

Generals Quarters

-

Some text. Some text. Some text. Some text.

+
+

Generals Quarters

+

Some text. Some text. Some text. Some text.

+
-
- -
{{end}} {{define "js"}} diff --git a/templates/home.page.tmpl b/templates/home.page.tmpl index d93f85a..81ae7d2 100644 --- a/templates/home.page.tmpl +++ b/templates/home.page.tmpl @@ -3,72 +3,73 @@