From bf26706cb5fc0dfecf5f313a9f37b414688d3342 Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Tue, 26 Apr 2016 11:28:37 +0200 Subject: [PATCH] Écran principal --- css/style.css | 45 +++++++++++++++++++++++++++++++++++++++++++++ index.html | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ js/init.js | 15 +++++++++++++++ 3 files changed, 211 insertions(+), 0 deletions(-) create mode 100644 css/style.css create mode 100644 index.html create mode 100644 js/init.js diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..bb4fde8 --- /dev/null +++ b/css/style.css @@ -0,0 +1,45 @@ +body { + display: flex; + min-height: 100vh; + flex-direction: column; +} + +#main { + flex: 1 0 auto; +} + +nav i.material-icons { + display: inline; + font-size: 1rem; +} + +nav .tabs .tab a { + color: white; +} + +nav .tabs .indicator { + background-color: #fff59d; +} + +#toast-container { + top: inherit; + bottom: 10%; + +} + +#toast a { + text-transform: uppercase; +} + +#grilleBieres a { + width: 90%; + padding: 25px; + height: 100px; + font-size: 3em; +} + +footer.page-footer { + margin-top: 0; + padding-top: 0; + +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..dc40c0c --- /dev/null +++ b/index.html @@ -0,0 +1,151 @@ + + + + + + 10⁵ + + + + + + + + + + + + + + +
+
+


+
+
+
Créer un nouveau client
+
+
+
+ + +
+
+ Créer +
+
+
+
+
+
Recharger un client
+
+
+
+ + +
+
+ Recharger +
+
+
+
+
+
Vendre à un client
+
+
+
+
+ + + +
+
+ + + +
+
+
+
+ + +
+
+
+ Payer +
+
+
+
+
+
Vider le contenu de la carte d'un client
+
+ Vider +
+
+
+
+
+ + + + + + + + + + + diff --git a/js/init.js b/js/init.js new file mode 100644 index 0000000..2e6fbb9 --- /dev/null +++ b/js/init.js @@ -0,0 +1,15 @@ +$(function(){ + $('.button-collapse').sideNav(); + $('.modal-trigger').leanModal() +}); // end of document ready + +function vendu() { + var interieur = $("").text("Vendu 1 bière à KAE1EET2YI (15,30 € → 13,50 €) ").append( + $("").attr("href", "#!").text("Annuler") + ); + Materialize.toast(interieur, 4000); +} + +function soldeInsuffisant() { + $("#soldeInsuffisant").openModal(); +} -- libgit2 0.21.2