An unfinished system to manage all your paper documentation in an easy way.
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.

index.html 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
  6. <link rel="stylesheet" href="css/bootstrap.min.css" />
  7. <link rel="stylesheet" href="css/autodoc.css" />
  8. <script defer src="js/fontawesome-all.min.js"></script>
  9. <title>AutoDoc</title>
  10. </head>
  11. <body>
  12. <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
  13. <a class="navbar-brand" href="#">AutoDoc</a>
  14. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
  15. aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  16. <span class="navbar-toggler-icon"></span>
  17. </button>
  18. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  19. <ul class="navbar-nav mr-auto" id="autodoc_navbar">
  20. <li class="nav-item active">
  21. <a class="nav-link" href="#home">Home</a>
  22. </li>
  23. <li class="nav-item">
  24. <a class="nav-link" href="#upload">Upload</a>
  25. </li>
  26. <li class="nav-item">
  27. <a class="nav-link" href="#tags">Tags</a>
  28. </li>
  29. <li class="nav-item">
  30. <a class="nav-link" href="#search">Search</a>
  31. </li>
  32. <!--
  33. <li class="nav-item dropdown">
  34. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  35. Dropdown
  36. </a>
  37. <div class="dropdown-menu" aria-labelledby="navbarDropdown">
  38. <a class="dropdown-item" href="#">Action</a>
  39. <a class="dropdown-item" href="#">Another action</a>
  40. <div class="dropdown-divider"></div>
  41. <a class="dropdown-item" href="#">Something else here</a>
  42. </div>
  43. </li>
  44. -->
  45. </ul>
  46. <form class="form-inline my-2 my-lg-0">
  47. <input class="form-control mr-sm-2" type="search" placeholder="Quick Search" aria-label="Search" />
  48. </form>
  49. </div>
  50. </nav>
  51. <div class="container" id="autodoc_tab">
  52. <!-- Home -->
  53. <div class="container d-none" id="autodoc_tab_home">
  54. <h3>Current Documents</h3>
  55. <!-- template -->
  56. <div class="d-none" id="autodoc_template_home">
  57. <div class="row autodoc_template_home_row"></div>
  58. <div class="row">
  59. <div class="col autodoc_template_home_col text-center">
  60. <table class="table table-borderless table-sm small">
  61. <tr>
  62. <td colspan="2" class="text-center autodoc_img">
  63. <img class="autodoc_template_home_img img-thumbnail rounded" src="" />
  64. </td>
  65. </tr>
  66. <tr>
  67. <td class="text-left">Pages:</td>
  68. <td class="text-right">
  69. <span class="autodoc_template_home_pages">undefined</span>
  70. </td>
  71. </tr>
  72. <tr>
  73. <td class="text-left">Owner:</td>
  74. <td class="text-right">
  75. <span class="autodoc_template_home_owner">undefined</span>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td class="text-left">
  80. Created:
  81. </td>
  82. <td class="text-right">
  83. <span class="autodoc_template_home_created">undefined</span>
  84. </td>
  85. </tr>
  86. <tr>
  87. <td class="text-left">
  88. Name:
  89. </td>
  90. <td class="text-right">
  91. <span class="autodoc_template_home_name">n/a</span>
  92. </td>
  93. </tr>
  94. <tr>
  95. <td colspan="2">
  96. <span class="badge badge-pill badge-secondary autodoc_template_home_tag"></span>
  97. </td>
  98. </tr>
  99. </table>
  100. </div>
  101. </div>
  102. </div>
  103. <div class="modal fade" id="autodoc_home_modal" tabindex="-1" role="dialog">
  104. <div class="modal-dialog modal-xl modal-dialog-centered" role="document">
  105. <div class="modal-content">
  106. <div class="modal-header">
  107. <div class="modal-titel">
  108. <div class="row">
  109. <div class="col align-self-start">
  110. <h5>Document</h5>
  111. </div>
  112. <div class="col align-self-end">
  113. <div class="btn-group" role="group" aria-label="Basic example">
  114. <button type="button" class="btn btn-secondary">Left</button>
  115. <button type="button" class="btn btn-secondary">Middle</button>
  116. <button type="button" class="btn btn-secondary">Right</button>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. <div class="modal-body autodoc_home_modal_body">
  124. <div class="row">
  125. <div id="autodoc_home_modal_left" class="col-1 autodoc_valign text-light bg-secondary autodoc_noselect"
  126. style="opacity: 0.15;">
  127. <i class="fas fa-3x fa-chevron-circle-left"></i>
  128. </div>
  129. <div class="col">
  130. <img class="img-fluid" id="autodoc_home_modal_img" />
  131. <div>Page
  132. <span class="autodoc_home_modal_page"></span>
  133. /
  134. <span class="autodoc_home_modal_pages"></span>
  135. </div>
  136. </div>
  137. <div id="autodoc_home_modal_right" class="col-1 autodoc_valign text-light bg-secondary autodoc_noselect"
  138. style="opacity: 0.15;">
  139. <i class="fas fa-3x fa-chevron-circle-right"></i>
  140. </div>
  141. </div>
  142. </div>
  143. <div class="modal-footer autodoc_home_modal_footer">
  144. <table class="table table-striped table-sm">
  145. <tr>
  146. <th scope="row">Name</th>
  147. <td class="autodoc_home_modal_name"></td>
  148. </tr>
  149. <tr>
  150. <th scope="row">Created</th>
  151. <td class="autodoc_home_modal_created"></td>
  152. </tr>
  153. <tr>
  154. <th scope="row">Languages</th>
  155. <td class="autodoc_home_modal_languages"></td>
  156. </tr>
  157. <tr>
  158. <th scope="row">Creator</th>
  159. <td class="autodoc_home_modal_owner"></td>
  160. </tr>
  161. <tr>
  162. <th scope="row">Pages</th>
  163. <td class="autodoc_home_modal_pages"></td>
  164. </tr>
  165. </table>
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. <div id="autodoc_home_body"></div>
  171. </div>
  172. <!-- Upload -->
  173. <div class="container d-none" id="autodoc_tab_upload">
  174. <div class="d-none autodoc_template_progress">
  175. <div class="progress">
  176. <div class="progress-bar progress-bar-striped progress-bar-animated text-dark"></div>
  177. </div>
  178. </div>
  179. <h3>upload</h3>
  180. <div class="row">
  181. <div class="col">
  182. <div class="lead">Upload Zone</div>
  183. <div class="text-center autodoc_upload_zone">
  184. Drag & Drop files (png, jpeg, pdf) into this zone to attach them to a single new document<br />
  185. Files can be uploaded at once or separately. A long as the page is not refreshed or the new document
  186. button
  187. is pushed, they will all be attached to the same document
  188. </div>
  189. </div>
  190. <div class="col">
  191. <div class="lead">Upload Status</div>
  192. <div class="autodoc_upload_status"></div>
  193. </div>
  194. </div>
  195. </div>
  196. </div>
  197. <!-- Tags -->
  198. <div class="container d-none" id="autodoc_tab_tags">
  199. <h3>tags</h3>
  200. </div>
  201. <!-- Search -->
  202. <div class="container d-none" id="autodoc_tab_search">
  203. <h3>search</h3>
  204. </div>
  205. </div>
  206. <footer class="fixed-bottom page-footer font-small bg-dark">
  207. <div class="container footer-copyright text-center text-muted py-3">
  208. AutoDoc v1.0 &copy; Pascal Gloor 2019
  209. </div>
  210. </footer>
  211. <script src="js/jquery.min.js"></script>
  212. <script src="js/popper.min.js"></script>
  213. <script src="js/tooltip.min.js"></script>
  214. <script src="js/bootstrap.min.js"></script>
  215. <script src="js/bs-custom-file-input.min.js"></script>
  216. <script src="js/autodoc.js"></script>
  217. </body>
  218. </html>