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 14KB

5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
5 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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 row">
  107. <div class="col-2 align-self-begin">
  108. <h5 class="modal-title">Document</h5>
  109. </div>
  110. <div class="col-4 align-self-center">
  111. <div class="btn-group" role="group" aria-label="Basic example">
  112. <button type="Button" class="btn btn-sm btn-light" disabled>
  113. <i class="fas fa-file-image"></i>
  114. </button>
  115. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">S</button>
  116. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">M</button>
  117. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">L</button>
  118. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size active">XL</button>
  119. </div>
  120. </div>
  121. </div>
  122. <div class="modal-body autodoc_home_modal_body">
  123. <div class="row">
  124. <div id="autodoc_home_modal_left" class="col-1 autodoc_valign text-light bg-secondary autodoc_noselect"
  125. style="opacity: 0.15;">
  126. <i class="fas fa-3x fa-chevron-circle-left"></i>
  127. </div>
  128. <div class="col">
  129. <img class="img-fluid" id="autodoc_home_modal_img" />
  130. <div class="text-center">Page
  131. <span class="autodoc_home_modal_page"></span>
  132. /
  133. <span class="autodoc_home_modal_pages"></span>
  134. </div>
  135. </div>
  136. <div id="autodoc_home_modal_right" class="col-1 autodoc_valign text-light bg-secondary autodoc_noselect"
  137. style="opacity: 0.15;">
  138. <i class="fas fa-3x fa-chevron-circle-right"></i>
  139. </div>
  140. </div>
  141. </div>
  142. <div class="modal-footer autodoc_home_modal_footer">
  143. <table class="table table-striped table-sm">
  144. <tr>
  145. <th scope="row">Name</th>
  146. <td>
  147. <span class="autodoc_home_modal_name"></span>
  148. <input type="text" class="d-none autodoc_home_modal_name">
  149. </td>
  150. </tr>
  151. <tr>
  152. <th scope="row">Created</th>
  153. <td class="autodoc_home_modal_created"></td>
  154. </tr>
  155. <tr>
  156. <th scope="row">Languages</th>
  157. <td class="autodoc_home_modal_languages"></td>
  158. </tr>
  159. <tr>
  160. <th scope="row">Creator</th>
  161. <td class="autodoc_home_modal_owner"></td>
  162. </tr>
  163. <tr>
  164. <th scope="row">Pages</th>
  165. <td class="autodoc_home_modal_pages"></td>
  166. </tr>
  167. <tr>
  168. <th scope="row">Tags</th>
  169. <td class="autodoc_home_modal_tags">
  170. < </td> </tr> </table> </div> </div> </div> </div> <div id="autodoc_home_body">
  171. </div>
  172. </div>
  173. <!-- Upload -->
  174. <div class="container d-none" id="autodoc_tab_upload">
  175. <div class="d-none autodoc_template_progress">
  176. <div class="progress">
  177. <div class="progress-bar progress-bar-striped progress-bar-animated text-dark"></div>
  178. </div>
  179. </div>
  180. <h3>upload</h3>
  181. <div class="row">
  182. <div class="col">
  183. <div class="lead">Upload Zone</div>
  184. <div class="text-center autodoc_upload_zone">
  185. Drag & Drop files (png, jpeg, pdf) into this zone to attach them to a single new document<br />
  186. Files can be uploaded at once or separately. A long as the page is not refreshed or the new document
  187. button
  188. is pushed, they will all be attached to the same document
  189. </div>
  190. </div>
  191. <div class="col">
  192. <div class="lead">Upload Status</div>
  193. <div class="autodoc_upload_status"></div>
  194. </div>
  195. </div>
  196. </div>
  197. </div>
  198. <!-- Tags -->
  199. <div class="container d-none" id="autodoc_tab_tags">
  200. <h3>Manage Tags</h3>
  201. <div class="row">
  202. <div class="col">
  203. <table class="table table-borderless">
  204. <tr>
  205. <th>1. Tag Name</th>
  206. <td>
  207. <select class="custom-select autodoc_tag_list">
  208. <option disabled selected>Choose tag to edit</option>
  209. <option value="">New tag...</option>
  210. </select>
  211. <input type="hidden" class="autodoc_tag_id" value="">
  212. <input type="text" placeholder="Tag name" class="autodoc_tag_text d-none">
  213. </td>
  214. </tr>
  215. <tr>
  216. <th>2. Color</th>
  217. <td>
  218. <div class="btn-group" role="group">
  219. <button type="button" class="btn btn-primary autodoc_tag_color active"
  220. data="autodoc_tag_color_primary">
  221. <span class="autodoc_tag_btn_on">
  222. <i class="fas fa-check"></i>
  223. </span>
  224. <span class="autodoc_tag_btn_off d-none">
  225. <i class="fas fa-times"></i>
  226. </span>
  227. </button>
  228. <button type="button" class="btn btn-secondary autodoc_tag_color"
  229. data="autodoc_tag_color_secondary">
  230. <span class="autodoc_tag_btn_on d-none">
  231. <i class="fas fa-check"></i>
  232. </span>
  233. <span class="autodoc_tag_btn_off">
  234. <i class="fas fa-times"></i>
  235. </span>
  236. </button>
  237. <button type="button" class="btn btn-success autodoc_tag_color" data="autodoc_tag_color_success">
  238. <span class="autodoc_tag_btn_on d-none">
  239. <i class="fas fa-check"></i>
  240. </span>
  241. <span class="autodoc_tag_btn_off">
  242. <i class="fas fa-times"></i>
  243. </span>
  244. </button>
  245. <button type="button" class="btn btn-danger autodoc_tag_color" data="autodoc_tag_color_danger">
  246. <span class="autodoc_tag_btn_on d-none">
  247. <i class="fas fa-check"></i>
  248. </span>
  249. <span class="autodoc_tag_btn_off">
  250. <i class="fas fa-times"></i>
  251. </span>
  252. </button>
  253. <button type="button" class="btn btn-warning autodoc_tag_color" data="autodoc_tag_color_warning">
  254. <span class="autodoc_tag_btn_on d-none">
  255. <i class="fas fa-check"></i>
  256. </span>
  257. <span class="autodoc_tag_btn_off">
  258. <i class="fas fa-times"></i>
  259. </span>
  260. </button>
  261. <button type="button" class="btn btn-info autodoc_tag_color" data="autodoc_tag_color_info">
  262. <span class="autodoc_tag_btn_on d-none">
  263. <i class="fas fa-check"></i>
  264. </span>
  265. <span class="autodoc_tag_btn_off">
  266. <i class="fas fa-times"></i>
  267. </span>
  268. </button>
  269. <button type="button" class="btn btn-light autodoc_tag_color" data="autodoc_tag_color_light">
  270. <span class="autodoc_tag_btn_on d-none">
  271. <i class="fas fa-check"></i>
  272. </span>
  273. <span class="autodoc_tag_btn_off">
  274. <i class="fas fa-times"></i>
  275. </span>
  276. </button>
  277. <button type="button" class="btn btn-dark autodoc_tag_color" data="autodoc_tag_color_dark">
  278. <span class="autodoc_tag_btn_on d-none">
  279. <i class="fas fa-check"></i>
  280. </span>
  281. <span class="autodoc_tag_btn_off">
  282. <i class="fas fa-times"></i>
  283. </span>
  284. </button>
  285. </div>
  286. </td>
  287. </tr>
  288. <tr>
  289. <th>3. Preview</th>
  290. <td>
  291. <span id="autodoc_tag_result" class="badge badge-primary"></span>
  292. </td>
  293. </tr>
  294. <tr>
  295. <th>4. Confirm</th>
  296. <td>
  297. <button type="button" class="autodoc_tag_add btn btn-outline-primary">Add/Update Tag</button>
  298. <button type="button" class="autodoc_tag_delete btn btn-outline-danger">Delete Tag</button>
  299. </td>
  300. </tr>
  301. </table>
  302. </div>
  303. </div>
  304. <div class="col">
  305. </div>
  306. </div>
  307. <!-- Search -->
  308. <div class="container d-none" id="autodoc_tab_search">
  309. <h3>search</h3>
  310. </div>
  311. </div>
  312. <footer class="fixed-bottom page-footer font-small bg-dark">
  313. <div class="container footer-copyright text-center text-muted py-3">
  314. AutoDoc v1.0 &copy; Pascal Gloor 2019
  315. </div>
  316. </footer>
  317. <script src="js/jquery.min.js"></script>
  318. <script src="js/popper.min.js"></script>
  319. <script src="js/tooltip.min.js"></script>
  320. <script src="js/bootstrap.min.js"></script>
  321. <script src="js/bs-custom-file-input.min.js"></script>
  322. <script src="js/autodoc.js"></script>
  323. </body>
  324. </html>