navigation buttons
This commit is contained in:
parent
3aa2e057b6
commit
22da76e932
1 changed files with 20 additions and 0 deletions
|
@ -10,12 +10,32 @@
|
|||
<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>
|
||||
|
|
Loading…
Reference in a new issue