123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748 |
- <!--
- This file is part of centurio.work/commands.
-
- centurio.work/commands is free software: you can redistribute it and/or
- modify it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- centurio.work/commands is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- more details.
-
- You should have received a copy of the GNU General Public License along with
- centurio.work/commands (file COPYING in the main directory). If not, see
- <http://www.gnu.org/licenses/>.
- -->
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>Design</title>
-
- <!-- libs, do not modify. When local than load local libs. -->
- <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
- <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
- <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
- <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
- <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
- <script type="text/javascript" src="/js_libs/util.js"></script>
- <script type="text/javascript" src="/js_libs/printf.js"></script>
- <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
- <script type="text/javascript" src="/js_libs/parsequery.js"></script>
- <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
- <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
- <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
-
-
- <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
-
- <script type="text/javascript" src="/js_libs/ui.js"></script>
- <script type="text/javascript" src="/js_libs/custommenu.js"></script>
-
- <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
- <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
-
- <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
-
- <!-- custom stuff, play arround -->
- <link rel="stylesheet" href="css/design.css" type="text/css"/>
- <link rel="stylesheet" href="css/imageSlicer.css" type="text/css"/>
- <link rel="stylesheet" href="css/settings.css" type="text/css"/>
-
-
- <script type="text/javascript" src="js/design.js"></script>
- <script type="text/javascript" src="js/imageSlicer.js"></script>
- <script type="text/javascript" src="js/assignment.js"></script>
- <script type="text/javascript" src="js/settings.js"></script>
-
-
- <script type="text/javascript" src="js/imageUpload.js"></script>
-
- <script type="text/javascript" src="js/Sortable.js"></script>
- <script type="text/javascript" src="js/Regex.js"></script>
- <script type="text/javascript" src="js/DateFormat.js"></script>
- <link rel="stylesheet" href="/cdp_ui/ui.css" type="text/css"/>
- <link rel="icon" href="favicon.ico">
- <link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
-
-
- </head>
- </body>
- <body is="x-ui">
- <ui-rest id="main">
- <ui-tabbar>
- <ui-before ><a class="logo" href="/customers/evva"></a></ui-before>
- <ui-tab class="" data-tab="station" >Stations</ui-tab>
- <ui-tab class="inactive" data-tab="cutter" >Slicer</ui-tab>
- <ui-tab class="inactive" data-tab="settings" >Settings</ui-tab>
- <ui-tab class="inactive" data-tab="assignment" >Assignment</ui-tab>
- <!-- <ui-tab class="inactive" data-tab="patternAlignment" >Alignment</ui-tab> -->
- <ui-behind ></ui-behind>
- </ui-tabbar>
- <ui-content>
- <ui-area data-belongs-to-tab="station">
-
- <!--<input id="CreateStation" type="button" value="Create Station" onclick="saveStation();" disabled/> <- Disabled-->
- <template id="line">
- <tr >
- <td data-class='station' style="width:1em"></td>
- <td data-class='pattern'><a href=''></a></td>
- <td data-class='date'></td>
- <td data-class='duplicate' class="stationAction"><a href=''>⎘</a></td>
- <td data-class='delete' class="stationAction"><a href=''>[⨯]</a></td>
- </tr>
- </template>
-
- <table id="stations">
- </table>
- </ui-area>
-
- <ui-resizehandle data-belongs-to-tab="station" data-label="drag to resize"></ui-resizehandle>
- <ui-area data-belongs-to-tab="station" id="detailcolumn">
- <div id="pattern_details" class='x-ui-layout' style="display: none; padding: 10px">
- <form id="patternform">
- <div class="wasGroup">
- <div class="wasLeft"> </div>
- <div class="wasRight">
- <div>
- <input class="width100" type="submit" value="save">
- </div>
- </div>
- </div>
-
- <template id="patternClone">
- <div class="patternPart">
- <a href="#" onclick="removePatternPart($(this))">[⨯]</a>
- <input data-class='part' type="text" class="patternPartInput" maxlength="10" size="2" name="pattern" value="*" required>
- </div>
- </template>
-
- <!--
- <div class="wasGroup">
- <div class="wasLeft">Pattern <a class="mouseOver" href="#" title="Press '.' or 'space' while editing to create a new pattern part."></a>
- </div>
- <div class="wasRight">
- <span id="patternInput">
- <input type="text" class="patternPart" maxlength="10" size="2" name="pattern" value="*" required>
- </span>
- <a href="#" onclick="addPatternPart(true, 'patternInput')">[+]</a>
- </div>
- </div>
- -->
- <div class="wasGroup">
- <div class="wasLeft">Preview</div>
- <div class="wasRight">
- <a href="https://centurio.work/out/frames/WAS_Test/">WIZ-Preview</a>
- </div>
- </div>
-
-
- <div style="background-color: #efefef; padding-bottom: 1em; margin-top:1em">
- <div id="FormPattern">
-
- </div>
-
-
- </div>
-
-
- <div class="wasGroup">
- <div class="wasLeft">Description</div>
- <div class="wasRight">
- <input type="text" class="width100" id="pattern_description" name="description">
- </div>
- </div>
- </form>
-
-
- <template id="errorCode">
- <div class="wasGroup" data-class='errorRow'>
- <div data-class='options' class="wasLeft">
- <span class="removeImage">[<a href="#" onclick="removeError($(this))">⨯</a>]</span>
- </div>
- <div class="wasRight">
- <input type="text" class="errorInput width100" data-class='errorInput' name="errorInput">
- </div>
- </div>
- </template>
-
-
- <div id="error">
- <div class="wasGroup">
- <div class="wasLeft">Error</div>
- <div class="wasRight">
- [<a href="#" onclick="addError()">Add Error</a>]
- </div>
- </div>
- <div id="errorCodes">
- </div>
- </div>
-
-
-
- <div id="images">
- <template id="imagePreview">
- <div class="wasGroup" data-class='imageRow'>
- <div data-class='options' class="wasLeft">
- <div class="imageleft">
- <span style="display:none" data-class='imageId'></span>
- <input type="text" class="imageInput" data-class='label' name="label">
- <span class="removeImage">[<a href=''>⨯</a>]</span>
- </div>
- </div>
- <div class="wasRight">
- <table style="width:100%">
- <tr>
- <td class="handle">⇅</td>
- <td class="inspect"><a target="_blank" data-class='showimage' href="">👁</a></td>
- <td data-class='image' class="image"></td>
- </tr>
- </table>
- </div>
- </div>
- </template>
-
-
- <div class="wasGroup">
- <div class="wasLeft">Language</div>
- <div class="wasRight">
- <select class="width100" name="image_language" id="image_language">
- <option value="de-at">de-at</option>
- <option value="en-us">en-us</option>
- </select>
- </div>
- </div>
-
-
-
-
- <div id="imageListing">
- </div>
-
-
-
- <div class="wasGroup">
- <div class="wasLeft">Image Upload</div>
- <div class="wasRight">
- <form id="imgUpload" class="box" method="post" action="../images/imageUpload.php" enctype="multipart/form-data">
- <div class="box__input">
- <input class="box__file" type="file" name="files[]" id="file" data-multiple-caption="{count} files selected" multiple />
- <label for="file"><strong>Choose a file</strong><span class="box__dragndrop"> or drag it here</span>.</label>
- <button class="box__button" type="submit">Upload</button>
- </div>
- <div class="box__uploading">Uploading…</div>
- <div class="box__success">Done!
- <a href="https://centurio.work/customers/evva/was/ui//?" class="box__restart" role="button">Upload more?</a>
- </div>
- <div class="box__error">Error! <span></span>.</div>
- </form>
-
-
- <input type="text" class="abbreviationInput width100 url" name="externalImage" id="addExternalImageUrl">
- <a href="#" onclick="overlayOn($(this));">🔍</a> <a href="#" onclick="addExternalImage();" id="addExternalImage">add Image</a>
-
- </div>
- </div>
- </div>
-
-
-
- <template id="imageReplacements">
- <div class="wasGroup replaceInput" data-class='replacement'>
- <div data-class='options' class="wasLeft">
- <input type="text" class="abbreviation" data-class='abbreviation' name="abbreviation">
- <span class="removeImage">[<a href='#' onclick="removeReplacement($(this))">⨯</a>]</span>
- </div>
- <div class="wasRight">
-
-
- <table style="width:100%">
- <tr>
- <td class="handle2">⇅</td>
- <td class="search"><a href="#" onclick="overlayOn($(this));">🔍</a></td>
- <td class="abbrtext"><input type="text" class="abbreviationInput width100 url" data-class='url' name="abbreviationInput"></td>
- </tr>
- </table>
-
-
-
- </div>
- </div>
- </template>
-
-
- <div id="replacements">
- <div class="wasGroup">
- <div class="wasLeft">Image Replacement</div>
- <div class="wasRight">
- [<a href="#" onclick="addBlankReplacement()">Add Replacement</a>]
- </div>
- </div>
- <div id="replaceImages">
- </div>
- </div>
-
-
- <div class="wasGroup">
- <div class="wasLeft"> </div>
- <div class="wasRight">
- <button class="width100" id="remove_pattern" type="button">Remove Pattern</button>
- </div>
- </div>
-
-
-
- <div style="display:none">
- <span id="image_count"></span>
- Station <span id="pattern_station"></span> Pattern ID <span id="pattern_ID"></span></br>
- <!--Pattern <input type="text" id="pattern" name="pattern"></br>-->
- </div>
- </div>
-
-
- <div id="station_details" style="display: none; padding: 10px">
- </div>
-
-
- </ui-area>
-
- <ui-area data-belongs-to-tab="cutter" class="inactive">
-
-
- <template id="RectanglesImage">
-
- <div class="rect" data-class='RectID'></div>
- </div>
- </template>
-
-
-
- <div>
- <a href="#" onclick="overlayOn($(this), 'image');">🔍</a>
- </div>
-
-
- <div id="imgrect" class="image-with-rect">
- <img class="image" id="sliceImg" src="" alt="" />
-
-
- <!--
- <div id="imagearea">
- <img src="images/image.jpg" alt="Italian Trulli" width="100%">
-
-
- <div class="rect">
- Cutting Area1
- </div>
- </div>
- -->
- </div>
-
-
- <div id="imgurlFolder" style="padding-top: 50px;">
- <span style="color: red"> Handle with Care: </span><br>
- Select a Folder (all content will be used 4 cutting)<br>
- Select a SaveLocation (in the form to the right)<br>
- Select a RectangleConfig (in the form to the right)(ignore the rectangles)<br>
- Press button Cut Folder (currently images will not be overwritten)<br>
- Wait a bit<br>
-
- <select id="selectfolders" class="width100">
- </select>
-
- <button class="width100" type="button" id="multiCut">Cut Folder</button>
-
- </div>
-
-
- </ui-area>
-
- <!--<ui-resizehandle data-belongs-to-tab="cutter" data-label="drag to resize" ></ui-resizehandle>-->
-
- <ui-area data-belongs-to-tab="cutter" id="detailcolumn2" class="inactive">
- <div class='x-ui-layout' style="padding: 10px">
-
-
-
-
- <div class="wasGroup">
- <div class="wasLeft">Fill From Name: <a class="mouseOver" href="#" title="Press 'enter' after editing to fill the form with the pattern."></a></div>
- <input type="text" id="slicerpatterninput" name="description">
- </div>
-
- <form id="sliceform" onsubmit="submitSlices()">
-
-
- <!--
- <div class="wasGroup">
- <div class="wasLeft">Pattern <a class="mouseOver" href="#" title="Press '.' or 'space' while editing to create a new pattern part."></a>
- </div>
- <div class="wasRight">
- <span id="pattern2">
- <input type="text" class="patternPart" maxlength="10" size="2" name="pattern" value="*" required>
- </span>
- <a href="#" onclick="addPatternPart(true, 'pattern2')">[+]</a>
- </div>
- </div>
- -->
- <template id="PatternFormInit">
- <div class="wasGroup" data-class='mainDiv'>
- <div data-class='description' class="wasLeft">
- <span data-class='Name'></span>(<span data-class='Abkürzung'></span>)
- </div>
- <div class="wasRight">
- <select data-class='Optionen' name="">
- </select>
- </div>
- </div>
- </template>
-
-
- <div id="FormPattern2">
-
- </div>
-
-
- <div class="wasGroup">
- <div class="wasLeft">Save Location</div>
- <div class="wasRight">
- <select name="savelocation" id="savelocation">
- </select>
- </div>
- </div>
-
- <div class="wasGroup">
- <div class="wasLeft">Load Rectangle Config</div>
- <div class="wasRight">
- <select name="loadconfig" id="loadconfig">
- <option value="none">none</option>
- </select>
- </div>
- </div>
-
- <div class="wasGroup" id="FormSubmitOben">
- <input class="width100" type="submit" value="startCutting">
- </div>
-
-
-
- <template id="RectanglesSetup">
- <div class="wasGroup singleRect" data-class='mainDiv'>
- <div data-class='description' class="wasLeft">
- RectID:
- <span data-class='RectID' class="RectID"></span>
- <div class="handle3">⇅</div>
- </div>
- <div class="wasRight">
- <div class="patternPart2">
- <span>X</span>
- <input data-class='x' type="number" class="patternPart2Input noarrow" maxlength="4" size="4" value="0" required>
- </div>
- <div class="patternPart2">
- <span>Y</span>
- <input data-class='y' type="number" class="patternPart2Input noarrow" maxlength="4" size="4" value="0" required>
- </div>
- <div class="patternPart2">
- <span>W</span>
- <input data-class='w' type="number" class="patternPart2Input noarrow" maxlength="4" size="4" value="0" required>
- </div>
- <div class="patternPart2">
- <span>H</span>
- <input data-class='h' type="number" class="patternPart2Input noarrow" maxlength="4" size="4" value="0" required>
- </div>
- <br>
- <div data-class='RectanglePattern' lass="RectanglePattern">
- </div>
- </div>
- </div>
- </template>
-
- <template id="RectanglePattern">
- <div class="patternPart3">
- <span data-class="abk"></span>
- <input data-class='input' class="patternPart3Input" type="checkbox" name="ID_EL" >
- </div>
- </template>
-
- <template id="RectanglePatternText">
- <div class="patternPart3Text">
- <span data-class="abk">Text</span>
- <input data-class='input' type="text" class="patternPart3Input " maxlength="4" size="4" value="">
- </div>
- </template>
-
-
-
- <template id="SlicerDupliOverlay">
- <div class="SlicerScrolling">
- <a class="noDeco" href="javascript:overlayOff()">
- <div class="slicerRedlink CloseOverlayTopRight" >
- ⨯
- </div>
- </a>
- <div class="slicerScrollbar" data-class='mainDiv'>
- <div data-class='header'>
- <h1>Achtung Bilder werden Überschrieben</h1>
- </div>
- <table data-class='ImgList'>
- <tr>
- <th>Old</th>
- <th>New</th>
- <th></th>
- </tr>
- </table>
- <a class="noDeco" href="javascript:overlayOff()">
- <div class="slicerRedlink" >
- ⨯ Schließen
- </div>
- </a>
- </div>
- </div>
- </template>
-
-
-
- <template id="SlicerDupliImageRow">
- <tr>
- <td>
- <img data-class='oldimg' class="slicerOldImg">
- </td>
- <td>
- <img data-class='newimg' class="slicerNewImg">
- </td>
- <td>
- <button class="slicerChangeButton" data-class='changebutton'>Übernehmen</button>
- </td>
- </tr>
- </template>
-
-
-
- <div id="addRectanglesGroup" class="wasGroup">
- <div class="wasLeft">Rectangles</div>
- <div class="wasRight">
- <a href="javascript:addRectangle();">Add Rectangle</a>
- </div>
- </div>
-
- <div id="imgRectangles">
-
-
- </div>
-
- <div id="Json2ClipboardGroup" class="wasGroup">
- <button class="width100" type="button" id="showJson">Json2Clipboard</button>
- </div>
- <div class="wasGroup">
- <input class="width100" type="submit" value="startCutting">
- </div>
- </form>
-
-
- </div>
- </ui-area>
-
-
-
-
-
-
-
- <ui-area data-belongs-to-tab="settings" class="inactive">
-
- <template id="JsonFile">
- <div>
- <a href="" data-class='jsonlink'></a>
- </div>
- </template>
-
- Json Files:
-
- <div id="JsonFiles">
-
- </div>
-
- </ui-area>
-
- <!--<ui-resizehandle data-belongs-to-tab="cutter" data-label="drag to resize" ></ui-resizehandle>-->
-
- <ui-area data-belongs-to-tab="settings" id="detailcolumn3" class="inactive">
- <div class='x-ui-layout' style="padding: 10px">
- <div class="wasGroup">
- <form id="jsonfileform">
- <textarea id="jsonfiletxtarea" rows="30" cols="50"></textarea>
-
- <input class="width100" type="submit" value="SaveJson">
-
-
- </form>
- </div>
- </div>
- </ui-area>
-
-
-
- <ui-area data-belongs-to-tab="assignment" class="inactive">
- List of all Images
-
- <template id="assignmentitem">
- <tr >
- <td > </td>
- <td data-class='item'><a href=''></a></td>
- <!--<td data-class='duplicate' class="stationAction"><a href=''>⎘</a></td>-->
- <td data-class='delete' class="assignmentAction"><a href=''>[⨯]</a></td>
- </tr>
- </template>
- <br>
- <a href="javascript:createAssignmentForm();">Create Assignment</a>
- <table id="assignmentslist">
- </table>
-
- </ui-area>
-
- <!--<ui-resizehandle data-belongs-to-tab="cutter" data-label="drag to resize" ></ui-resizehandle>-->
-
- <ui-area data-belongs-to-tab="assignment" id="detailcolumn4" class="inactive">
- <div id="assignment_details" class="x-ui-layout" style="display: none; padding: 10px">
- <!--
- Create new Link (die spalten werden aus dem namen aufgebaut das zb. nur System und Bauart ausgewählt werden können)
- <table>
- <tr>
- <th>Station</th>
- <th>Produktbereich</th>
- <th>System</th>
- <th>Produktkategorie</th>
- <th>Bauart</th>
- <th>Zylinderlänge außen</th>
- <th>...</th>
- </tr>
- <tr>
- <td>[ ] Station1</td>
- <td>[ ] E</td>
- <td>[ ] X</td>
- <td>[ ] PZ</td>
- <td>[ ] KZ-S</td>
- <td>[ ] 31</td>
- <td>...</td>
- </tr>
- <tr>
- <td>[ ] Station2</td>
- <td></td>
- <td></td>
- <td></td>
- <td>[ ] RKZ-S</td>
- <td>[ ] 36</td>
- <td>...</td>
- </tr>
- <tr>
- <td>[ ] Station3</td>
- <td></td>
- <td></td>
- <td></td>
- <td>[ ] HZ-S</td>
- <td>[ ] 41</td>
- <td>...</td>
- </tr>
- <tr>
- <td>[ ] Station4</td>
- <td></td>
- <td></td>
- <td></td>
- <td>[ ] RHZ-S</td>
- <td>[ ] 46</td>
- <td>...</td>
- </tr>
- </table>
- -->
-
-
- <h1>Assignments</h1>
- <div id="storedassignments">
-
- <template id="singleassignment">
- <tr >
- <td > </td>
- <td data-class='station'></td>
- <td data-class='item'></td>
- <!--<td data-class='duplicate' class="stationAction"><a href=''>⎘</a></td>-->
- <td data-class='delete' class="assignmentAction"><a href=''>[⨯]</a></td>
- </tr>
- </template>
-
- <table id="assignmentdetaillist">
- </table>
-
- </div>
-
-
- <h1>New Assignment</h1>
- <form id="assignmentform" onsubmit="submitAssignment()">
- <input type="text" class="abbreviationInput width100 url" name="externalImage" id="addExternalImageAssignment">
- <a href="#" id="assignmentLupe" onclick="overlayOn($(this), 'assigment');">🔍</a>
- <div class="wasGroup" data-class="mainDiv">
- <div data-class="description" class="wasLeft">
- <span data-class="Name">Station</span>
- </div>
- <div class="wasRight">
- <select name="station" id="assignmentstation"></select>
- </div>
- </div>
-
-
- <div id="FormPatternAssignment">
-
- </div>
-
-
- <div class="wasGroup" data-class="mainDiv">
- <div data-class="description" class="wasLeft">
- <span data-class="Name">Text</span>
- </div>
- <div class="wasRight">
- <input data-class="input" id="assignmentText" type="text" maxlength="4" size="4" value="">
- </div>
- </div>
-
- <input class="width100" type="submit" value="Save Assignment">
- </form>
- </div>
- </ui-area>
-
-
-
-
-
- <!---
- <ui-area data-belongs-to-tab="patternAlignment" class="inactive">
- aa [Model, OutsideCyl, InsideCyl]
-
-
-
-
- </ui-area>
-
-
- <ui-area data-belongs-to-tab="patternAlignment" id="detailcolumn3" class="inactive">
- --->
-
- </ui-content>
- </ui-rest>
-
- <div id="overlay" onclick="overlayOff()">
- <div id="overlaycontentsize"></div>
- </div>
- <div id="overlayNotClickable">
- <div id="overlaycontentsizeNotClickable"></div>
- </div>
- </body>
- </html>
|