Commit 3c5e66e07a4cee74cb62b70e72fcd6d80c01673c
1 parent
5d585f19
Pas de PHP au final, tout en JS
Showing
3 changed files
with
69 additions
and
48 deletions
Show diff stats
.gitignore
index.php renamed to index.html
1 | -<?php | |
2 | -include("header.php"); | |
3 | -?> | |
4 | - <!-- Réutilisable --> | |
5 | - <!-- Page --> | |
6 | - <nav class="red" role="navigation"> | |
7 | - <div class="nav-wrapper container"><a id="logo-container" href="#" class="brand-logo">10⁵</a> | |
8 | - <ul class="right"> | |
9 | - </ul> | |
1 | +<!DOCTYPE html> | |
2 | +<html lang="fr"> | |
3 | + | |
4 | +<head> | |
5 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
6 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0" /> | |
7 | + <title>10⁵</title> | |
8 | + | |
9 | + <!-- CSS --> | |
10 | + <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
11 | + <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection" /> | |
12 | + <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection" /> | |
13 | +</head> | |
14 | + | |
15 | +<body> | |
16 | + <!-- Réutilisable --> | |
17 | + <!-- Page --> | |
18 | + <nav class="red" role="navigation"> | |
19 | + <div class="nav-wrapper container"><a id="logo-container" href="#" class="brand-logo">10⁵</a> | |
20 | + <ul class="right"> | |
21 | + </ul> | |
22 | + </div> | |
23 | + </nav> | |
24 | + | |
25 | + <div class="section no-pad-bot" id="main"> | |
26 | + <div class="container"> | |
27 | + <br><br><br> | |
28 | + <h4>Se connecter</h4> | |
29 | + <h4>Avec votre identifiant et votre mot de passe</h4> | |
30 | + <div class="row"> | |
31 | + <form class="col s12"> | |
32 | + <div class="row"> | |
33 | + <div class="input-field col s12"> | |
34 | + <input type="text" id="login"> | |
35 | + <label for="login">Identifiant</label> | |
36 | + </div> | |
37 | + </div> | |
38 | + <div class="row"> | |
39 | + <div class="input-field col s12"> | |
40 | + <input type="password" id="mdp"> | |
41 | + <label for="mdp">Mot de passe</label> | |
42 | + </div> | |
43 | + </div> | |
44 | + <div class="row"> | |
45 | + <a href="main.php" id="connecter" class="btn-large waves-effect waves-light">Se connecter</a> | |
46 | + </div> | |
47 | + </form> | |
48 | + </div> | |
49 | + <h5>Avec votre carte étudiant</h5> | |
50 | + <p>Passez-la simplement devant le lecteur</p> | |
51 | + </div> | |
10 | 52 | </div> |
11 | - </nav> | |
12 | - | |
13 | - <div class="section no-pad-bot" id="main"> | |
14 | - <div class="container"> | |
15 | - <br><br><br> | |
16 | - <h4>Se connecter</h4> | |
17 | - <h5>Avec votre identifiant et votre mot de passe</h4> | |
18 | - <div class="row"> | |
19 | - <form class="col s12"> | |
20 | - <div class="row"> | |
21 | - <div class="input-field col s12"> | |
22 | - <input type="text" id="login"> | |
23 | - <label for="login">Identifiant</label> | |
24 | - </div> | |
25 | - </div> | |
26 | - <div class="row"> | |
27 | - <div class="input-field col s12"> | |
28 | - <input type="password" id="mdp"> | |
29 | - <label for="mdp">Mot de passe</label> | |
30 | - </div> | |
31 | - </div> | |
32 | - <div class="row"> | |
33 | - <a href="main.php" id="connecter" class="btn-large waves-effect waves-light">Se connecter</a> | |
34 | - </div> | |
35 | - </form> | |
36 | - </div> | |
37 | - <h5>Avec votre carte étudiant</h5> | |
38 | - <p>Passez-la simplement devant le lecteur</p> | |
39 | - </div> | |
40 | 53 | </div> |
41 | - </div> | |
42 | -<?php | |
43 | -include "footer.php" | |
44 | -?> | |
54 | + <footer class="page-footer red"> | |
55 | + <div class="footer-copyright"> | |
56 | + <div class="container"> | |
57 | + 10p5 v0.0.0 - © Copyright 2016, <a href="http://clubinfo.plil.net">Le Club Info Polytech Lille</a> | |
58 | + </div> | |
59 | + </div> | |
60 | + </footer> | |
61 | + | |
62 | + | |
63 | + <!-- Scripts--> | |
64 | + <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | |
65 | + <script src="js/materialize.js"></script> | |
66 | + <script src="js/init.js"></script> | |
67 | + | |
68 | +</body> | |
69 | + | |
70 | +</html> | ... | ... |
main.php renamed to main.html
1 | -<?php | |
2 | -include("header.php"); | |
3 | -?> | |
4 | 1 | <!-- Réutilisable --> |
5 | 2 | <ul id="menuUtilisateur" class="dropdown-content"> |
6 | 3 | <li><a href="#!">Se déconnecter</a></li> |
... | ... | @@ -122,6 +119,3 @@ include("header.php"); |
122 | 119 | </div> |
123 | 120 | </div> |
124 | 121 | </div> |
125 | -<?php | |
126 | -include "footer.php" | |
127 | -?> | ... | ... |