From 2fb4a2f13ebe169c4f7cce8a3d9fc9c6787ba3da Mon Sep 17 00:00:00 2001 From: dario-cfpt Date: Sat, 7 Mar 2020 15:23:54 +0100 Subject: [PATCH] Update the display order of the elements of the UI The pages display the graph at the top instead at the bottom. Also added some css to improve the look of the UI --- mobile/www/css/index.css | 15 ++++++++++++- mobile/www/index.html | 4 ++-- mobile/www/pages/comparator.html | 33 +++++++++++----------------- mobile/www/pages/feclass.html | 37 +++++++++++++------------------- mobile/www/pages/stat.html | 32 +++++++++++++-------------- 5 files changed, 60 insertions(+), 61 deletions(-) diff --git a/mobile/www/css/index.css b/mobile/www/css/index.css index ffb5e73..c72b6ea 100644 --- a/mobile/www/css/index.css +++ b/mobile/www/css/index.css @@ -1,4 +1,13 @@ +.no-select { + -webkit-user-select: none; /* safari */ + -ms-user-select: none; /* IE 10+ and Edge */ + user-select: none; /* standard syntax */ +} + .img-character { + display: block; + margin-left: auto; + margin-right: auto; width: 256px; height: 256px; } @@ -6,5 +15,9 @@ #table-classes-content > tr > td { text-align: center; display: block !important; - padding-top: 1%; + padding-top: 3.7%; +} + +.data-table-title { + text-align: center; } \ No newline at end of file diff --git a/mobile/www/index.html b/mobile/www/index.html index f8b26cf..a94ba1b 100644 --- a/mobile/www/index.html +++ b/mobile/www/index.html @@ -18,12 +18,12 @@ - +
-
+
+
+
+
+
+
+

+ + +

+
+
@@ -22,34 +33,16 @@
- +
-
-
    -
  • -
    - -
    -
  • -
-
-
-
-
-

- - -

-
-
diff --git a/mobile/www/pages/feclass.html b/mobile/www/pages/feclass.html index 30cbb0d..48d36b2 100644 --- a/mobile/www/pages/feclass.html +++ b/mobile/www/pages/feclass.html @@ -11,8 +11,21 @@
-
-
Growth rates :
+
+
+
+
+
+
+

+ + +

+
+
+
+
+
Growth rates
@@ -24,25 +37,5 @@
-
-
-
    -
  • -
    - -
    -
  • -
-
-
-
-
-

- - -

-
-
-
\ No newline at end of file diff --git a/mobile/www/pages/stat.html b/mobile/www/pages/stat.html index 380d81e..5a3ffd1 100644 --- a/mobile/www/pages/stat.html +++ b/mobile/www/pages/stat.html @@ -12,21 +12,11 @@
-
-
Growth rates :
- - - - - - - - - -
-
+
+
+
  • @@ -41,9 +31,6 @@
-
-
-

@@ -52,5 +39,18 @@

+
+
Growth rates
+ + + + + + + + + +
+