You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.6 KiB

  1. <!DOCTYPE html>
  2. <html ng-app="thoughtsApp">
  3. <head>
  4. <!--Import Google Icon Font-->
  5. <link href="fonts/icons.css" rel="stylesheet">
  6. <!--Import materialize.css-->
  7. <link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
  8. <!--Let browser know website is optimized for mobile-->
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  10. <title>Thoughts - new thought</title>
  11. <!-- ANGULAR -->
  12. <script src="libraries/angular.min.js"></script>
  13. </head>
  14. <body ng-controller="ThoughtsController">
  15. <div ng-include="'menu.htm'"></div>
  16. <div class="container">
  17. <br>
  18. <div class="badge indigo-text right">{{144 - newthought.length}}</div>
  19. <div class="input-field col s6">
  20. <textarea ng-model="newthought" id="textarea1" class="materialize-textarea"></textarea>
  21. <label for="textarea1">New thought</label>
  22. </div>
  23. <a href="index.html" class="waves-effect waves-light btn red lighten-2 ">Cancel</a>
  24. <a ng-click="postThought()" class="waves-effect waves-light btn indigo lighten-2 right">Publish</a>
  25. </div>
  26. <!--Import jQuery before materialize.js-->
  27. <script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
  28. <script type="text/javascript" src="js/materialize.min.js"></script>
  29. <script src="jslib/toastr.js"></script>
  30. <link type="text/css" rel="stylesheet" href="jslib/toastr.css"/>
  31. <script src="controllers.js"></script>
  32. </body>
  33. </html>