32 lines
974 B
Text
32 lines
974 B
Text
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Auto Home</title>
|
||
|
|
||
|
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
|
||
|
|
||
|
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.min.js"></script>
|
||
|
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.10/angular-ui-router.js"></script>
|
||
|
<script src="/javascripts/angularApp.js"></script>
|
||
|
|
||
|
<style> .glyphicon-thumbs-up { cursor:pointer } </style>
|
||
|
|
||
|
</head>
|
||
|
<body ng-app="autome">
|
||
|
<div class="row">
|
||
|
<div class="col-md-6 col-md-offset-3">
|
||
|
<ui-view></ui-view>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script src="/snippets/home.html" type="text/ng-template" id="/home.html">
|
||
|
<div class="page-header">
|
||
|
<h1>Autome</h1>
|
||
|
<form ng-submit="toggleLight()" style="margin-top:30px;">
|
||
|
<button type="submit" class="btn btn-primary">Light Switch</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
</script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|