From 2d3535c8dcfee038987e8341a1bbfe3a58009091 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Fri, 30 Nov 2018 17:27:56 +0200 Subject: [PATCH] Change nav color and add footer --- src/main/resources/static/css/style.css | 9 + src/main/resources/templates/error/403.html | 55 +- src/main/resources/templates/error/404.html | 49 +- src/main/resources/templates/error/500.html | 53 +- src/main/resources/templates/footer.html | 21 + src/main/resources/templates/index.html | 23 +- src/main/resources/templates/loading.html | 60 +- src/main/resources/templates/music.html | 515 +++++++++--------- .../resources/templates/oauthCallback.html | 47 +- src/main/resources/templates/register.html | 45 +- src/main/resources/templates/settings.html | 184 ++++--- 11 files changed, 578 insertions(+), 483 deletions(-) create mode 100644 src/main/resources/templates/footer.html diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css index c421fc8..80d16e4 100644 --- a/src/main/resources/static/css/style.css +++ b/src/main/resources/static/css/style.css @@ -9,3 +9,12 @@ padding: 0px; } +body { + display: flex; + min-height: 100vh; + flex-direction: column; +} + +main { + flex: 1 0 auto; +} \ No newline at end of file diff --git a/src/main/resources/templates/error/403.html b/src/main/resources/templates/error/403.html index caf2ea3..ba70c84 100644 --- a/src/main/resources/templates/error/403.html +++ b/src/main/resources/templates/error/403.html @@ -19,12 +19,14 @@ .row.valign-wrapper { display: inherit; } - img{ + + img { margin-top: 10px; } } + @media only screen and (min-width: 992px) { - img{ + img { width: 70%; } } @@ -35,40 +37,43 @@ - + -
...
+
+
...
+
+
+
+ +
+
+
+

STOP !

+

Who are you ??? Why are you here ???

- -
- -
-
-
-

STOP !

-

Who are you ??? Why are you here ???

- - - - home - -
403 – Forbidden
+ + home + +
403 – Forbidden
+
+
+ +
-
- +
+
-
-
-
-
- +
+ diff --git a/src/main/resources/templates/error/404.html b/src/main/resources/templates/error/404.html index 19f10b6..e0c6880 100644 --- a/src/main/resources/templates/error/404.html +++ b/src/main/resources/templates/error/404.html @@ -18,39 +18,42 @@ - + -
...
+
+
...
+
+
+
- - -
- -
-
-
-

Oops !

-

You are lost !

-

Page not found !

- - home - -
404 – Not Found
+
+
+
+

Oops !

+

You are lost !

+

Page not found !

+ + home + +
404 – Not Found
+
+
+ +
-
- +
+
-
-
-
-
- +
+ diff --git a/src/main/resources/templates/error/500.html b/src/main/resources/templates/error/500.html index e7759fc..25c836e 100644 --- a/src/main/resources/templates/error/500.html +++ b/src/main/resources/templates/error/500.html @@ -19,12 +19,14 @@ .row.valign-wrapper { display: inherit; } - img{ + + img { margin-top: 10px; } } + @media only screen and (min-width: 992px) { - img{ + img { width: 70%; } } @@ -35,37 +37,42 @@ - + -
...
+
+
...
+
+
+
+
+
+
+

Well...

+

Something was wrong with the server...

+

- -
- -
-
-
-

Well...

-

Something was wrong with the server...

-

- - - home - -
500 – Internal Server Error
-
-
- + + home + +
500 – Internal Server Error
+
+
+ +
+
-
-
+
+ + diff --git a/src/main/resources/templates/footer.html b/src/main/resources/templates/footer.html new file mode 100644 index 0000000..6f77900 --- /dev/null +++ b/src/main/resources/templates/footer.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 9d38fe0..cab6edd 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -18,18 +18,25 @@ - + +
+
...
+
-
...
+
+
+
+

Home Page

+

Coming Soon

+ +
-
-
-

Home Page

-

Coming Soon

-
+
- + diff --git a/src/main/resources/templates/loading.html b/src/main/resources/templates/loading.html index c912ace..a2db98f 100644 --- a/src/main/resources/templates/loading.html +++ b/src/main/resources/templates/loading.html @@ -15,18 +15,20 @@ - + - +
+ +
@@ -34,30 +36,36 @@ -
-
-

Bot is starting

-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+

Bot is starting

+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-

Please wait

-
+
+

Please wait

+
-
+
+ + +
+
...
+
diff --git a/src/main/resources/templates/music.html b/src/main/resources/templates/music.html index 8d4d2fc..15fb6f3 100644 --- a/src/main/resources/templates/music.html +++ b/src/main/resources/templates/music.html @@ -56,318 +56,333 @@ -
...
-
-
-
-
- -
-

-
-
-
+
+
...
+
+
+
+
+
+
+
-
-
-
0:00 +

+
+
+
+
-
0:00 +
+
0:00 +
+
0:00 +
-
-
- -
+ - +
+ + + + + + + + + + + + + +
+
+
Playlist
+
+ + +
+
+ AutoFlow +
+
+ +
+
+ +
+
+
    + +
+
+ +
+ + +
+ + + + -
- - - - - - - - - - - - -
-
-
Playlist
-
- delete_sweep + + +
+ + +
-
    - -
-
- -
- - -
- - - - - - -
- - -
+ + +
+
...
+
-

diff --git a/src/main/resources/templates/oauthCallback.html b/src/main/resources/templates/oauthCallback.html index 74e992b..c256aeb 100644 --- a/src/main/resources/templates/oauthCallback.html +++ b/src/main/resources/templates/oauthCallback.html @@ -17,32 +17,41 @@ - + -
...
+
+
...
+
-
-
-
-
-
-
-
-
-
-
-
-
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-

Please wait

-
+
+

Please wait

+
-
+
+ + +
+
...
+
diff --git a/src/main/resources/templates/register.html b/src/main/resources/templates/register.html index 46488af..7cbce7b 100644 --- a/src/main/resources/templates/register.html +++ b/src/main/resources/templates/register.html @@ -14,12 +14,14 @@ - + +
...
+
- +
@@ -53,14 +55,13 @@
- - + +
+
...
+
- - - - - - - - + + + + + + + + + /*]]>*/ + \ No newline at end of file diff --git a/src/main/resources/templates/settings.html b/src/main/resources/templates/settings.html index 0b5fde1..6ab4829 100644 --- a/src/main/resources/templates/settings.html +++ b/src/main/resources/templates/settings.html @@ -18,124 +18,134 @@ - + -
...
+
+
...
+
+
+
+

+
+
+
+
+
+ +
+
+ +
+
+ +
- -
-

-
-
-
-
-
- -
- -
- -
-
-
+
+
+
+ +
-
- +
+ Savesave +
-
-
- Savesave -
-
+
+
+
...
+