diff --git a/templates/add_trainer.html b/templates/add_trainer.html index 1d0072c..d65119f 100644 --- a/templates/add_trainer.html +++ b/templates/add_trainer.html @@ -1,19 +1,12 @@ - - -{{template "head.html" .}} - - -{{template "header.html" .}} -

Add Trainer

- Back to Home -
- -

- - -

- - -
- - +{{ template "preamble.html" }} +

Add Trainer

+
+ +

+ + +

+ + +
+{{template "epilogue.html" }} \ No newline at end of file diff --git a/templates/add_training_area.html b/templates/add_training_area.html index 9c6ba4f..2dec2d8 100644 --- a/templates/add_training_area.html +++ b/templates/add_training_area.html @@ -1,18 +1,8 @@ - - -{{template "head.html" .}} - - -{{template "header.html" .}} +{{ template "preamble.html" }}

Add New Training Area

-
- Back to Training Areas -

- Back to Home - - +{{template "epilogue.html" }} \ No newline at end of file diff --git a/templates/css.html b/templates/css.html index 6361904..c7f208a 100644 --- a/templates/css.html +++ b/templates/css.html @@ -12,19 +12,53 @@ header { background-color: #06041f; + color: #fff; padding: 20px; text-align: center; } - header img { - width: 150px; + .header-content { + display: flex; + justify-content: space-between; + align-items: center; + max-width: 1200px; + margin: 0 auto; + } + + .logo { + width: 50px; height: auto; } header h1 { + flex-grow: 1; + margin: 0; + font-size: 2em; color: #47d7ac; } + .nav-buttons a { + text-decoration: none; + margin: 0 10px; + padding: 10px 20px; + background-color: #47d7ac; + color: #fff; + border-radius: 5px; + font-weight: bold; + transition: background-color 0.3s ease; + display: inline-flex; + align-items: center; + justify-content: center; + } + + .nav-buttons a:hover { + background-color: #35a895; + } + + .nav-buttons i { + margin-right: 8px; + } + /* home */ .tiles ul { list-style-type: none; @@ -88,7 +122,7 @@ button { background-color: #47d7ac; - color: #fff; + color: #06041f; padding: 8px 16px; border: none; cursor: pointer; @@ -98,4 +132,9 @@ button:hover { background-color: #35a895; } + + .main { + margin-left: 20px; + margin-right: 20px; + } \ No newline at end of file diff --git a/templates/epilogue.html b/templates/epilogue.html new file mode 100644 index 0000000..d5f6fbc --- /dev/null +++ b/templates/epilogue.html @@ -0,0 +1,3 @@ + + + diff --git a/templates/header.html b/templates/header.html index d18311b..5968576 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,4 +1,10 @@
- Training Management Logo -

Nagarro Training Solutions

+
+ +

Nagarro Training Solutions

+ +
\ No newline at end of file diff --git a/templates/home.html b/templates/home.html index f4356cb..013b10e 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,9 +1,4 @@ - - -{{template "head.html" .}} - - -{{template "header.html" .}} +{{ template "preamble.html" }}

Welcome to the Training Management System

- - +{{template "epilogue.html" }} diff --git a/templates/login.html b/templates/login.html index 7db5e1a..af23d92 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,9 +1,4 @@ - - -{{template "head.html" .}} - - -{{template "header.html" .}} +{{ template "preamble.html" }}

Please log in to continue

@@ -14,5 +9,4 @@
- - +{{template "epilogue.html" }} \ No newline at end of file diff --git a/templates/preamble.html b/templates/preamble.html new file mode 100644 index 0000000..26f13d4 --- /dev/null +++ b/templates/preamble.html @@ -0,0 +1,7 @@ + + +{{template "head.html" .}} + + +{{template "header.html" .}} +
\ No newline at end of file diff --git a/templates/setup_admin.html b/templates/setup_admin.html index af6ea2a..e962b42 100644 --- a/templates/setup_admin.html +++ b/templates/setup_admin.html @@ -1,9 +1,4 @@ - - -{{template "head.html" .}} - - -{{template "header.html" .}} +{{ template "preamble.html" }}

Setup Admin Account

@@ -16,5 +11,4 @@
- - +{{template "epilogue.html" }} \ No newline at end of file diff --git a/templates/trainer_list.html b/templates/trainer_list.html index 53f41c3..6a30c43 100644 --- a/templates/trainer_list.html +++ b/templates/trainer_list.html @@ -1,13 +1,6 @@ - - -{{template "head.html" .}} - - -{{template "header.html" .}} - +{{ template "preamble.html" }}

Trainers

- Back to Home - Add Trainer + @@ -20,5 +13,4 @@ {{ end }}
Name
- - +{{template "epilogue.html" }} \ No newline at end of file diff --git a/templates/training_area_list.html b/templates/training_area_list.html index d7abc63..ada9861 100644 --- a/templates/training_area_list.html +++ b/templates/training_area_list.html @@ -1,12 +1,6 @@ - - -{{template "head.html" .}} - - -{{template "header.html" .}} - +{{ template "preamble.html" }}

Training Areas

-Add Training Area + @@ -34,8 +28,4 @@ {{end}}
- -Back to Home - - - +{{template "epilogue.html" }} \ No newline at end of file diff --git a/templates/training_list.html b/templates/training_list.html index e2503ce..37139ec 100644 --- a/templates/training_list.html +++ b/templates/training_list.html @@ -1,11 +1,5 @@ - - -{{template "head.html" .}} - - -{{template "header.html" .}} +{{ template "preamble.html" }}

Trainings

- Back to Home @@ -26,5 +20,4 @@ {{ end }}
Title
- - +{{template "epilogue.html" }} \ No newline at end of file