123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- <!--
- 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"/>
- <script type="text/javascript" src="js/design.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="amount" >Amount</ui-tab>
- <ui-tab class="inactive" data-tab="production">Production</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)">[+]</a>
- </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 data-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>
- </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">
- <input type="text" class="abbreviationInput width100 url" data-class='url' name="abbreviationInput">
- <a href="#" onclick="overlayOn($(this));">🔍</a>
- </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>
-
- <div id="overlay" onclick="overlayOff()">
- <div id="overlaycontentsize"></div>
- </div>
-
- </ui-area>
- <ui-area data-belongs-to-tab="amount" class="inactive">
- </ui-area>
- <ui-area data-belongs-to-tab="production" class="inactive">
- </ui-area>
- </ui-content>
- </ui-rest>
-
- </body>
- </html>
|