This repository has been archived on 2024-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
trev/nodejs/views/index.ejs
2016-01-12 17:49:13 +01:00

32 lines
No EOL
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>