Bladeren bron

Export login code to layout

LaurentTreguier 9 jaren geleden
bovenliggende
commit
354b0c4103
2 gewijzigde bestanden met toevoegingen van 21 en 39 verwijderingen
  1. 20
    2
      views/layout.html.php
  2. 1
    37
      views/login.html.php

+ 20
- 2
views/layout.html.php Bestand weergeven

@@ -6,8 +6,26 @@
6 6
         <title>
7 7
             <?php echo $title; ?>
8 8
         </title>
9
+        
10
+        <link href="lib/css/bootstrap.min.css" rel="stylesheet">
11
+
12
+        <link href="lib/fonts/css/font-awesome.min.css" rel="stylesheet">
13
+        <link href="lib/css/animate.min.css" rel="stylesheet">
14
+
15
+        <link href="lib/css/custom.css" rel="stylesheet">
16
+        <link href="lib/css/icheck/flat/green.css" rel="stylesheet">
17
+
18
+
19
+        <script src="lib/js/jquery.min.js"></script>
20
+
21
+        <!--[if lt IE 9]>
22
+        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
23
+        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
24
+        <![endif]-->
9 25
     </head>
10
-    <body>
11
-        <?php echo $content; ?>
26
+    <body style="background:#F7F7F7;">
27
+        <ul>
28
+            <?php echo $content; ?>
29
+        </ul>
12 30
     </body>
13 31
 </html>

+ 1
- 37
views/login.html.php Bestand weergeven

@@ -1,33 +1,3 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-
4
-<head>
5
-    <meta charset="utf-8">
6
-
7
-    <!-- Bootstrap core CSS -->
8
-
9
-    <link href="lib/css/bootstrap.min.css" rel="stylesheet">
10
-
11
-    <link href="lib/fonts/css/font-awesome.min.css" rel="stylesheet">
12
-    <link href="lib/css/animate.min.css" rel="stylesheet">
13
-
14
-    <!-- Custom styling plus plugins -->
15
-    <link href="lib/css/custom.css" rel="stylesheet">
16
-    <link href="lib/css/icheck/flat/green.css" rel="stylesheet">
17
-
18
-
19
-    <script src="lib/js/jquery.min.js"></script>
20
-
21
-    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
22
-    <!--[if lt IE 9]>
23
-    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
24
-    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
25
-    <![endif]-->
26
-
27
-</head>
28
-
29
-<body style="background:#F7F7F7;">
30
-
31 1
 <div class="">
32 2
     <div id="wrapper">
33 3
         <div id="login" class="animate form">
@@ -53,13 +23,7 @@
53 23
                         </div>
54 24
                     </div>
55 25
                 </form>
56
-                <!-- form -->
57 26
             </section>
58
-            <!-- content -->
59 27
         </div>
60 28
     </div>
61
-</div>
62
-
63
-</body>
64
-
65
-</html>
29
+</div>