-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.html
More file actions
61 lines (56 loc) · 1.85 KB
/
main.html
File metadata and controls
61 lines (56 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html ng-app="GeekAnonymes">
<head>
<title>Geek Anonymes</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="angular.js"></script>
<link href="bootstrap.css" rel="stylesheet" />
<link href="bootstrap-theme.css" rel="stylesheet" />
<style>
.navbar-right { float: right !important; margin-right: 250px;}
.hipster {
display: inline-block;
width: 347px;
height: 497px;
background: url("https://raw.githubusercontent.com/jhipster/jhipster-sample-app/master/src/main/webapp/assets/images/hipster.png") no-repeat center top;
background-size: contain;
}
div.error {color: red; font-weight: bold;}
form .ng-invalid-required.ng-dirty { background-color: lightpink; }
form .ng-invalid-email.ng-dirty { background-color: lightgoldenrodyellow; }
form .ng-valid.ng-dirty { background-color: lightgreen; }
</style>
<script>
angular.module("GeekAnonymes", ["ngRoute"])
.config(function ($routeProvider) {
$routeProvider.when("/contact", {
templateUrl: "views/contact.html"
});
$routeProvider.when("/speakers", {
templateUrl: "views/speakers.html"
});
$routeProvider.when("/events", {
templateUrl: "views/events.html"
});
$routeProvider.otherwise({
templateUrl: "views/home.html"
});
});
</script>
<script src="controllers/eventControllers.js"></script>
<script src="controllers/contactControllers.js"></script>
<script src="ngmodules/angular-route.js"></script>
</head>
<body>
<div class="navbar navbar-inverse">
<a class="navbar-brand" href="#">GEEKS ANONYMES</a>
<div class="navbar-right">
<a class="navbar-brand" href="#">Home</a>
<a class="navbar-brand" href="#/events">Events</a>
<a class="navbar-brand" href="#/speakers">Speakers</a>
<a class="navbar-brand" href="#/contact">Contact</a>
</div>
</div>
<ng-view />
</body>
</html>