Cross-platform HTML5 NotePost client, for use with NW.js on the desktop and Cordova on mobile.
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.

home.html 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  2. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4. <div class="page" data-name="home">
  5. <div class="navbar">
  6. <div class="navbar-inner">
  7. <div class="title">NotePost</div>
  8. <div class="right">
  9. <a href="/settings" class="link icon-only">
  10. <i class="fas fa-cog"></i>
  11. </a>
  12. </div>
  13. </div>
  14. </div>
  15. <div class="page-content ptr-content">
  16. <div class="ptr-preloader">
  17. <div class="preloader"></div>
  18. <div class="ptr-arrow"></div>
  19. </div>
  20. <div class="row notecards-row">
  21. {{#each notecards}}
  22. <div class="col-100 tablet-33 desktop-33">
  23. <div class="card notecard" id="notecard-{{id}}" data-id="{{id}}" data-bg="{{color}}" data-fg="{{textcolor}}" style="background-color: #{{color}}; color: #{{textcolor}};">
  24. <div class="menubtn">
  25. <i class="material-icons">more_vert</i>
  26. </div>
  27. <div class="card-content card-content-padding">{{html}}</div>
  28. </div>
  29. </div>
  30. {{/each}}
  31. </div>
  32. </div>
  33. <div class="fab fab-right-bottom">
  34. <a href="/editnote">
  35. <i class="material-icons">add</i>
  36. </a>
  37. </div>
  38. <!-- Reload the home page if it doesn't have valid context -->
  39. {{#unless homeloaded}}
  40. <script>
  41. loadHomePage(true);
  42. </script>
  43. {{/unless}}
  44. </div>