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

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  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. <link rel="stylesheet" href="css/slick.css" />
  9. <link rel="stylesheet" type="text/css" href="css/slick-theme.css" />
  10. <script defer src="js/fontawesome-all.min.js"></script>
  11. <title>AutoDoc</title>
  12. </head>
  13. <body>
  14. <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
  15. <a class="navbar-brand" href="#">AutoDoc</a>
  16. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
  17. aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  18. <span class="navbar-toggler-icon"></span>
  19. </button>
  20. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  21. <ul class="navbar-nav mr-auto" id="autodoc_navbar">
  22. <li class="nav-item active">
  23. <a class="nav-link" href="#home">Home</a>
  24. </li>
  25. <li class="nav-item">
  26. <a class="nav-link" href="#document">Document</a>
  27. </li>
  28. <li class="nav-item">
  29. <a class="nav-link" href="#upload">Upload</a>
  30. </li>
  31. <li class="nav-item">
  32. <a class="nav-link" href="#tags">Tags</a>
  33. </li>
  34. <li class="nav-item">
  35. <a class="nav-link" href="#search">Search</a>
  36. </li>
  37. <!--
  38. <li class="nav-item dropdown">
  39. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  40. Dropdown
  41. </a>
  42. <div class="dropdown-menu" aria-labelledby="navbarDropdown">
  43. <a class="dropdown-item" href="#">Action</a>
  44. <a class="dropdown-item" href="#">Another action</a>
  45. <div class="dropdown-divider"></div>
  46. <a class="dropdown-item" href="#">Something else here</a>
  47. </div>
  48. </li>
  49. -->
  50. </ul>
  51. <form class="form-inline my-2 my-lg-0">
  52. <input class="form-control mr-sm-2" type="search" placeholder="Quick Search" aria-label="Search" />
  53. </form>
  54. <div>
  55. <button type="button" class="autodoc_ajax_off btn btn-secondary disabled">
  56. <i class="fas fa-signal"></i>
  57. </button>
  58. <button type="button" class="autodoc_ajax_on d-none btn btn-primary disabled">
  59. <i class="fas fa-sync fa-spin"></i>
  60. </button>
  61. </div>
  62. </div>
  63. </nav>
  64. <div class="container" id="autodoc_tab">
  65. <!-- Home -->
  66. <div class="container d-none" id="autodoc_tab_home">
  67. <span class="lead">Current Documents</span>
  68. <!-- template -->
  69. <div class="d-none" id="autodoc_template_home">
  70. <div class="row autodoc_template_home_row"></div>
  71. <div class="row">
  72. <div class="col autodoc_template_home_col text-center">
  73. <table class="table table-borderless table-sm small">
  74. <tr>
  75. <td colspan="2" class="text-center autodoc_img">
  76. <img class="autodoc_template_home_img img-thumbnail rounded" src="" />
  77. </td>
  78. </tr>
  79. <tr>
  80. <td class="text-left">Pages:</td>
  81. <td class="text-right">
  82. <span class="autodoc_template_home_pages">undefined</span>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td class="text-left">Owner:</td>
  87. <td class="text-right">
  88. <span class="autodoc_template_home_owner">undefined</span>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td class="text-left">
  93. Created:
  94. </td>
  95. <td class="text-right">
  96. <span class="autodoc_template_home_created">undefined</span>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td class="text-left">
  101. Name:
  102. </td>
  103. <td class="text-right">
  104. <span class="autodoc_template_home_name">n/a</span>
  105. </td>
  106. </tr>
  107. <tr>
  108. <td colspan="2">
  109. <span class="badge badge-pill badge-secondary autodoc_template_home_tag"></span>
  110. </td>
  111. </tr>
  112. </table>
  113. </div>
  114. </div>
  115. </div>
  116. <div class="modal fade" id="autodoc_home_modal" tabindex="-1" role="dialog">
  117. <div class="modal-dialog modal-xl modal-dialog-centered" role="document">
  118. <div class="modal-content">
  119. <div class="modal-header row">
  120. <div class="col-2 align-self-begin">
  121. <h5 class="modal-title">Document</h5>
  122. </div>
  123. <div class="col-4 align-self-center">
  124. <div class="btn-group" role="group" aria-label="Basic example">
  125. <button type="Button" class="btn btn-sm btn-light" disabled>
  126. <i class="fas fa-file-image"></i>
  127. </button>
  128. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">S</button>
  129. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">M</button>
  130. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">L</button>
  131. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size active">XL</button>
  132. </div>
  133. </div>
  134. </div>
  135. <div class="modal-body autodoc_home_modal_body">
  136. <div class="row">
  137. <div id="autodoc_home_modal_left" 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-left"></i>
  140. </div>
  141. <div class="col">
  142. <img class="img-fluid" id="autodoc_home_modal_img" />
  143. <div class="text-center">Page
  144. <span class="autodoc_home_modal_page"></span>
  145. /
  146. <span class="autodoc_home_modal_pages"></span>
  147. </div>
  148. </div>
  149. <div id="autodoc_home_modal_right" class="col-1 autodoc_valign text-light bg-secondary autodoc_noselect"
  150. style="opacity: 0.15;">
  151. <i class="fas fa-3x fa-chevron-circle-right"></i>
  152. </div>
  153. </div>
  154. </div>
  155. <div class="modal-footer autodoc_home_modal_footer">
  156. <table class="table table-striped table-sm">
  157. <tr>
  158. <th scope="row">Name</th>
  159. <td>
  160. <span class="autodoc_home_modal_name"></span>
  161. <input type="text" class="d-none autodoc_home_modal_name">
  162. </td>
  163. </tr>
  164. <tr>
  165. <th scope="row">Created</th>
  166. <td class="autodoc_home_modal_created"></td>
  167. </tr>
  168. <tr>
  169. <th scope="row">Languages</th>
  170. <td class="autodoc_home_modal_languages"></td>
  171. </tr>
  172. <tr>
  173. <th scope="row">Creator</th>
  174. <td class="autodoc_home_modal_owner"></td>
  175. </tr>
  176. <tr>
  177. <th scope="row">Pages</th>
  178. <td class="autodoc_home_modal_pages"></td>
  179. </tr>
  180. <tr>
  181. <th scope="row">
  182. Tags
  183. <button type="button"
  184. class="autodoc_home_modal_tags_show btn btn-outline-primary btn-sm">Add</button>
  185. <input type="text" class="d-none form-control typeahead autodoc_home_modal_tags_add"
  186. autocomplete="off" data-provide="typeahead">
  187. </th>
  188. <td class="autodoc_home_modal_tags">
  189. </td>
  190. </tr>
  191. </table>
  192. </div>
  193. </div>
  194. </div>
  195. </div>
  196. <div id="autodoc_home_body">
  197. </div>
  198. </div>
  199. <!-- Document -->
  200. <div class="container d-none" id="autodoc_tab_document">
  201. <div class="autodoc_document_template d-none">
  202. <div class="autodoc_document_template_carousel">
  203. <div class="text-center">
  204. <img class="img-thumbnail rounded" />
  205. </div>
  206. </div>
  207. </div>
  208. <div class="autodoc_document_empty">
  209. <span class="lead">Document are shown here. Go to 'home' and select a document.</span>
  210. </div>
  211. <div class="autodoc_document_body d-none">
  212. <div class="row">
  213. <div class="col">
  214. <span class="lead">Document</span>
  215. </div>
  216. </div>
  217. <div class="row">
  218. <div class="col-4">
  219. <table class="table table-condensed">
  220. <tr>
  221. <th scope="row">Name</th>
  222. <td>
  223. <span class="autodoc_document_name"></span>
  224. <input type="text" class="d-none autodoc_document_name">
  225. </td>
  226. <td>
  227. <button type="button" class="btn btn-sm btn-outline-primary">Edit</button>
  228. </td>
  229. </tr>
  230. <tr>
  231. <th scope="row">Created</th>
  232. <td colspan="2" class="autodoc_document_created"></td>
  233. </tr>
  234. <tr>
  235. <th scope="row">Languages</th>
  236. <td colspan="2" class="autodoc_document_languages"></td>
  237. </tr>
  238. <tr>
  239. <th scope="row">Creator</th>
  240. <td colspan="2" class="autodoc_document_owner"></td>
  241. </tr>
  242. <tr>
  243. <th scope="row">Pages</th>
  244. <td colspan="2" class="autodoc_document_pages"></td>
  245. </tr>
  246. <tr>
  247. <th scope="row">
  248. Tags
  249. </th>
  250. <td class="autodoc_document_tags">
  251. <span class="autodoc_document_tags_template badge d-none"></span>
  252. </td>
  253. <td>
  254. <button type="button" class="autodoc_document_tags_show btn btn-outline-primary btn-sm">Add</button>
  255. <input type="text" class="d-none form-control typeahead autodoc_document_tags_add" autocomplete="off"
  256. data-provide="typeahead">
  257. </td>
  258. </tr>
  259. </table>
  260. </div>
  261. <div class="col-8">
  262. <div class="autodoc_document_carousel">
  263. </div>
  264. </div>
  265. </div>
  266. <div class="row">
  267. <div class="col-12">
  268. <img class="autodoc_document_image img-fluid" />
  269. </div>
  270. </div>
  271. <div class="row">
  272. <div class="col">
  273. <button type="button" class="autodoc_document_btn_primary btn btn-sm btn-outline-primary">
  274. Make primary page</button>
  275. </div>
  276. </div>
  277. </div>
  278. <!-- Upload -->
  279. <div class="container d-none" id="autodoc_tab_upload">
  280. <div class="d-none autodoc_template_progress">
  281. <div class="progress">
  282. <div class="progress-bar progress-bar-striped progress-bar-animated text-dark"></div>
  283. </div>
  284. </div>
  285. <span class="lead">upload</span>
  286. <div class="row">
  287. <div class="col">
  288. <div class="lead">Upload Zone</div>
  289. <div class="text-center autodoc_upload_zone">
  290. Drag & Drop files (png, jpeg, pdf) into this zone to attach them to a single new document<br />
  291. Files can be uploaded at once or separately. A long as the page is not refreshed or the new document
  292. button
  293. is pushed, they will all be attached to the same document
  294. </div>
  295. </div>
  296. <div class="col">
  297. <div class="lead">Upload Status</div>
  298. <div class="autodoc_upload_status"></div>
  299. </div>
  300. </div>
  301. </div>
  302. </div>
  303. <!-- Tags -->
  304. <div class="container d-none" id="autodoc_tab_tags">
  305. <span class="lead">Manage Tags</span>
  306. <div class="row">
  307. <div class="col-6">
  308. <table class="table table-borderless">
  309. <tr>
  310. <th>1. Tag Name</th>
  311. <td>
  312. <select class="custom-select autodoc_tag_list">
  313. <option disabled selected>Choose tag to edit</option>
  314. <option value="">New tag...</option>
  315. </select>
  316. <input type="hidden" class="autodoc_tag_id" value="">
  317. <input type="text" placeholder="Tag name" class="autodoc_tag_text d-none">
  318. </td>
  319. </tr>
  320. <tr>
  321. <th>2. Color</th>
  322. <td>
  323. <div class="btn-group" role="group">
  324. <button type="button" class="btn btn-primary autodoc_tag_color active"
  325. data="autodoc_tag_color_primary">
  326. <span class="autodoc_tag_btn_on">
  327. <i class="fas fa-check"></i>
  328. </span>
  329. <span class="autodoc_tag_btn_off d-none">
  330. <i class="fas fa-times"></i>
  331. </span>
  332. </button>
  333. <button type="button" class="btn btn-secondary autodoc_tag_color" data="autodoc_tag_color_secondary">
  334. <span class="autodoc_tag_btn_on d-none">
  335. <i class="fas fa-check"></i>
  336. </span>
  337. <span class="autodoc_tag_btn_off">
  338. <i class="fas fa-times"></i>
  339. </span>
  340. </button>
  341. <button type="button" class="btn btn-success autodoc_tag_color" data="autodoc_tag_color_success">
  342. <span class="autodoc_tag_btn_on d-none">
  343. <i class="fas fa-check"></i>
  344. </span>
  345. <span class="autodoc_tag_btn_off">
  346. <i class="fas fa-times"></i>
  347. </span>
  348. </button>
  349. <button type="button" class="btn btn-danger autodoc_tag_color" data="autodoc_tag_color_danger">
  350. <span class="autodoc_tag_btn_on d-none">
  351. <i class="fas fa-check"></i>
  352. </span>
  353. <span class="autodoc_tag_btn_off">
  354. <i class="fas fa-times"></i>
  355. </span>
  356. </button>
  357. <button type="button" class="btn btn-warning autodoc_tag_color" data="autodoc_tag_color_warning">
  358. <span class="autodoc_tag_btn_on d-none">
  359. <i class="fas fa-check"></i>
  360. </span>
  361. <span class="autodoc_tag_btn_off">
  362. <i class="fas fa-times"></i>
  363. </span>
  364. </button>
  365. <button type="button" class="btn btn-info autodoc_tag_color" data="autodoc_tag_color_info">
  366. <span class="autodoc_tag_btn_on d-none">
  367. <i class="fas fa-check"></i>
  368. </span>
  369. <span class="autodoc_tag_btn_off">
  370. <i class="fas fa-times"></i>
  371. </span>
  372. </button>
  373. <button type="button" class="btn btn-light autodoc_tag_color" data="autodoc_tag_color_light">
  374. <span class="autodoc_tag_btn_on d-none">
  375. <i class="fas fa-check"></i>
  376. </span>
  377. <span class="autodoc_tag_btn_off">
  378. <i class="fas fa-times"></i>
  379. </span>
  380. </button>
  381. <button type="button" class="btn btn-dark autodoc_tag_color" data="autodoc_tag_color_dark">
  382. <span class="autodoc_tag_btn_on d-none">
  383. <i class="fas fa-check"></i>
  384. </span>
  385. <span class="autodoc_tag_btn_off">
  386. <i class="fas fa-times"></i>
  387. </span>
  388. </button>
  389. </div>
  390. </td>
  391. </tr>
  392. <tr>
  393. <th>3. Preview</th>
  394. <td>
  395. <span id="autodoc_tag_result" class="badge badge-primary"></span>
  396. </td>
  397. </tr>
  398. <tr>
  399. <th>4. Confirm</th>
  400. <td>
  401. <button type="button" class="autodoc_tag_add btn btn-outline-primary">Add/Update Tag</button>
  402. <button type="button" class="autodoc_tag_delete btn btn-outline-danger">Delete Tag</button>
  403. </td>
  404. </tr>
  405. </table>
  406. </div>
  407. </div>
  408. <div class="col">
  409. </div>
  410. </div>
  411. <!-- Search -->
  412. <div class="container d-none" id="autodoc_tab_search">
  413. <span class="lead">search</span>
  414. </div>
  415. </div>
  416. <footer class="fixed-bottom page-footer font-small bg-dark">
  417. <div class="container footer-copyright text-center text-muted py-3">
  418. AutoDoc v1.0 &copy; Pascal Gloor 2019
  419. </div>
  420. </footer>
  421. <script src="js/jquery.min.js"></script>
  422. <script src="js/popper.min.js"></script>
  423. <script src="js/tooltip.min.js"></script>
  424. <script src="js/bootstrap.min.js"></script>
  425. <script src="js/bs-custom-file-input.min.js"></script>
  426. <script src="js/slick.min.js"></script>
  427. <script src="js/autodoc.js"></script>
  428. </body>
  429. </html>