index.html 29 KB

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