index.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824
  1. <!--
  2. This file is part of centurio.work/commands.
  3. centurio.work/commands is free software: you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 3 of the License, or (at your
  6. option) any later version.
  7. centurio.work/commands is distributed in the hope that it will be useful, but
  8. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. centurio.work/commands (file COPYING in the main directory). If not, see
  13. <http://www.gnu.org/licenses/>.
  14. -->
  15. <!DOCTYPE html>
  16. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  17. <head>
  18. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  19. <title>Design</title>
  20. <!-- libs, do not modify. When local than load local libs. -->
  21. <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
  22. <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
  23. <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
  24. <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
  25. <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
  26. <script type="text/javascript" src="/js_libs/util.js"></script>
  27. <script type="text/javascript" src="/js_libs/printf.js"></script>
  28. <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
  29. <script type="text/javascript" src="/js_libs/parsequery.js"></script>
  30. <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
  31. <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
  32. <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
  33. <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
  34. <script type="text/javascript" src="/js_libs/ui.js"></script>
  35. <script type="text/javascript" src="/js_libs/custommenu.js"></script>
  36. <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
  37. <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
  38. <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
  39. <!-- custom stuff, play arround -->
  40. <link rel="stylesheet" href="css/design.css" type="text/css"/>
  41. <link rel="stylesheet" href="css/imageSlicer.css" type="text/css"/>
  42. <link rel="stylesheet" href="css/settings.css" type="text/css"/>
  43. <script type="text/javascript" src="js/PatternForm.js"></script>
  44. <script type="text/javascript" src="js/config.js"></script>
  45. <script type="text/javascript" src="js/design.js"></script>
  46. <script type="text/javascript" src="js/imageSlicer.js"></script>
  47. <script type="text/javascript" src="js/assignment.js"></script>
  48. <script type="text/javascript" src="js/settings.js"></script>
  49. <script type="text/javascript" src="js/imageUpload.js"></script>
  50. <script type="text/javascript" src="js/Sortable.js"></script>
  51. <script type="text/javascript" src="js/Regex.js"></script>
  52. <script type="text/javascript" src="js/DateFormat.js"></script>
  53. <link rel="stylesheet" href="/cdp_ui/ui.css" type="text/css"/>
  54. <link rel="icon" href="favicon.ico">
  55. <link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
  56. </head>
  57. </body>
  58. <body is="x-ui">
  59. <ui-rest id="main">
  60. <ui-tabbar>
  61. <ui-before ><a class="logo" href="/customers/evva"></a></ui-before>
  62. <ui-tab class="" data-tab="station" >Stations</ui-tab>
  63. <ui-tab class="inactive" data-tab="cutter" >Slicer</ui-tab>
  64. <ui-tab class="inactive" data-tab="assignment" onclick="initAssignment()" >Assignment</ui-tab>
  65. <ui-tab class="inactive" data-tab="settings" >Settings</ui-tab>
  66. <!-- <ui-tab class="inactive" data-tab="patternAlignment" >Alignment</ui-tab> -->
  67. <ui-behind ></ui-behind>
  68. </ui-tabbar>
  69. <ui-content>
  70. <ui-area data-belongs-to-tab="station">
  71. <!--<input id="CreateStation" type="button" value="Create Station" onclick="saveStation();" disabled/> <- Disabled-->
  72. <template id="line">
  73. <tr >
  74. <td data-class='station' style="width:1em"></td>
  75. <td data-class='pattern'><a href=''></a></td>
  76. <td data-class='date'></td>
  77. <td data-class='duplicate' class="stationAction"><a href=''>⎘</a></td>
  78. <td data-class='delete' class="stationAction"><a href=''>[⨯]</a></td>
  79. </tr>
  80. </template>
  81. <table id="stations">
  82. </table>
  83. </ui-area>
  84. <ui-resizehandle data-belongs-to-tab="station" data-label="drag to resize"></ui-resizehandle>
  85. <ui-area data-belongs-to-tab="station" id="detailcolumn">
  86. <div id="pattern_details" class='x-ui-layout' style="display: none; padding: 10px">
  87. <form id="patternform">
  88. <div class="wasGroup">
  89. <div class="wasLeft">&nbsp;</div>
  90. <div class="wasRight">
  91. <div>
  92. <input class="width100" type="submit" value="save">
  93. </div>
  94. </div>
  95. </div>
  96. <template id="patternClone">
  97. <div class="patternPart">
  98. <a href="#" onclick="removePatternPart($(this))">[⨯]</a>
  99. <input data-class='part' type="text" class="patternPartInput" maxlength="10" size="2" name="pattern" value="*" required>
  100. </div>
  101. </template>
  102. <!--
  103. <div class="wasGroup">
  104. <div class="wasLeft">Pattern <a class="mouseOver" href="#" title="Press '.' or 'space' while editing to create a new pattern part."></a>
  105. </div>
  106. <div class="wasRight">
  107. <span id="patternInput">
  108. <input type="text" class="patternPart" maxlength="10" size="2" name="pattern" value="*" required>
  109. </span>
  110. <a href="#" onclick="addPatternPart(true, 'patternInput')">[+]</a>
  111. </div>
  112. </div>
  113. -->
  114. <div class="wasGroup">
  115. <div class="wasLeft">Preview</div>
  116. <div class="wasRight">
  117. <a href="https://centurio.evva.com/out/frames/WAS_Test/">WIZ-Preview</a>
  118. </div>
  119. </div>
  120. <div style="background-color: #efefef; padding-bottom: 1em; margin-top:1em">
  121. <div id="FormPattern">
  122. </div>
  123. </div>
  124. <div class="wasGroup">
  125. <div class="wasLeft">Description</div>
  126. <div class="wasRight">
  127. <input type="text" class="width100" id="pattern_description" name="description">
  128. </div>
  129. </div>
  130. </form>
  131. <template id="errorCode">
  132. <div class="wasGroup" data-class='errorRow'>
  133. <div data-class='options' class="wasLeft">
  134. <span class="removeImage">[<a href="#" onclick="removeError($(this))">⨯</a>]</span>
  135. </div>
  136. <div class="wasRight">
  137. <input type="text" class="errorInput width100" data-class='errorInput' name="errorInput">
  138. </div>
  139. </div>
  140. </template>
  141. <div id="error">
  142. <div class="wasGroup">
  143. <div class="wasLeft">Error</div>
  144. <div class="wasRight">
  145. [<a href="#" onclick="addError()">Add Error</a>]
  146. </div>
  147. </div>
  148. <div id="errorCodes">
  149. </div>
  150. </div>
  151. <div id="images">
  152. <template id="imagePreview">
  153. <div class="wasGroup" data-class='imageRow'>
  154. <div data-class='options' class="wasLeft">
  155. <div class="imageleft">
  156. <span style="display:none" data-class='imageId'></span>
  157. <input type="text" class="imageInput" data-class='label' name="label">
  158. <span class="removeImage">[<a href=''>⨯</a>]</span>
  159. </div>
  160. </div>
  161. <div class="wasRight">
  162. <table style="width:100%">
  163. <tr>
  164. <td class="handle">⇅</td>
  165. <td class="inspect"><a target="_blank" data-class='showimage' href="">👁</a></td>
  166. <td data-class='image' class="image"></td>
  167. </tr>
  168. </table>
  169. </div>
  170. </div>
  171. </template>
  172. <div class="wasGroup">
  173. <div class="wasLeft">Language</div>
  174. <div class="wasRight">
  175. <select class="width100" name="image_language" id="image_language">
  176. <option value="de-at">de-at</option>
  177. <option value="en-us">en-us</option>
  178. </select>
  179. </div>
  180. </div>
  181. <div id="imageListing">
  182. </div>
  183. <div class="wasGroup">
  184. <div class="wasLeft">Image Upload</div>
  185. <div class="wasRight">
  186. <form id="imgUpload" class="box" method="post" action="../images/imageUpload.php" enctype="multipart/form-data">
  187. <div class="box__input">
  188. <input class="box__file" type="file" name="files[]" id="file" data-multiple-caption="{count} files selected" multiple />
  189. <label for="file"><strong>Choose a file</strong><span class="box__dragndrop"> or drag it here</span>.</label>
  190. <button class="box__button" type="submit">Upload</button>
  191. </div>
  192. <div class="box__uploading">Uploading&hellip;</div>
  193. <div class="box__success">Done!
  194. <a href="https://centurio.work/customers/evva/was/ui//?" class="box__restart" role="button">Upload more?</a>
  195. </div>
  196. <div class="box__error">Error! <span></span>.</div>
  197. </form>
  198. <input type="text" class="abbreviationInput width100 url" name="externalImage" id="addExternalImageUrl">
  199. <a href="#" onclick="overlayOn($(this));">🔍</a> <a href="#" onclick="addExternalImage();" id="addExternalImage">add Image</a>
  200. </div>
  201. </div>
  202. </div>
  203. <template id="imageReplacements">
  204. <div class="wasGroup replaceInput" data-class='replacement'>
  205. <div data-class='options' class="wasLeft">
  206. <input type="text" class="abbreviation" data-class='abbreviation' name="abbreviation">
  207. <span class="removeImage">[<a href='#' onclick="removeReplacement($(this))">⨯</a>]</span>
  208. </div>
  209. <div class="wasRight">
  210. <table style="width:100%">
  211. <tr>
  212. <td class="handle2">⇅</td>
  213. <td class="search"><a href="#" onclick="overlayOn($(this));">🔍</a></td>
  214. <td class="abbrtext"><input type="text" class="abbreviationInput width100 url" data-class='url' name="abbreviationInput"></td>
  215. </tr>
  216. </table>
  217. </div>
  218. </div>
  219. </template>
  220. <div id="replacements">
  221. <div class="wasGroup">
  222. <div class="wasLeft">Image Replacement</div>
  223. <div class="wasRight">
  224. [<a href="#" onclick="addBlankReplacement()">Add Replacement</a>]
  225. </div>
  226. </div>
  227. <div id="replaceImages">
  228. </div>
  229. </div>
  230. <div class="wasGroup">
  231. <div class="wasLeft">&nbsp;</div>
  232. <div class="wasRight">
  233. <button class="width100" id="remove_pattern" type="button">Remove Pattern</button>
  234. </div>
  235. </div>
  236. <div style="display:none">
  237. <span id="image_count"></span>
  238. Station <span id="pattern_station"></span> Pattern ID <span id="pattern_ID"></span></br>
  239. <!--Pattern <input type="text" id="pattern" name="pattern"></br>-->
  240. </div>
  241. </div>
  242. <div id="station_details" style="display: none; padding: 10px">
  243. </div>
  244. </ui-area>
  245. <ui-area data-belongs-to-tab="cutter" class="inactive">
  246. <template id="RectanglesImage">
  247. <div class="rect" data-class='RectID'></div>
  248. </div>
  249. </template>
  250. <div>
  251. <a href="#" onclick="overlayOn($(this), 'image');">🔍</a>
  252. </div>
  253. <div id="imgrect" class="image-with-rect">
  254. <img class="image" id="sliceImg" src="" alt="" />
  255. <!--
  256. <div id="imagearea">
  257. <img src="images/image.jpg" alt="Italian Trulli" width="100%">
  258. <div class="rect">
  259. Cutting Area1
  260. </div>
  261. </div>
  262. -->
  263. </div>
  264. <div id="imgurlFolder" style="padding-top: 50px;">
  265. <span style="color: red"> Handle with Care: </span><br>
  266. Select a Folder (all content will be used 4 cutting)<br>
  267. Select a SaveLocation (in the form to the right)<br>
  268. Select a RectangleConfig (in the form to the right)(ignore the rectangles)<br>
  269. Press button Cut Folder (currently images will not be overwritten)<br>
  270. Wait a bit<br>
  271. <select id="selectfolders" class="width100">
  272. </select>
  273. <button class="width100" type="button" id="multiCut">Cut Folder</button><br>
  274. <span id="cuttingProgress" >
  275. </span>
  276. </div>
  277. </ui-area>
  278. <!--<ui-resizehandle data-belongs-to-tab="cutter" data-label="drag to resize" ></ui-resizehandle>-->
  279. <ui-area data-belongs-to-tab="cutter" id="detailcolumn2" class="inactive">
  280. <div class='x-ui-layout' style="padding: 10px">
  281. <div class="wasGroup">
  282. <div class="wasLeft">Fill From Name: <a class="mouseOver" href="#" title="Press 'enter' after editing to fill the form with the pattern."></a></div>
  283. <input type="text" id="slicerpatterninput" name="description">
  284. </div>
  285. <form id="sliceform" onsubmit="submitSlices()">
  286. <!--
  287. <div class="wasGroup">
  288. <div class="wasLeft">Pattern <a class="mouseOver" href="#" title="Press '.' or 'space' while editing to create a new pattern part."></a>
  289. </div>
  290. <div class="wasRight">
  291. <span id="pattern2">
  292. <input type="text" class="patternPart" maxlength="10" size="2" name="pattern" value="*" required>
  293. </span>
  294. <a href="#" onclick="addPatternPart(true, 'pattern2')">[+]</a>
  295. </div>
  296. </div>
  297. -->
  298. <template id="PatternFormInit">
  299. <div class="wasGroup" data-class='mainDiv'>
  300. <div data-class='description' class="wasLeft">
  301. <span data-class='Name'></span>(<span data-class='Abkürzung'></span>)
  302. </div>
  303. <div class="wasRight">
  304. <select data-class='Optionen' name="">
  305. </select>
  306. </div>
  307. </div>
  308. </template>
  309. <div id="FormPattern2">
  310. </div>
  311. <div class="wasGroup">
  312. <div class="wasLeft">Save Location</div>
  313. <div class="wasRight">
  314. <select name="savelocation" id="savelocation">
  315. </select>
  316. </div>
  317. </div>
  318. <div class="wasGroup">
  319. <div class="wasLeft">Load Rectangle Config</div>
  320. <div class="wasRight">
  321. <select name="loadconfig" id="loadconfig">
  322. <option value="none">none</option>
  323. </select>
  324. </div>
  325. </div>
  326. <div class="wasGroup" id="FormSubmitOben">
  327. <input class="width100" type="submit" value="startCutting">
  328. </div>
  329. <template id="RectanglesAssignmentValue">
  330. <span>
  331. <a data-class='AssignmentDelete' style="padding-left: 2em;"> - </a>
  332. <span data-class='AssignmentText' class="RectanglesAssignmentValue" style="width: 2em; display:inline-block;">
  333. </span>
  334. </span>
  335. </template>
  336. <template id="RectanglesAssignment">
  337. <div data-class='Assignment'>
  338. <span data-class='AssignmentAbk' style="display: inline-block; width: 3em;"></span>
  339. <select data-class='AssignmentOptionen' name="" style="width: 7em"></select>
  340. <a data-class='AssignmentAdd'> + </a>
  341. <span data-class='AllAssignments'>
  342. <span>
  343. <span data-class='AssignmentDefaultValue' class="RectanglesAssignmentDefaultValue" style="width: 4em; color: green; padding-left: 2em; display:inline-block;"></span>
  344. </span>
  345. </span>
  346. </div>
  347. </template>
  348. <template id="RectanglesSetup">
  349. <div class="wasGroup singleRect" data-class='mainDiv'>
  350. <div data-class='description' class="wasLeft">
  351. RectID:
  352. <span data-class='RectID' class="RectID"></span>
  353. <div class="handle3">⇅</div>
  354. <div>
  355. Inactive: <input data-class='setinactive' class="" type="checkbox" name="setinactive">
  356. </div>
  357. <div>
  358. <a data-class='removeRect' href="#">Remove Rectangle</a>
  359. </div>
  360. </div>
  361. <div class="wasRight">
  362. <div class="patternPart2">
  363. <span>X</span>
  364. <input data-class='x' type="number" class="patternPart2Input noarrow" maxlength="4" size="4" value="0" required>
  365. </div>
  366. <div class="patternPart2">
  367. <span>Y</span>
  368. <input data-class='y' type="number" class="patternPart2Input noarrow" maxlength="4" size="4" value="0" required>
  369. </div>
  370. <div class="patternPart2">
  371. <span>W</span>
  372. <input data-class='w' type="number" class="patternPart2Input noarrow" maxlength="4" size="4" value="0" required>
  373. </div>
  374. <div class="patternPart2">
  375. <span>H</span>
  376. <input data-class='h' type="number" class="patternPart2Input noarrow" maxlength="4" size="4" value="0" required>
  377. </div>
  378. <br>
  379. <div data-class='RectanglePattern' class="RectanglePattern">
  380. </div>
  381. <a href="#" onclick="togglenext($(this));">Assignments</a>
  382. <div style="display: none">
  383. <div style="margin-left: 13.3em; color: green;">
  384. Default Values
  385. </div>
  386. <div data-class='RectangleAssignmentStation' class="RectangleAssignmentStation">
  387. </div>
  388. <div data-class='RectangleAssignment' class="RectangleAssignment">
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. </template>
  394. <template id="RectanglePattern">
  395. <div class="patternPart3">
  396. <span data-class="abk"></span>
  397. <input data-class='input' class="patternPart3Input" type="checkbox" name="ID_EL" >
  398. </div>
  399. </template>
  400. <template id="RectanglePatternText">
  401. <div class="patternPart3Text">
  402. <span data-class="abk">Text</span>
  403. <input data-class='input' type="text" class="patternPart3Input " maxlength="4" size="4" value="">
  404. </div>
  405. </template>
  406. <template id="SlicerDupliOverlay">
  407. <div class="SlicerScrolling">
  408. <a class="noDeco" href="javascript:overlayOff()">
  409. <div class="slicerRedlink CloseOverlayTopRight" >
  410. </div>
  411. </a>
  412. <div class="slicerScrollbar" data-class='mainDiv'>
  413. <div data-class='header'>
  414. <h1>Achtung Bilder werden Überschrieben</h1>
  415. </div>
  416. <table data-class='ImgList'>
  417. <tr>
  418. <th>Old</th>
  419. <th>New</th>
  420. <th></th>
  421. </tr>
  422. </table>
  423. <a class="noDeco" href="javascript:overlayOff()">
  424. <div class="slicerRedlink" >
  425. ⨯ Schließen
  426. </div>
  427. </a>
  428. </div>
  429. </div>
  430. </template>
  431. <template id="SlicerDupliImageRow">
  432. <tr>
  433. <td>
  434. <img data-class='oldimg' class="slicerOldImg">
  435. </td>
  436. <td>
  437. <img data-class='newimg' class="slicerNewImg">
  438. </td>
  439. <td>
  440. <button class="slicerChangeButton" data-class='changebutton'>Übernehmen</button>
  441. </td>
  442. </tr>
  443. </template>
  444. <div id="addRectanglesGroup" class="wasGroup">
  445. <div class="wasLeft">Rectangles</div>
  446. <div class="wasRight">
  447. <a href="javascript:addRectangle();">Add Rectangle</a>
  448. </div>
  449. </div>
  450. <div id="imgRectangles">
  451. </div>
  452. <div id="Json2ClipboardGroup" class="wasGroup">
  453. <button class="width100" type="button" id="showJson">Json2Clipboard</button>
  454. </div>
  455. <div id="Json2ClipboardGroup" class="wasGroup">
  456. <button class="width100" type="button" id="overrideRect">OverrideRectangle</button>
  457. </div>
  458. <div class="wasGroup">
  459. <input class="width100" type="submit" value="startCutting">
  460. </div>
  461. </form>
  462. </div>
  463. </ui-area>
  464. <ui-area data-belongs-to-tab="settings" class="inactive">
  465. <template id="JsonFile">
  466. <div>
  467. <a href="" data-class='jsonlink'></a>
  468. </div>
  469. </template>
  470. <h1>Edit Json Files</h1>
  471. <div id="JsonFiles">
  472. </div>
  473. <h1>Create Productcode String</h1>
  474. <form id="createProductcodeString" onsubmit="createProductcodeString()">
  475. <div id="FormPattern3">
  476. </div>
  477. <input class="width100" type="submit" value="Create Productcode">
  478. </form><br>
  479. Code: <input data-class="input" id="showcreatedProductcodeString" type="text" maxlength="60" size="60" value="Productcode">
  480. </ui-area>
  481. <!--<ui-resizehandle data-belongs-to-tab="cutter" data-label="drag to resize" ></ui-resizehandle>-->
  482. <ui-area data-belongs-to-tab="settings" id="detailcolumn3" class="inactive">
  483. <div class='x-ui-layout' style="padding: 10px">
  484. <div class="wasGroup">
  485. <form id="jsonfileform">
  486. <textarea id="jsonfiletxtarea" rows="30" cols="50"></textarea>
  487. <input class="width100" type="submit" value="SaveJson">
  488. </form>
  489. </div>
  490. </div>
  491. </ui-area>
  492. <ui-area data-belongs-to-tab="assignment" class="inactive">
  493. <select name="station" id="searchAssingmentStation"></select>
  494. <input data-class="input" id="searchAssingmentPattern" type="text" maxlength="60" size="20" value="Pattern">
  495. <input data-class="input" id="searchAssingmentText" type="text" maxlength="20" size="20" value="Text">
  496. <a href="javascript:searchAssignmentForm();">Search</a><br>
  497. <a class="showremoveitems" href="javascript:removeSelectedItems();" style="display: inline;">[Remove Selected Items]</a>
  498. <a class="showremoveitems" href="javascript:selectAll();" style="display: inline;">[Select All]</a>
  499. <a class="showremoveitems" href="javascript:unselectAll();" style="display: inline;">[De-Select All]</a>
  500. <br>
  501. List of all Images
  502. <template id="assignmentitem">
  503. <tr data-class='tr'>
  504. <td >
  505. <div class="DataImg">
  506. <img data-class='image' class="image" src="" alt="" />
  507. </div>
  508. </td>
  509. <td data-class='item'><a href=''></a></td>
  510. <!--<td data-class='duplicate' class="stationAction"><a href=''>⎘</a></td>-->
  511. <td><input data-class="multiRemovelink" class="showremoveitems" type="checkbox" name="" value=""></td>
  512. <td data-class='delete' class="assignmentAction"><a href=''>[⨯]</a></td>
  513. </tr>
  514. </template>
  515. <br>
  516. <a href="javascript:createAssignmentForm();">Create Assignment</a>
  517. <table id="assignmentslist" style="border-collapse:collapse;">
  518. </table>
  519. </ui-area>
  520. <!--<ui-resizehandle data-belongs-to-tab="cutter" data-label="drag to resize" ></ui-resizehandle>-->
  521. <ui-area data-belongs-to-tab="assignment" id="detailcolumn4" class="inactive">
  522. <div id="assignment_details" class="x-ui-layout" style="display: none; padding: 10px">
  523. <!--
  524. Create new Link (die spalten werden aus dem namen aufgebaut das zb. nur System und Bauart ausgewählt werden können)
  525. <table>
  526. <tr>
  527. <th>Station</th>
  528. <th>Produktbereich</th>
  529. <th>System</th>
  530. <th>Produktkategorie</th>
  531. <th>Bauart</th>
  532. <th>Zylinderlänge außen</th>
  533. <th>...</th>
  534. </tr>
  535. <tr>
  536. <td>[ ] Station1</td>
  537. <td>[ ] E</td>
  538. <td>[ ] X</td>
  539. <td>[ ] PZ</td>
  540. <td>[ ] KZ-S</td>
  541. <td>[ ] 31</td>
  542. <td>...</td>
  543. </tr>
  544. <tr>
  545. <td>[ ] Station2</td>
  546. <td></td>
  547. <td></td>
  548. <td></td>
  549. <td>[ ] RKZ-S</td>
  550. <td>[ ] 36</td>
  551. <td>...</td>
  552. </tr>
  553. <tr>
  554. <td>[ ] Station3</td>
  555. <td></td>
  556. <td></td>
  557. <td></td>
  558. <td>[ ] HZ-S</td>
  559. <td>[ ] 41</td>
  560. <td>...</td>
  561. </tr>
  562. <tr>
  563. <td>[ ] Station4</td>
  564. <td></td>
  565. <td></td>
  566. <td></td>
  567. <td>[ ] RHZ-S</td>
  568. <td>[ ] 46</td>
  569. <td>...</td>
  570. </tr>
  571. </table>
  572. -->
  573. <h1>Assignments</h1>
  574. <div id="storedassignments">
  575. <template id="singleassignment">
  576. <tr id="assignmentitemrow" >
  577. <td > </td>
  578. <td data-class='station'></td>
  579. <td data-class='item' id="asdfasdfa"></td>
  580. <!--<td data-class='duplicate' class="stationAction"><a href=''>⎘</a></td>-->
  581. <td data-class='delete' class="assignmentAction"><a href=''>[⨯]</a></td>
  582. </tr>
  583. </template>
  584. <table id="assignmentdetaillist">
  585. </table>
  586. </div>
  587. <h1>New Assignment</h1>
  588. <form id="assignmentform" onsubmit="submitAssignment()">
  589. <input type="text" class="abbreviationInput width100 url" name="externalImage" id="addExternalImageAssignment">
  590. <button type="button" id="updateExternalImageAssignment">Save Image Path</button>
  591. <a href="#" id="assignmentLupe" onclick="overlayOn($(this), 'assigment');">🔍</a>
  592. <div class="wasGroup" data-class="mainDiv">
  593. <div data-class="description" class="wasLeft">
  594. <span data-class="Name">Station</span>
  595. </div>
  596. <div class="wasRight">
  597. <select name="station" id="assignmentstation"></select>
  598. </div>
  599. </div>
  600. <div id="FormPatternAssignment">
  601. </div>
  602. <div class="wasGroup" data-class="mainDiv">
  603. <div data-class="description" class="wasLeft">
  604. <span data-class="Name">Text</span>
  605. </div>
  606. <div class="wasRight">
  607. <input data-class="input" id="assignmentText" type="text" maxlength="4" size="4" value="">
  608. </div>
  609. </div>
  610. <input class="width100" type="submit" value="Save Assignment">
  611. </form>
  612. </div>
  613. </ui-area>
  614. <!---
  615. <ui-area data-belongs-to-tab="patternAlignment" class="inactive">
  616. aa [Model, OutsideCyl, InsideCyl]
  617. </ui-area>
  618. <ui-area data-belongs-to-tab="patternAlignment" id="detailcolumn3" class="inactive">
  619. --->
  620. </ui-content>
  621. </ui-rest>
  622. <div id="overlay" onclick="overlayOff()">
  623. <div id="overlaycontentsize"></div>
  624. </div>
  625. <div id="overlayNotClickable">
  626. <div id="overlaycontentsizeNotClickable"></div>
  627. </div>
  628. </body>
  629. </html>