|
|
<!DOCTYPE html>
|
|
<html ng-app="thoughtsApp">
|
|
<head>
|
|
<!--Import Google Icon Font-->
|
|
<link href="fonts/icons.css" rel="stylesheet">
|
|
<!--Import materialize.css-->
|
|
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
|
|
|
|
<!--Let browser know website is optimized for mobile-->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<title>Thoughts - new thought</title>
|
|
|
|
<!-- ANGULAR -->
|
|
<script src="libraries/angular.min.js"></script>
|
|
</head>
|
|
|
|
<body ng-controller="ThoughtsController">
|
|
|
|
<div ng-include="'menu.htm'"></div>
|
|
|
|
<div class="container">
|
|
<br>
|
|
<div class="badge indigo-text right">{{144 - newthought.length}}</div>
|
|
<div class="input-field col s6">
|
|
<textarea ng-model="newthought" id="textarea1" class="materialize-textarea"></textarea>
|
|
<label for="textarea1">New thought</label>
|
|
</div>
|
|
|
|
<a href="index.html" class="waves-effect waves-light btn red lighten-2 ">Cancel</a>
|
|
<a ng-click="postThought()" class="waves-effect waves-light btn indigo lighten-2 right">Publish</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Import jQuery before materialize.js-->
|
|
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
|
|
<script type="text/javascript" src="js/materialize.min.js"></script>
|
|
|
|
<script src="jslib/toastr.js"></script>
|
|
<link type="text/css" rel="stylesheet" href="jslib/toastr.css"/>
|
|
|
|
<script src="controllers.js"></script>
|
|
|
|
|
|
</body>
|
|
</html>
|