diff --git a/HyperSet/.idea/workspace.xml b/HyperSet/.idea/workspace.xml index a8112a4..92e430a 100644 --- a/HyperSet/.idea/workspace.xml +++ b/HyperSet/.idea/workspace.xml @@ -146,6 +146,8 @@ + + @@ -189,10 +191,10 @@ - + - + diff --git a/HyperSet/set.php b/HyperSet/set.php index 897ff20..bcd535f 100644 --- a/HyperSet/set.php +++ b/HyperSet/set.php @@ -74,7 +74,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'deal') { $_SESSION['deckHS4'] = new Deck($_GET['action']); $_SESSION['gameHS4'] = new Game($_SESSION['deckHS4']); $game = $_SESSION['gameHS4']; - echo json_encode($game->start(40)); + echo json_encode($game->start(54)); } diff --git a/HyperSet/vues/css/style-page.css b/HyperSet/vues/css/style-page.css index 361892b..5b74a26 100644 --- a/HyperSet/vues/css/style-page.css +++ b/HyperSet/vues/css/style-page.css @@ -423,4 +423,50 @@ input:checked + .slider .on { .back-btn img:hover{ -webkit-transform: rotate(0) scale(1.2); transform: rotate(0) scale(1.2); -} \ No newline at end of file +} + + +#progressBar { + width: 90%; + margin: 10px auto; + height: 22px; + background-color: Blue; +} + +#progressBar div { + height: 100%; + text-align: right; + padding: 0 10px; + line-height: 22px; /* same as #progressBar height if we want text middle aligned */ + width: 0; + background-color: LightBlue; + box-sizing: border-box; +} +#progressBar div { + box-sizing: border-box; +} + +.count{ + font : oblique 20px Arial, Helvetica, sans-serif; + color: #6495ED; +} + + +#progressBar0 { + width: 90%; + margin: 10px auto; + height: 22px; + background-color: Blue; +} +#progressBar0 div { + height: 100%; + text-align: right; + padding: 0 10px; + line-height: 22px; /* same as #progressBar height if we want text middle aligned */ + width: 0; + background-color: LightBlue; + box-sizing: border-box; +} +#progressBar0 div { + box-sizing: border-box; +} diff --git a/HyperSet/vues/homePage.html b/HyperSet/vues/homePage.html index 2e1cd07..ee1d8bb 100644 --- a/HyperSet/vues/homePage.html +++ b/HyperSet/vues/homePage.html @@ -85,6 +85,10 @@
+

5 : 00

+
+
+

Nombre de carte = 3; Nombre de critères = 3

Sets found: 0

Number of Sets:

@@ -99,6 +103,10 @@
+

10 : 00

+
+
+

Nombre de carte = 3; Nombre de critères = 4

Sets found: 0

Number of Sets:

@@ -165,6 +173,7 @@