eventman/angular_app/index.html

41 lines
1.2 KiB
HTML

<!doctype html>
<html ng-app="eventManApp">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="/static/js/angular.min.js"></script>
<script src="/static/js/angular-route.js"></script>
<script src="/js/app.js"></script>
<script src="/js/controllers.js"></script>
<title>Event Man(ager)</title>
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/css/bootstrap-theme.min.css" rel="stylesheet">
</head>
<body>
<div class="main-header">
<input type="button" id="events-button" class="btn btn-link" value="Events" />
<input type="button" id="persons-button" class="btn btn-link" value="Persons" />
</div>
<div ng-view></div>
<div class="main-footer">
</div>
<script src="/static/js/jquery-2.1.3.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script>
$(document).ready(function() {
$('#events-button').on('click', function() {
window.location = '/#/events';
});
$('#persons-button').on('click', function() {
window.location = '/#/persons';
});
});
</script>
</body>
</html>