/html/new.html

https://gitlab.com/kaleado/note-collector · HTML · 106 lines · 96 code · 5 blank · 5 comment · 0 complexity · 6d074677c86e5e04974ebc5ddd26a6bb MD5 · raw file

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Extrospect - Upload New Note</title>
  6. <link rel="shortcut icon" type="image/png" href="img/favicon.png"/>
  7. <!--Import Google Icon Font-->
  8. <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  9. <!--Import materialize.css-->
  10. <link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
  11. <link type="text/css" rel="stylesheet" href="css/main.css" media="screen,projection"/>
  12. <link type="text/css" rel="stylesheet" href="css/main.css" media="screen,projection"/>
  13. <link rel="stylesheet" href="css/font-awesome.min.css"/>
  14. <!--Let browser know website is optimized for mobile-->
  15. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  16. </head>
  17. <body>
  18. <!-- BODY GOES HERE -->
  19. <nav>
  20. <div class="nav-wrapper">
  21. <a href="#" class="brand-logo center"></a>
  22. <ul id="nav-mobile" class="left">
  23. <li><a href="/search.html"><i class="material-icons">not_interested</i></a></li>
  24. </ul>
  25. </div>
  26. </nav>
  27. <div class="content container">
  28. <div class="row card-panel">
  29. <form class="col s12" enctype="multipart/form-data" action="create_note" method="post">
  30. <h5 class="header2">Create new note</h5>
  31. <div class="row">
  32. <div class="input-field col s6">
  33. <input id="note_title" type="text" name="title">
  34. <label for="note_title">Note Title</label>
  35. </div>
  36. <div class="input-field col s6">
  37. <input id="note_author" type="text" name="author">
  38. <label for="note_author">Author</label>
  39. </div>
  40. </div>
  41. <div class="row">
  42. <div class="input-field col s12">
  43. <textarea id="note_description" class="materialize-textarea" name="description"></textarea>
  44. <label for="note_description">Note Description</label>
  45. </div>
  46. </div>
  47. <div class="row">
  48. <div class="input-field col s12">
  49. <input id="note_tags" type="text" name="tags">
  50. <label for="note_tags">Tags (comma-separated)</label>
  51. </div>
  52. </div>
  53. <div class="row">
  54. <div class="file-field input-field col s12">
  55. <div class="btn orange">
  56. <span>Upload Note</span>
  57. <input id="note_file" type="file" name="notefile" size="30">
  58. </div>
  59. <div class="file-path-wrapper">
  60. <input class="file-path validate" type="text">
  61. </div>
  62. </div>
  63. </div>
  64. <div class="row right">
  65. <div class="input-field col sm12">
  66. <button id="submit" class="orange btn waves-effect waves-light" type="submit" name="action">Create Note
  67. <i class="material-icons left">send</i>
  68. </button>
  69. </div>
  70. </div>
  71. </form>
  72. </div>
  73. </div>
  74. <footer class="page-footer">
  75. <div class="container">
  76. <div class="row">
  77. <div class="col l6 s12">
  78. <h5 class="white-text">About XYZ</h5>
  79. <p class="grey-text text-lighten-4">XYZ is a free service for sharing and organising study notes.</p>
  80. </div>
  81. <div class="col l4 offset-l2 s12">
  82. <h5 class="white-text">Contact</h5>
  83. <ul>
  84. <li><a class="grey-text text-lighten-3" href="mailto: nick.malecki@hotmail.com">Email</a></li>
  85. <li><a class="grey-text text-lighten-3" href="https://au.linkedin.com/in/nick-malecki-95747a119">Linkedin</a></li>
  86. </ul>
  87. </div>
  88. </div>
  89. </div>
  90. <div class="footer-copyright">
  91. <div class="container center">
  92. © 2016 Nicholas Malecki
  93. </div>
  94. </div>
  95. </footer>
  96. <!--Import jQuery before materialize.js-->
  97. <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
  98. <script type="text/javascript" src="js/materialize.min.js"></script>
  99. <script type="text/javascript" src="js/new.js"></script>
  100. </body>
  101. </html>