dashboard.html 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  6. <link type="text/css" rel="stylesheet" href="../../common/css/material-icons.css"/>
  7. <link type="text/css" rel="stylesheet" href="../../common/css/materialize.min.css" media="screen,projection"/>
  8. <link type="text/css" rel="stylesheet" href="../../common/css/style.min.css" media="screen,projection"/>
  9. <link type="text/css" rel="stylesheet" href="../../common/css/google-code-prettify/desert.css"/>
  10. <title>Electronotes</title>
  11. </head>
  12. <body class="grey lighten-4">
  13. <!-- Navbar -->
  14. <div id="navbar" class="navbar-fixed hide">
  15. <nav>
  16. <div class="nav-wrapper">
  17. <span class="brand-logo mleft-1">Note de <span data-bind="username"></span></span>
  18. </div>
  19. </nav>
  20. </div>
  21. <!-- Main content -->
  22. <main>
  23. <div class="container">
  24. <div class="row">
  25. <div class="col s12 center-align">
  26. Bonjour
  27. <div class="input-field inline">
  28. <input type="text" data-model="username" onblur="saveUserName(this)">
  29. </div>
  30. </div>
  31. </div>
  32. <div class="row" data-loop="card">
  33. <div class="col s12 m6 l4">
  34. <div class="card">
  35. <div class="card-content zoom-in selectable" draggable="true" ondragstart="exportCard(this, event)" onclick="selectCard(this)">
  36. <span class="hide" data-val="id"></span>
  37. <span class="card-title" data-val="title"></span>
  38. </div>
  39. <div class="card-action">
  40. <a href="#" target="_blank" class="card-edit">Modifier</a>
  41. <a href="#" onclick="deleteCard(this, true)">Supprimer</a>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </main>
  48. <!-- Modal Structure -->
  49. <div class="modal">
  50. <div class="modal-content">
  51. <h3 id="modal-title"></h3>
  52. <div id="modal-content"></div>
  53. </div>
  54. <div class="modal-footer">
  55. <a id="modal-edit" href="#!" target="_blank" class="modal-close waves-effect waves-blue btn-flat">Modifier</a>
  56. <span id="modal-delete" class="modal-close waves-effect waves-blue btn-flat" onclick="deleteCard(this, false)">Supprimer</span>
  57. <span class="modal-close waves-effect waves-blue btn-flat">Fermer</span>
  58. </div>
  59. </div>
  60. <!-- Add button -->
  61. <div class="fixed-action-btn">
  62. <a id="float-add-btn" href="#" target="_blank" class="btn-floating btn-large waves-effect waves-light blue hide tooltipped" data-position="left" data-tooltip="Ajouter">
  63. <i class="large material-icons">add</i>
  64. </a>
  65. </div>
  66. <!-- Discovery -->
  67. <div class="tap-target" data-target="float-add-btn">
  68. <div class="tap-target-content">
  69. <h5>Ajouter une note</h5>
  70. <p>Pour ajouter une note il suffit de cliquer sur ce bouton<br>(cliquez n'importe où pour faire disparaitre)</p>
  71. </div>
  72. </div>
  73. <!-- Loader -->
  74. <div id="page-loader" class="bg-loader grey darken-4">
  75. <div class="loader progress">
  76. <div class="indeterminate"></div>
  77. </div>
  78. </div>
  79. <!-- Load electronotes.js first to have all functions and commons imports -->
  80. <script type="text/javascript" src="../../common/js/electronotes.js"></script>
  81. <!-- Load other common files -->
  82. <script type="text/javascript" src="../../common/js/event.js"></script>
  83. <script type="text/javascript" src="../../common/js/binder.js"></script>
  84. <script type="text/javascript" src="../../common/js/materialize.min.js"></script>
  85. <script type="text/javascript" src="../../common/js/google-code-prettify/prettify.js"></script>
  86. <!-- Load personnal js -->
  87. <script type="text/javascript" src="dashboard.js"></script>
  88. </body>
  89. </html>