An unfinished system to manage all your paper documentation in an easy way.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.html 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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. </nav>
  56. <div class="container" id="autodoc_tab">
  57. <!-- Home -->
  58. <div class="container d-none" id="autodoc_tab_home">
  59. <span class="lead">Current Documents</span>
  60. <!-- template -->
  61. <div class="d-none" id="autodoc_template_home">
  62. <div class="row autodoc_template_home_row"></div>
  63. <div class="row">
  64. <div class="col autodoc_template_home_col text-center">
  65. <table class="table table-borderless table-sm small">
  66. <tr>
  67. <td colspan="2" class="text-center autodoc_img">
  68. <img class="autodoc_template_home_img img-thumbnail rounded" src="" />
  69. </td>
  70. </tr>
  71. <tr>
  72. <td class="text-left">Pages:</td>
  73. <td class="text-right">
  74. <span class="autodoc_template_home_pages">undefined</span>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td class="text-left">Owner:</td>
  79. <td class="text-right">
  80. <span class="autodoc_template_home_owner">undefined</span>
  81. </td>
  82. </tr>
  83. <tr>
  84. <td class="text-left">
  85. Created:
  86. </td>
  87. <td class="text-right">
  88. <span class="autodoc_template_home_created">undefined</span>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td class="text-left">
  93. Name:
  94. </td>
  95. <td class="text-right">
  96. <span class="autodoc_template_home_name">n/a</span>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td colspan="2">
  101. <span class="badge badge-pill badge-secondary autodoc_template_home_tag"></span>
  102. </td>
  103. </tr>
  104. </table>
  105. </div>
  106. </div>
  107. </div>
  108. <div class="modal fade" id="autodoc_home_modal" tabindex="-1" role="dialog">
  109. <div class="modal-dialog modal-xl modal-dialog-centered" role="document">
  110. <div class="modal-content">
  111. <div class="modal-header row">
  112. <div class="col-2 align-self-begin">
  113. <h5 class="modal-title">Document</h5>
  114. </div>
  115. <div class="col-4 align-self-center">
  116. <div class="btn-group" role="group" aria-label="Basic example">
  117. <button type="Button" class="btn btn-sm btn-light" disabled>
  118. <i class="fas fa-file-image"></i>
  119. </button>
  120. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">S</button>
  121. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">M</button>
  122. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">L</button>
  123. <button type="button" class="btn btn-sm btn-light autodoc_home_modal_size active">XL</button>
  124. </div>
  125. </div>
  126. </div>
  127. <div class="modal-body autodoc_home_modal_body">
  128. <div class="row">
  129. <div id="autodoc_home_modal_left" class="col-1 autodoc_valign text-light bg-secondary autodoc_noselect"
  130. style="opacity: 0.15;">
  131. <i class="fas fa-3x fa-chevron-circle-left"></i>
  132. </div>
  133. <div class="col">
  134. <img class="img-fluid" id="autodoc_home_modal_img" />
  135. <div class="text-center">Page
  136. <span class="autodoc_home_modal_page"></span>
  137. /
  138. <span class="autodoc_home_modal_pages"></span>
  139. </div>
  140. </div>
  141. <div id="autodoc_home_modal_right" class="col-1 autodoc_valign text-light bg-secondary autodoc_noselect"
  142. style="opacity: 0.15;">
  143. <i class="fas fa-3x fa-chevron-circle-right"></i>
  144. </div>
  145. </div>
  146. </div>
  147. <div class="modal-footer autodoc_home_modal_footer">
  148. <table class="table table-striped table-sm">
  149. <tr>
  150. <th scope="row">Name</th>
  151. <td>
  152. <span class="autodoc_home_modal_name"></span>
  153. <input type="text" class="d-none autodoc_home_modal_name">
  154. </td>
  155. </tr>
  156. <tr>
  157. <th scope="row">Created</th>
  158. <td class="autodoc_home_modal_created"></td>
  159. </tr>
  160. <tr>
  161. <th scope="row">Languages</th>
  162. <td class="autodoc_home_modal_languages"></td>
  163. </tr>
  164. <tr>
  165. <th scope="row">Creator</th>
  166. <td class="autodoc_home_modal_owner"></td>
  167. </tr>
  168. <tr>
  169. <th scope="row">Pages</th>
  170. <td class="autodoc_home_modal_pages"></td>
  171. </tr>
  172. <tr>
  173. <th scope="row">
  174. Tags
  175. <button type="button"
  176. class="autodoc_home_modal_tags_show btn btn-outline-primary btn-sm">Add</button>
  177. <input type="text" class="d-none form-control typeahead autodoc_home_modal_tags_add"
  178. autocomplete="off" data-provide="typeahead">
  179. </th>
  180. <td class="autodoc_home_modal_tags">
  181. </td>
  182. </tr>
  183. </table>
  184. </div>
  185. </div>
  186. </div>
  187. </div>
  188. <div id="autodoc_home_body">
  189. </div>
  190. </div>
  191. <!-- Document -->
  192. <div class="container d-none" id="autodoc_tab_document">
  193. <div class="autodoc_document_template d-none">
  194. <div class="autodoc_document_template_carousel">
  195. <div class="text-center">
  196. <img /><br/>
  197. <span class="lead"></span>
  198. </div>
  199. </div>
  200. </div>
  201. <div class="autodoc_document_empty">
  202. <span class="lead">Document are shown here. Go to 'home' and select a document.</span>
  203. </div>
  204. <div class="autodoc_document_body d-none">
  205. <div class="row">
  206. <div class="col">
  207. <span class="lead">Document</span>
  208. </div>
  209. </div>
  210. <div class="row">
  211. <div class="col-12">
  212. <div class="autodoc_document_carousel">
  213. </div>
  214. </div>
  215. </div>
  216. </div>
  217. </div>
  218. <!-- Upload -->
  219. <div class="container d-none" id="autodoc_tab_upload">
  220. <div class="d-none autodoc_template_progress">
  221. <div class="progress">
  222. <div class="progress-bar progress-bar-striped progress-bar-animated text-dark"></div>
  223. </div>
  224. </div>
  225. <span class="lead">upload</span>
  226. <div class="row">
  227. <div class="col">
  228. <div class="lead">Upload Zone</div>
  229. <div class="text-center autodoc_upload_zone">
  230. Drag & Drop files (png, jpeg, pdf) into this zone to attach them to a single new document<br />
  231. Files can be uploaded at once or separately. A long as the page is not refreshed or the new document
  232. button
  233. is pushed, they will all be attached to the same document
  234. </div>
  235. </div>
  236. <div class="col">
  237. <div class="lead">Upload Status</div>
  238. <div class="autodoc_upload_status"></div>
  239. </div>
  240. </div>
  241. </div>
  242. </div>
  243. <!-- Tags -->
  244. <div class="container d-none" id="autodoc_tab_tags">
  245. <span class="lead">Manage Tags</span>
  246. <div class="row">
  247. <div class="col-6">
  248. <table class="table table-borderless">
  249. <tr>
  250. <th>1. Tag Name</th>
  251. <td>
  252. <select class="custom-select autodoc_tag_list">
  253. <option disabled selected>Choose tag to edit</option>
  254. <option value="">New tag...</option>
  255. </select>
  256. <input type="hidden" class="autodoc_tag_id" value="">
  257. <input type="text" placeholder="Tag name" class="autodoc_tag_text d-none">
  258. </td>
  259. </tr>
  260. <tr>
  261. <th>2. Color</th>
  262. <td>
  263. <div class="btn-group" role="group">
  264. <button type="button" class="btn btn-primary autodoc_tag_color active" data="autodoc_tag_color_primary">
  265. <span class="autodoc_tag_btn_on">
  266. <i class="fas fa-check"></i>
  267. </span>
  268. <span class="autodoc_tag_btn_off d-none">
  269. <i class="fas fa-times"></i>
  270. </span>
  271. </button>
  272. <button type="button" class="btn btn-secondary autodoc_tag_color" data="autodoc_tag_color_secondary">
  273. <span class="autodoc_tag_btn_on d-none">
  274. <i class="fas fa-check"></i>
  275. </span>
  276. <span class="autodoc_tag_btn_off">
  277. <i class="fas fa-times"></i>
  278. </span>
  279. </button>
  280. <button type="button" class="btn btn-success autodoc_tag_color" data="autodoc_tag_color_success">
  281. <span class="autodoc_tag_btn_on d-none">
  282. <i class="fas fa-check"></i>
  283. </span>
  284. <span class="autodoc_tag_btn_off">
  285. <i class="fas fa-times"></i>
  286. </span>
  287. </button>
  288. <button type="button" class="btn btn-danger autodoc_tag_color" data="autodoc_tag_color_danger">
  289. <span class="autodoc_tag_btn_on d-none">
  290. <i class="fas fa-check"></i>
  291. </span>
  292. <span class="autodoc_tag_btn_off">
  293. <i class="fas fa-times"></i>
  294. </span>
  295. </button>
  296. <button type="button" class="btn btn-warning autodoc_tag_color" data="autodoc_tag_color_warning">
  297. <span class="autodoc_tag_btn_on d-none">
  298. <i class="fas fa-check"></i>
  299. </span>
  300. <span class="autodoc_tag_btn_off">
  301. <i class="fas fa-times"></i>
  302. </span>
  303. </button>
  304. <button type="button" class="btn btn-info autodoc_tag_color" data="autodoc_tag_color_info">
  305. <span class="autodoc_tag_btn_on d-none">
  306. <i class="fas fa-check"></i>
  307. </span>
  308. <span class="autodoc_tag_btn_off">
  309. <i class="fas fa-times"></i>
  310. </span>
  311. </button>
  312. <button type="button" class="btn btn-light autodoc_tag_color" data="autodoc_tag_color_light">
  313. <span class="autodoc_tag_btn_on d-none">
  314. <i class="fas fa-check"></i>
  315. </span>
  316. <span class="autodoc_tag_btn_off">
  317. <i class="fas fa-times"></i>
  318. </span>
  319. </button>
  320. <button type="button" class="btn btn-dark autodoc_tag_color" data="autodoc_tag_color_dark">
  321. <span class="autodoc_tag_btn_on d-none">
  322. <i class="fas fa-check"></i>
  323. </span>
  324. <span class="autodoc_tag_btn_off">
  325. <i class="fas fa-times"></i>
  326. </span>
  327. </button>
  328. </div>
  329. </td>
  330. </tr>
  331. <tr>
  332. <th>3. Preview</th>
  333. <td>
  334. <span id="autodoc_tag_result" class="badge badge-primary"></span>
  335. </td>
  336. </tr>
  337. <tr>
  338. <th>4. Confirm</th>
  339. <td>
  340. <button type="button" class="autodoc_tag_add btn btn-outline-primary">Add/Update Tag</button>
  341. <button type="button" class="autodoc_tag_delete btn btn-outline-danger">Delete Tag</button>
  342. </td>
  343. </tr>
  344. </table>
  345. </div>
  346. </div>
  347. <div class="col">
  348. </div>
  349. </div>
  350. <!-- Search -->
  351. <div class="container d-none" id="autodoc_tab_search">
  352. <span class="lead">search</span>
  353. </div>
  354. </div>
  355. <footer class="fixed-bottom page-footer font-small bg-dark">
  356. <div class="container footer-copyright text-center text-muted py-3">
  357. AutoDoc v1.0 &copy; Pascal Gloor 2019
  358. </div>
  359. </footer>
  360. <script src="js/jquery.min.js"></script>
  361. <script src="js/popper.min.js"></script>
  362. <script src="js/tooltip.min.js"></script>
  363. <script src="js/bootstrap.min.js"></script>
  364. <script src="js/bs-custom-file-input.min.js"></script>
  365. <script src="js/slick.min.js"></script>
  366. <script src="js/autodoc.js"></script>
  367. </body>
  368. </html>