Guest User

lineman-jade

a guest
Apr 2nd, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this["JST"] = this["JST"] || {};
  2.  
  3. this["JST"]["app/templates/books"] = function template(locals) {
  4. var buf = [];
  5. var jade_mixins = {};
  6.  
  7. buf.push("<ul class=\"books\"><li ng-repeat=\"book in books\" class=\"panel\">{{ book.title }} by {{ book.author }}</li></ul>");;return buf.join("");
  8. };
  9.  
  10. this["JST"]["app/templates/home"] = function template(locals) {
  11. var buf = [];
  12. var jade_mixins = {};
  13.  
  14. buf.push("<div id=\"home\" class=\"row\"><div class=\"large-6 large-offset-3\"><h2>Welcome to the {{ title }} page!</h2><div class=\"alert-box\">{{ message }}</div><ul class=\"small-block-grid-2\"><li><img src=\"img/demo1.jpg\" shows-message-when-hovered=\"shows-message-when-hovered\" message=\"I'm the first house.\" class=\"th\"/></li><li><img src=\"img/demo2.jpg\" shows-message-when-hovered=\"shows-message-when-hovered\" message=\"I'm the second house.\" class=\"th\"/></li></ul><div class=\"row\"><div class=\"large-12 columns\"><button ng-click=\"logout()\" class=\"button large expand radius\">Log Out</button></div></div></div></div>");;return buf.join("");
  15. };
  16.  
  17. this["JST"]["app/templates/login"] = function template(locals) {
  18. var buf = [];
  19. var jade_mixins = {};
  20.  
  21. buf.push("<div id=\"id\" class=\"row\"><div class=\"large-6 large-offset-3\"><form ng-submit=\"login()\"><fieldset class=\"radius\"><div class=\"row\"><div class=\"large-6 columns\"><input type=\"text\" name=\"username\" placeholder=\"username\" ng-model=\"credentials.username\" required=\"required\"/></div><div class=\"large-6 columns\"><input type=\"password\" name=\"password\" placeholder=\"password\" ng-model=\"credentials.password\" required=\"required\"/></div></div><div class=\"row\"><div class=\"large-12 columns\"><button id=\"log-in\" type=\"submit\" class=\"button large expand radius\">Log In</button></div></div></fieldset></form></div></div>");;return buf.join("");
  22. };
Advertisement
Add Comment
Please, Sign In to add comment