├── LICENSE ├── README.md └── Source ├── Escpos ├── CapabilityProfiles │ ├── AbstractCapabilityProfile.php │ ├── DefaultCapabilityProfile.php │ ├── EposTepCapabilityProfile.php │ ├── P822DCapabilityProfile.php │ ├── SimpleCapabilityProfile.php │ └── StarCapabilityProfile.php ├── CodePage.php ├── EscposImage.php ├── GdEscposImage.php ├── ImagickEscposImage.php ├── NativeEscposImage.php ├── PrintBuffers │ ├── EscposPrintBuffer.php │ ├── ImagePrintBuffer.php │ ├── PrintBuffer.php │ └── cache │ │ ├── Characters-DefaultCapabilityProfile.ser.z │ │ ├── Characters-EposTepCapabilityProfile.ser.z │ │ ├── Characters-P822DCapabilityProfile.ser.z │ │ ├── Characters-SimpleCapabilityProfile.ser.z │ │ └── Characters-StarCapabilityProfile.ser.z ├── PrintConnectors │ ├── CupsPrintConnector.php │ ├── DummyPrintConnector.php │ ├── FilePrintConnector.php │ ├── NetworkPrintConnector.php │ ├── PrintConnector.php │ └── WindowsPrintConnector.php ├── Printer.php └── autoload.php ├── css ├── defaultSelect2Theme │ ├── _multiple.scss │ ├── _single.scss │ └── layout.scss ├── images │ ├── loading_large.gif │ ├── ui-bg_glass_75_d0e5f5_1x400.png │ ├── ui-bg_glass_85_dfeffc_1x400.png │ ├── ui-bg_glass_95_fef1ec_1x400.png │ ├── ui-bg_gloss-wave_55_5c9ccc_500x100.png │ ├── ui-bg_inset-hard_100_f5f8f9_1x100.png │ ├── ui-bg_inset-hard_100_fcfdfd_1x100.png │ ├── ui-icons_217bc0_256x240.png │ ├── ui-icons_2e83ff_256x240.png │ ├── ui-icons_469bdd_256x240.png │ ├── ui-icons_6da8d5_256x240.png │ ├── ui-icons_cd0a0a_256x240.png │ ├── ui-icons_d8e7f3_256x240.png │ └── ui-icons_f9bd01_256x240.png ├── jTable │ ├── basic │ │ ├── close.png │ │ ├── column-asc.png │ │ ├── column-desc.png │ │ ├── column-sortable.png │ │ ├── delete.png │ │ ├── edit.png │ │ ├── jtable_basic.css │ │ ├── jtable_basic.less │ │ └── jtable_basic.min.css │ ├── jqueryui │ │ ├── add.png │ │ ├── bg-thead.png │ │ ├── close.png │ │ ├── column-asc.png │ │ ├── column-desc.png │ │ ├── column-sortable.png │ │ ├── delete.png │ │ ├── edit.png │ │ ├── jtable_jqueryui.css │ │ ├── jtable_jqueryui.less │ │ ├── jtable_jqueryui.min.css │ │ └── loading.gif │ ├── jtable_theme_base.less │ ├── lightcolor │ │ ├── add.png │ │ ├── bg-thead.png │ │ ├── blue │ │ │ ├── jtable.css │ │ │ ├── jtable.less │ │ │ ├── jtable.min.css │ │ │ └── loading.gif │ │ ├── close.png │ │ ├── column-asc.png │ │ ├── column-desc.png │ │ ├── column-sortable.png │ │ ├── delete.png │ │ ├── edit.png │ │ ├── gray │ │ │ ├── jtable.css │ │ │ ├── jtable.less │ │ │ ├── jtable.min.css │ │ │ └── loading.gif │ │ ├── green │ │ │ ├── jtable.css │ │ │ ├── jtable.less │ │ │ ├── jtable.min.css │ │ │ └── loading.gif │ │ ├── jtable_lightcolor_base.less │ │ ├── orange │ │ │ ├── jtable.css │ │ │ ├── jtable.less │ │ │ ├── jtable.min.css │ │ │ └── loading.gif │ │ └── red │ │ │ ├── jtable.css │ │ │ ├── jtable.less │ │ │ ├── jtable.min.css │ │ │ └── loading.gif │ └── metro │ │ ├── add.png │ │ ├── blue │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ ├── brown │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ ├── close.png │ │ ├── column-asc.png │ │ ├── column-desc.png │ │ ├── column-sortable.png │ │ ├── crimson │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ ├── darkgray │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ ├── darkorange │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ ├── delete.png │ │ ├── edit.png │ │ ├── green │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ ├── jtable_metro_base.css │ │ ├── jtable_metro_base.less │ │ ├── jtable_metro_base.min.css │ │ ├── lightgray │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ ├── pink │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ ├── purple │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif │ │ └── red │ │ ├── jtable.css │ │ ├── jtable.less │ │ ├── jtable.min.css │ │ └── loading.gif ├── jquery-ui-timepicker-addon.css ├── jquery-ui.css ├── jquery-ui.min.css ├── jquery-ui.structure.css ├── jquery-ui.structure.min.css ├── jquery-ui.theme.css ├── jquery-ui.theme.min.css ├── keyboard.css ├── keyboard.min.css ├── menuTicket.css ├── posButtons.css ├── posTerminal.css └── validationEngine.jquery.css ├── index.html ├── js ├── jquery-ui-timepicker-addon.js ├── jquery-ui.js ├── jquery-ui.min.js ├── jquery.js ├── jquery.jtable.js ├── jquery.keyboard.js ├── jquery.keyboard.min.js ├── jquery.validationEngine-en.js ├── jquery.validationEngine.js ├── jsTree │ ├── intro.js │ ├── jstree.changed.js │ ├── jstree.checkbox.js │ ├── jstree.conditionalselect.js │ ├── jstree.contextmenu.js │ ├── jstree.dnd.js │ ├── jstree.js │ ├── jstree.massload.js │ ├── jstree.min.js │ ├── jstree.search.js │ ├── jstree.sort.js │ ├── jstree.state.js │ ├── jstree.types.js │ ├── jstree.unique.js │ ├── jstree.wholerow.js │ ├── misc.js │ ├── outro.js │ ├── sample.js │ ├── themes │ │ ├── base.less │ │ ├── default-dark │ │ │ ├── 32px.png │ │ │ ├── 40px.png │ │ │ ├── style.css │ │ │ ├── style.less │ │ │ └── throbber.gif │ │ ├── default │ │ │ ├── 32px.png │ │ │ ├── 40px.png │ │ │ ├── style.css │ │ │ ├── style.less │ │ │ └── throbber.gif │ │ ├── main.less │ │ ├── mixins.less │ │ └── responsive.less │ └── vakata-jstree.js ├── menuData.js ├── posAddDropVendorEdit.js ├── posAddDropVendorMgr.js ├── posCashTender.js ├── posCloseReport.js ├── posCloseTillMgr.js ├── posCustomerInputMgr.js ├── posCustomerMgr.js ├── posCustomerSelectMgr.js ├── posDiscountMgr.js ├── posEmployeeMgr.js ├── posKeyboard.js ├── posMainMgr.js ├── posManagerMgr.js ├── posMenuOrderMgr.js ├── posMenuSetupMgr.js ├── posMenuTicketMenuMgr.js ├── posMenuTicketMgr.js ├── posNotInMenuMgr.js ├── posOpenTillMgr.js ├── posOptionsMgr.js ├── posOrderCommentsMgr.js ├── posPaymentMgr.js ├── posProductMgr.js ├── posPushMessages.js ├── posReportMgr.js ├── posTerminal.js ├── posVerifyMgrApproval.js ├── posViewOrderDetailMgr.js ├── posViewOrderEditMgr.js ├── posViewOrdersMgr.js └── sha1.js ├── license.txt ├── pages ├── posAddDropVendorEdit.html ├── posCustomerManager.html ├── posCustomerSelect.html ├── posEmployeeManager.html ├── posMain.html ├── posManager.html ├── posMenuDiscount.html ├── posMenuOrder.html ├── posMenuSetupManager.html ├── posMenuTicket.html ├── posMenuTicketMenu.html ├── posOptionsManager.html ├── posPayment.html ├── posProductManager.html └── posViewOrderManager.html └── scripts ├── TicketPrinter.php ├── archiveDB.php ├── backupDatabases.php ├── backupProgramsToCloud.php ├── backupToCloud.php ├── cashDrawerOpen.bat ├── connectPOS.php ├── createDBs.php ├── customerTable.php ├── desktop.ini ├── employeeTable.php ├── logMessages.php ├── menuTreeActions.php ├── messageManager.php ├── optionsTable.php ├── orderProcessor.php ├── posCloseReport.php ├── posCloseReportPrint.php ├── posTillReportPrint.php ├── printOrder.php ├── productsTable.php ├── reportProcessor.php ├── restoreDatabase.php ├── sampleDBs.php ├── sampleUpdatedDB.php ├── tillManager.php └── tillUsesTable.php /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 PatONeil 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # POS-Terminal 2 | A php, MySQL and Browser implementation of a Point of Sale Terminal 3 | 4 | This POS System is designed for small businesses that want a simple Point of Sale(POS) system. 5 | It is licensed under the terms of the MIT License http://www.opensource.org/licenses/mit-license.php 6 | 7 | It does not do: 8 | - Inventory management although it can track product sales 9 | - time keeping or track tips for employees 10 | - support an integrated credit card reader although it tracks credit card sales. 11 | 12 | It's primary purpose is to provide a simple low cost, high preformance implementation 13 | of a touch screen point of sale terminal and keep track of cash and credit card sales. 14 | 15 | The implementation uses PHP, MySQL and a browser. It is designed for a 1024x768 screen but 16 | is automatically scaled to any screen size in the browser. It can be used from a browser 17 | on a tablet or smart phone however its usability is limited by screen size. 18 | 19 | The report feature provides reports of sales by hour and sales by tracking product 20 | for various time periods and a summary of sales for the last 30 days. Someone familiar 21 | with MySQL could easily add additional reports specific to your company needs. 22 | 23 | It uses the following software packages: jQuery, jQuery-ui, js-tree, jtable, 24 | jQuery-ui timepicker addon, jQuery Validation Engine and escpos for ticket printing. 25 | 26 | While the server can be located a separate system, it is possible to implement 27 | both the server and client (chrome for example) on a POS terminal. 28 | 29 | The implementation is relatively simple: 30 | - Download the code from this web site. 31 | - Install PHP and MySQL on your server. 32 | - Modify connectPOS.php to connect to your database. 33 | - Create the POS database and associated tables using supplied script (createDB.php) 34 | - Start your server and enter the web address of POS folder in your browser. 35 | - Login to the management console using user=Admin and password=123456. 36 | - Enter your company name and other options from the management console 37 | - Enter your employees from the management console. 38 | - Enter the products you want to track from the management console. 39 | - Define the menu structure for your business from the management console 40 | 41 | A sample database is provided which can be loaded using sampleDB.php script. 42 | 43 | The sample system can be seen on http://www.pjoneil.net/POS It is refreshed daily so you are free to try changes you want thru the management console. 44 | -------------------------------------------------------------------------------- /Source/Escpos/CapabilityProfiles/AbstractCapabilityProfile.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\CapabilityProfiles; 14 | 15 | /** 16 | * Not all printers support the same subset of available Esc/POS commands. Profiles allow you to specify 17 | * which features are available on your printer, so that Escpos is less likely to send unsupported commands. 18 | */ 19 | abstract class AbstractCapabilityProfile 20 | { 21 | /** 22 | * Sub-classes must be retrieved via getInstance(), so that validation 23 | * can be attached to guarantee that dud profiles are not used on an Escpos object. 24 | */ 25 | final protected function __construct() 26 | { 27 | // This space intentionally left blank. 28 | } 29 | 30 | /** 31 | * If getSupportedCodePages contains custom code pages, their character maps must be provided here. 32 | */ 33 | abstract public function getCustomCodePages(); 34 | 35 | /** 36 | * Return a map of code page numbers to names for this printer. Names 37 | * should match iconv code page names where possible (non-matching names will not be used). 38 | */ 39 | abstract public function getSupportedCodePages(); 40 | 41 | /** 42 | * True to support barcode "function b", false to use only function A. 43 | */ 44 | abstract public function getSupportsBarcodeB(); 45 | 46 | /** 47 | * True for bitImage support, false for no bitImage support. 48 | */ 49 | abstract public function getSupportsBitImage(); 50 | 51 | /** 52 | * True for graphics support, false for no graphics support. 53 | */ 54 | abstract public function getSupportsGraphics(); 55 | 56 | /** 57 | * True for 'STAR original' commands, false for standard ESC/POS only. 58 | */ 59 | abstract public function getSupportsStarCommands(); 60 | 61 | /** 62 | * True if the printer renders its own QR codes, false to send an image. 63 | */ 64 | abstract public function getSupportsQrCode(); 65 | 66 | /** 67 | * True if printer renders its own PDF417 codes, false to send images 68 | */ 69 | abstract public function getSupportsPdf417Code(); 70 | 71 | /** 72 | * @return AbstractCapabilityProfile Instance of sub-class. 73 | */ 74 | final public static function getInstance() 75 | { 76 | static $profile = array(); 77 | $context = get_called_class(); 78 | if (!isset($profile[$context])) { 79 | $profile[$context] = new static(); 80 | } 81 | return $profile[$context]; 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /Source/Escpos/CapabilityProfiles/EposTepCapabilityProfile.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\CapabilityProfiles; 14 | 15 | class EposTepCapabilityProfile extends DefaultCapabilityProfile 16 | { 17 | // TODO override list of code pages 18 | } 19 | -------------------------------------------------------------------------------- /Source/Escpos/CapabilityProfiles/P822DCapabilityProfile.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\CapabilityProfiles; 14 | 15 | use Escpos\CodePage; 16 | 17 | /** 18 | * This capability profile is designed for the P-822D. 19 | * 20 | * See 21 | * https://github.com/mike42/escpos-php/issues/50 22 | */ 23 | class P822DCapabilityProfile extends DefaultCapabilityProfile 24 | { 25 | /** 26 | * Map of numbers to supported iconv code page names. 27 | */ 28 | public function getSupportedCodePages() 29 | { 30 | return array( 31 | 0 => CodePage::CP437, 32 | 1 => false, // Katakana 33 | 2 => CodePage::CP850, 34 | 3 => CodePage::CP860, 35 | 4 => CodePage::CP863, 36 | 5 => CodePage::CP865, 37 | 6 => false, // Western Europe 38 | 7 => false, // Greek 39 | 8 => false, // Hebrew 40 | 9 => false, // Eastern europe 41 | 10 => false, // Iran 42 | 16 => CodePage::CP1252 , 43 | 17 => CodePage::CP866 , 44 | 18 => CodePage::CP852 , 45 | 19 => CodePage::CP858, 46 | 20 => false, // Iran II 47 | 21 => false, // latvian 48 | 22 => false, //Arabic 49 | 23 => false, // PT151, 1251 50 | 24 => CodePage::CP747, 51 | 25 => CodePage::CP1257, 52 | 27 => false, // Vietnam, 53 | 28 => CodePage::CP864, 54 | 29 => CodePage::CP1001, 55 | 30 => false, // Uigur 56 | 31 => false, // Hebrew 57 | 32 => CodePage::CP1255, 58 | 33 => CodePage::CP720, 59 | 34 => CodePage::CP1256, 60 | 35 => CodePage::CP1257, 61 | 255 => false, // Thai 62 | 63 | 50 => CodePage::CP437, 64 | 51 => false, // Jatakana, 65 | 52 => CodePage::CP437, 66 | 53 => CodePage::CP858, 67 | 54 => CodePage::CP852, 68 | 55 => CodePage::CP860, 69 | 56 => CodePage::CP861, 70 | 57 => CodePage::CP863, 71 | 58 => CodePage::CP865, 72 | 59 => CodePage::CP866, 73 | 60 => CodePage::CP855, 74 | 61 => CodePage::CP857, 75 | 62 => CodePage::CP862, 76 | 63 => CodePage::CP864, 77 | 64 => CodePage::CP737, 78 | 65 => CodePage::CP851, 79 | 66 => CodePage::CP869, 80 | 67 => CodePage::CP928, 81 | 68 => CodePage::CP772, 82 | 69 => CodePage::CP774, 83 | 70 => CodePage::CP874, 84 | 71 => CodePage::CP1252, 85 | 72 => CodePage::CP1250, 86 | 73 => CodePage::CP1251, 87 | 74 => CodePage::CP3840, 88 | 75 => CodePage::CP3841, 89 | 76 => CodePage::CP3843, 90 | 77 => CodePage::CP3844, 91 | 78 => CodePage::CP3845, 92 | 79 => CodePage::CP3846, 93 | 80 => CodePage::CP3847, 94 | 81 => CodePage::CP3848, 95 | 82 => CodePage::CP1001, 96 | 83 => CodePage::CP2001, 97 | 84 => CodePage::CP3001, 98 | 85 => CodePage::CP3002, 99 | 86 => CodePage::CP3011, 100 | 87 => CodePage::CP3012, 101 | 88 => CodePage::CP3021, 102 | 89 => CodePage::CP3041 103 | ); 104 | } 105 | 106 | /** 107 | * Return true if graphics commands are supported, false if not. 108 | */ 109 | public function getSupportsGraphics() 110 | { 111 | /* Ask the driver to use bitImage wherever possible instead of graphics */ 112 | return false; 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /Source/Escpos/CapabilityProfiles/SimpleCapabilityProfile.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\CapabilityProfiles; 14 | 15 | use Escpos\CodePage; 16 | 17 | /** 18 | * This capability profile is designed for non-Epson printers sold online. Without knowing 19 | * their character encoding table, only CP437 output is assumed, and graphics() calls will 20 | * be disabled, as it usually prints junk on these models. 21 | */ 22 | class SimpleCapabilityProfile extends DefaultCapabilityProfile 23 | { 24 | /** 25 | * Map of numbers to supported code pages. 26 | */ 27 | public function getSupportedCodePages() 28 | { 29 | /* Use only CP437 output */ 30 | return array(0 => CodePage::CP437); 31 | } 32 | 33 | /** 34 | * True for PDF417 code support, false if not support. 35 | */ 36 | public function getSupportsPdf417Code() 37 | { 38 | return false; 39 | } 40 | 41 | /** 42 | * True for graphics support, false if not supported. 43 | */ 44 | public function getSupportsGraphics() 45 | { 46 | /* Ask the driver to use bitImage wherever possible instead of graphics */ 47 | return false; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Source/Escpos/CapabilityProfiles/StarCapabilityProfile.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\CapabilityProfiles; 14 | 15 | use Escpos\CodePage; 16 | 17 | /** 18 | * Profile for Star-branded printers. 19 | */ 20 | class StarCapabilityProfile extends DefaultCapabilityProfile 21 | { 22 | /** 23 | * List of custom code pages. 24 | */ 25 | public function getCustomCodePages() 26 | { 27 | // Code table reference: http://www.starmicronics.com/support/mannualfolder/sp2000pm.pdf 28 | return array( 29 | 'CP3011' => "ÇüéâäàåçêëèïîìÄÅ" . 30 | "ÉæÆôöòûùÿÖÜ¢£¥₧ƒ" . 31 | "áíóúñѪº¿⌐¬½¼¡«»" . 32 | "░▒▓│┤Ā╢ņ╕╣║╗╝╜╛┐" . 33 | "└┴┬├─┼ā╟╚╔╩╦╠═╬╧" . 34 | "Š╤čČ╘╒ģĪī┘┌█▄ūŪ▀" . 35 | "αßΓπΣσµτΦΘΩδ∞φε∩" . 36 | "ĒēĢķĶļĻžŽ∙·√Ņš■ ", 37 | 'CP3012' => "АБВГДЕЖЗИЙКЛМНОП" . 38 | "РСТУФХЦЧШЩЪЫЬЭЮЯ" . 39 | "абвгдежзийклмноп" . 40 | "░▒▓│┤Ā╢ņ╕╣║╗╝Ō╛┐" . 41 | "└┴┬├─┼ā╟╚╔╩╦╠═╬╧" . 42 | "Š╤čČ╘╒ģĪī┘┌█▄ūŪ▀" . 43 | "рстуфхцчшщъыьэюя" . 44 | "ĒēĢķĶļĻžŽ∙·√Ņš■ " 45 | ); 46 | } 47 | 48 | /** 49 | * Return map of numbers to supported code page names. 50 | */ 51 | public function getSupportedCodePages() 52 | { 53 | return array( 54 | 0 => CodePage::CP437, // "Normal" 55 | 1 => CodePage::CP437, 56 | 2 => CodePage::CP932, 57 | 3 => CodePage::CP437, 58 | 4 => CodePage::CP858, 59 | 5 => CodePage::CP852, 60 | 6 => CodePage::CP860, 61 | 7 => CodePage::CP861, 62 | 8 => CodePage::CP863, 63 | 9 => CodePage::CP865, 64 | 10 => CodePage::CP866, 65 | 11 => CodePage::CP855, 66 | 12 => CodePage::CP857, 67 | 13 => CodePage::CP862, 68 | 14 => CodePage::CP864, 69 | 15 => CodePage::CP737, 70 | 16 => CodePage::CP851, 71 | 17 => CodePage::CP869, 72 | 18 => CodePage::CP928, 73 | 19 => CodePage::CP772, 74 | 20 => CodePage::CP774, 75 | 21 => CodePage::CP874, 76 | 32 => CodePage::CP1252, 77 | 33 => CodePage::CP1250, 78 | 34 => CodePage::CP1251, 79 | 64 => CodePage::CP3840, 80 | 65 => CodePage::CP3841, 81 | 66 => CodePage::CP3843, 82 | 67 => CodePage::CP3844, 83 | 68 => CodePage::CP3845, 84 | 69 => CodePage::CP3846, 85 | 70 => CodePage::CP3847, 86 | 71 => CodePage::CP3848, 87 | 72 => CodePage::CP1001, 88 | 73 => CodePage::CP2001, 89 | 74 => CodePage::CP3001, 90 | 75 => CodePage::CP3002, 91 | 76 => 'custom:CP3011', 92 | 77 => 'custom:CP3012', 93 | 78 => CodePage::CP3021, 94 | 79 => CodePage::CP3041, 95 | 96 => false, // Thai Character Code 42 96 | 97 => false, // Thai Character Code 11 97 | 98 => false, // Thai Character Code 13 98 | 99 => false, // Thai Character Code 14 99 | 100 => false, // Thai Character Code 16 100 | 101 => false, // Thai Character Code 17 101 | 102 => false, // Thai Character Code 18 102 | 255 => false); 103 | } 104 | 105 | /** 106 | * True for Star command extensions, false if not supported. 107 | */ 108 | public function getSupportsStarCommands() 109 | { 110 | /* Allows Escpos.php to substitute emulated ESC/POS commands with native ones for this printer. */ 111 | return true; 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /Source/Escpos/GdEscposImage.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos; 14 | 15 | use Escpos\EscposImage; 16 | use Exception; 17 | 18 | /** 19 | * Implementation of EscposImage using the GD PHP plugin. 20 | */ 21 | class GdEscposImage extends EscposImage 22 | { 23 | /** 24 | * Load an image from disk, into memory, using GD. 25 | * 26 | * @param string $filename The filename to load from 27 | * @throws Exception if the image format is not supported, 28 | * or the file cannot be opened. 29 | */ 30 | protected function loadImageData($filename = null) 31 | { 32 | if ($filename === null) { 33 | /* Set to blank image */ 34 | return parent::loadImageData($filename); 35 | } 36 | 37 | $ext = pathinfo($filename, PATHINFO_EXTENSION); 38 | switch ($ext) { 39 | case "png": 40 | $im = @imagecreatefrompng($filename); 41 | break; 42 | case "jpg": 43 | $im = @imagecreatefromjpeg($filename); 44 | break; 45 | case "gif": 46 | $im = @imagecreatefromgif($filename); 47 | break; 48 | default: 49 | throw new Exception("Image format not supported in GD"); 50 | } 51 | $this -> readImageFromGdResource($im); 52 | } 53 | 54 | /** 55 | * Load actual image pixels from GD resource. 56 | * 57 | * @param resource $im GD resource to use 58 | * @throws Exception Where the image can't be read. 59 | */ 60 | public function readImageFromGdResource($im) 61 | { 62 | if (!is_resource($im)) { 63 | throw new Exception("Failed to load image."); 64 | } elseif (!EscposImage::isGdLoaded()) { 65 | throw new Exception(__FUNCTION__ . " requires 'gd' extension."); 66 | } 67 | /* Make a string of 1's and 0's */ 68 | $imgHeight = imagesy($im); 69 | $imgWidth = imagesx($im); 70 | $imgData = str_repeat("\0", $imgHeight * $imgWidth); 71 | for ($y = 0; $y < $imgHeight; $y++) { 72 | for ($x = 0; $x < $imgWidth; $x++) { 73 | /* Faster to average channels, blend alpha and negate the image here than via filters (tested!) */ 74 | $cols = imagecolorsforindex($im, imagecolorat($im, $x, $y)); 75 | // 1 for white, 0 for black, ignoring transparency 76 | $greyness = (int)(($cols['red'] + $cols['green'] + $cols['blue']) / 3) >> 7; 77 | // 1 for black, 0 for white, taking into account transparency 78 | $black = (1 - $greyness) >> ($cols['alpha'] >> 6); 79 | $imgData[$y * $imgWidth + $x] = $black; 80 | } 81 | } 82 | $this -> setImgWidth($imgWidth); 83 | $this -> setImgHeight($imgHeight); 84 | $this -> setImgData($imgData); 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /Source/Escpos/NativeEscposImage.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos; 14 | 15 | use Escpos\EscposImage; 16 | 17 | /** 18 | * Implementation of EscposImage using only native PHP. 19 | * TODO: wbmp, pbm, bmp files. 20 | */ 21 | class NativeEscposImage extends EscposImage 22 | { 23 | 24 | } 25 | -------------------------------------------------------------------------------- /Source/Escpos/PrintBuffers/ImagePrintBuffer.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\PrintBuffers; 14 | 15 | use Exception; 16 | use LogicException; 17 | use Escpos\Printer; 18 | use Escpos\EscposImage; 19 | use Escpos\ImagickEscposImage; 20 | 21 | /** 22 | * This class renders text to small images on-the-fly. It attempts to mimic the 23 | * behaviour of text output, whilst supporting any fonts & character encodings 24 | * which your system can handle. This class currently requires Imagick. 25 | */ 26 | class ImagePrintBuffer implements PrintBuffer 27 | { 28 | private $printer; 29 | 30 | private $font; 31 | 32 | private $fontSize; 33 | 34 | public function __construct() 35 | { 36 | if (!EscposImage::isImagickLoaded()) { 37 | throw new Exception("ImagePrintBuffer requires the imagick extension"); 38 | } 39 | $this -> font = null; 40 | $this -> fontSize = 24; 41 | } 42 | 43 | public function flush() 44 | { 45 | if ($this -> printer == null) { 46 | throw new LogicException("Not attached to a printer."); 47 | } 48 | } 49 | 50 | public function getPrinter() 51 | { 52 | return $this -> printer; 53 | } 54 | 55 | public function setPrinter(Printer $printer = null) 56 | { 57 | $this -> printer = $printer; 58 | } 59 | 60 | public function writeText($text) 61 | { 62 | if ($this -> printer == null) { 63 | throw new LogicException("Not attached to a printer."); 64 | } 65 | if ($text == null) { 66 | return; 67 | } 68 | $text = trim($text, "\n"); 69 | /* Create Imagick objects */ 70 | $image = new \Imagick(); 71 | $draw = new \ImagickDraw(); 72 | $color = new \ImagickPixel('#000000'); 73 | $background = new \ImagickPixel('white'); 74 | 75 | /* Create annotation */ 76 | if ($this->font !== null) { 77 | // Allow fallback on defaults as necessary 78 | $draw->setFont($this->font); 79 | } 80 | /* In Arial, size 21 looks good as a substitute for FONT_B, 24 for FONT_A */ 81 | $draw -> setFontSize($this -> fontSize); 82 | $draw -> setFillColor($color); 83 | $draw -> setStrokeAntialias(true); 84 | $draw -> setTextAntialias(true); 85 | $metrics = $image -> queryFontMetrics($draw, $text); 86 | $draw -> annotation(0, $metrics['ascender'], $text); 87 | 88 | /* Create image & draw annotation on it */ 89 | $image -> newImage($metrics['textWidth'], $metrics['textHeight'], $background); 90 | $image -> setImageFormat('png'); 91 | $image -> drawImage($draw); 92 | // debugging if you want to view the images yourself 93 | //$image -> writeImage("test.png"); 94 | 95 | /* Save image */ 96 | $escposImage = new ImagickEscposImage(); 97 | $escposImage -> readImageFromImagick($image); 98 | $size = Printer::IMG_DEFAULT; 99 | $this -> printer -> bitImage($escposImage, $size); 100 | } 101 | 102 | public function writeTextRaw($text) 103 | { 104 | if ($this -> printer == null) { 105 | throw new LogicException("Not attached to a printer."); 106 | } 107 | $this -> printer -> getPrintConnector() -> write($data); 108 | } 109 | 110 | /** 111 | * Set path on disk to TTF font that will be used to render text to image, 112 | * or 'null' to use a default. 113 | * 114 | * ImageMagick will also accept a font name, but this will not port as well 115 | * between systems. 116 | * 117 | * @param string $font 118 | * Font name or a filename 119 | */ 120 | public function setFont($font) 121 | { 122 | $this->font = $font; 123 | } 124 | 125 | /** 126 | * Numeric font size for rendering text to image 127 | */ 128 | public function setFontSize($fontSize) 129 | { 130 | $this->fontSize = $fontSize; 131 | } 132 | } 133 | -------------------------------------------------------------------------------- /Source/Escpos/PrintBuffers/PrintBuffer.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\PrintBuffers; 14 | 15 | use Escpos\Printer; 16 | 17 | /** 18 | * Print buffers manage newlines and character encoding for the target printer. 19 | * They are used as a swappable component: text or image-based output. 20 | * 21 | * - Text output (EscposPrintBuffer) is the fast default, and is recommended for 22 | * most people, as the text output can be more directly manipulated by ESC/POS 23 | * commands. 24 | * - Image output (ImagePrintBuffer) is designed to accept more encodings than the 25 | * physical printer supports, by rendering the text to small images on-the-fly. 26 | * This takes a lot more CPU than sending text, but is necessary for some users. 27 | * - If your use case fits outside these, then a further speed/flexibility trade-off 28 | * can be made by printing directly from generated HTML or PDF. 29 | */ 30 | interface PrintBuffer 31 | { 32 | /** 33 | * Cause the buffer to send any partial input and wait on a newline. 34 | * If the printer is already on a new line, this does nothing. 35 | */ 36 | public function flush(); 37 | 38 | /** 39 | * Used by Escpos to check if a printer is set. 40 | */ 41 | public function getPrinter(); 42 | 43 | /** 44 | * Used by Escpos to hook up one-to-one link between buffers and printers. 45 | * 46 | * @param Escpos $printer New printer 47 | */ 48 | public function setPrinter(Printer $printer = null); 49 | 50 | /** 51 | * Accept UTF-8 text for printing. 52 | * 53 | * @param string $text Text to print 54 | */ 55 | public function writeText($text); 56 | 57 | /** 58 | * Accept 8-bit text in the current encoding and add it to the buffer. 59 | * 60 | * @param string $text Text to print, already the target encoding. 61 | */ 62 | public function writeTextRaw($text); 63 | } 64 | -------------------------------------------------------------------------------- /Source/Escpos/PrintBuffers/cache/Characters-DefaultCapabilityProfile.ser.z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/Escpos/PrintBuffers/cache/Characters-DefaultCapabilityProfile.ser.z -------------------------------------------------------------------------------- /Source/Escpos/PrintBuffers/cache/Characters-EposTepCapabilityProfile.ser.z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/Escpos/PrintBuffers/cache/Characters-EposTepCapabilityProfile.ser.z -------------------------------------------------------------------------------- /Source/Escpos/PrintBuffers/cache/Characters-P822DCapabilityProfile.ser.z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/Escpos/PrintBuffers/cache/Characters-P822DCapabilityProfile.ser.z -------------------------------------------------------------------------------- /Source/Escpos/PrintBuffers/cache/Characters-SimpleCapabilityProfile.ser.z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/Escpos/PrintBuffers/cache/Characters-SimpleCapabilityProfile.ser.z -------------------------------------------------------------------------------- /Source/Escpos/PrintBuffers/cache/Characters-StarCapabilityProfile.ser.z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/Escpos/PrintBuffers/cache/Characters-StarCapabilityProfile.ser.z -------------------------------------------------------------------------------- /Source/Escpos/PrintConnectors/DummyPrintConnector.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\PrintConnectors; 14 | 15 | /** 16 | * Print connector that writes to nowhere, but allows the user to retrieve the 17 | * buffered data. Used for testing. 18 | */ 19 | final class DummyPrintConnector implements PrintConnector 20 | { 21 | /** 22 | * @var array $buffer 23 | * Buffer of accumilated data. 24 | */ 25 | private $buffer; 26 | 27 | /** 28 | * @var string data which the printer will provide on next read 29 | */ 30 | private $readData; 31 | 32 | /** 33 | * Create new print connector 34 | */ 35 | public function __construct() 36 | { 37 | $this -> buffer = array(); 38 | } 39 | 40 | public function __destruct() 41 | { 42 | if ($this -> buffer !== null) { 43 | trigger_error("Print connector was not finalized. Did you forget to close the printer?", E_USER_NOTICE); 44 | } 45 | } 46 | 47 | public function finalize() 48 | { 49 | $this -> buffer = null; 50 | } 51 | 52 | /** 53 | * @return string Get the accumulated data that has been sent to this buffer. 54 | */ 55 | public function getData() 56 | { 57 | return implode($this -> buffer); 58 | } 59 | 60 | /** 61 | * {@inheritDoc} 62 | * @see PrintConnector::read() 63 | */ 64 | public function read($len) 65 | { 66 | return $len >= strlen($this -> readData) ? $this -> readData : substr($this -> readData, 0, $len); 67 | } 68 | 69 | public function write($data) 70 | { 71 | $this -> buffer[] = $data; 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /Source/Escpos/PrintConnectors/FilePrintConnector.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\PrintConnectors; 14 | 15 | use Exception; 16 | 17 | /** 18 | * PrintConnector for passing print data to a file. 19 | */ 20 | class FilePrintConnector implements PrintConnector 21 | { 22 | /** 23 | * @var resource $fp 24 | * The file pointer to send data to. 25 | */ 26 | protected $fp; 27 | 28 | /** 29 | * Construct new connector, given a filename 30 | * 31 | * @param string $filename 32 | */ 33 | public function __construct($filename) 34 | { 35 | $this -> fp = fopen($filename, "wb+"); 36 | if ($this -> fp === false) { 37 | throw new Exception("Cannot initialise FilePrintConnector."); 38 | } 39 | } 40 | 41 | public function __destruct() 42 | { 43 | if ($this -> fp !== false) { 44 | trigger_error("Print connector was not finalized. Did you forget to close the printer?", E_USER_NOTICE); 45 | } 46 | } 47 | 48 | /** 49 | * Close file pointer 50 | */ 51 | public function finalize() 52 | { 53 | fclose($this -> fp); 54 | $this -> fp = false; 55 | } 56 | 57 | /* (non-PHPdoc) 58 | * @see PrintConnector::read() 59 | */ 60 | public function read($len) 61 | { 62 | return fread($this -> fp, $len); 63 | } 64 | 65 | /** 66 | * Write data to the file 67 | * 68 | * @param string $data 69 | */ 70 | public function write($data) 71 | { 72 | fwrite($this -> fp, $data); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /Source/Escpos/PrintConnectors/NetworkPrintConnector.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\PrintConnectors; 14 | 15 | use Exception; 16 | 17 | /** 18 | * PrintConnector for directly opening a network socket to a printer to send it commands. 19 | */ 20 | class NetworkPrintConnector extends FilePrintConnector 21 | { 22 | /** 23 | * Construct a new NetworkPrintConnector 24 | * 25 | * @param string $ip IP address or hostname to use. 26 | * @param string $port The port number to connect on. 27 | * @throws Exception Where the socket cannot be opened. 28 | */ 29 | public function __construct($ip, $port = "9100") 30 | { 31 | $this -> fp = @fsockopen($ip, $port, $errno, $errstr); 32 | if ($this -> fp === false) { 33 | throw new Exception("Cannot initialise NetworkPrintConnector: " . $errstr); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Source/Escpos/PrintConnectors/PrintConnector.php: -------------------------------------------------------------------------------- 1 | , 7 | * incorporating modifications by others. See CONTRIBUTORS.md for a full list. 8 | * 9 | * This software is distributed under the terms of the MIT license. See LICENSE.md 10 | * for details. 11 | */ 12 | 13 | namespace Escpos\PrintConnectors; 14 | 15 | /** 16 | * Interface passed to Escpos class for receiving print data. Print connectors 17 | * are responsible for transporting this to the actual printer. 18 | */ 19 | interface PrintConnector 20 | { 21 | /** 22 | * Print connectors should cause a NOTICE if they are deconstructed 23 | * when they have not been finalized. 24 | */ 25 | public function __destruct(); 26 | 27 | /** 28 | * Finish using this print connector (close file, socket, send 29 | * accumulated output, etc). 30 | */ 31 | public function finalize(); 32 | 33 | /** 34 | * Read data from the printer. 35 | * 36 | * @param string $len Length of data to read. 37 | * @return Data read from the printer, or false where reading is not possible. 38 | */ 39 | public function read($len); 40 | 41 | /** 42 | * Write data to the print connector. 43 | * 44 | * @param string $data The data to write 45 | */ 46 | public function write($data); 47 | } 48 | -------------------------------------------------------------------------------- /Source/Escpos/autoload.php: -------------------------------------------------------------------------------- 1 | Not in class, $class"; 20 | return; 21 | } 22 | 23 | /* Require the file if it exists */ 24 | $relative_class = substr ( $class, $len ); 25 | $file = $base_dir . str_replace ( '\\', '/', $relative_class ) . '.php'; 26 | if (file_exists ( $file )) { 27 | require $file; 28 | } 29 | } ); 30 | -------------------------------------------------------------------------------- /Source/css/defaultSelect2Theme/_multiple.scss: -------------------------------------------------------------------------------- 1 | .select2-selection--multiple { 2 | background-color: white; 3 | border: 1px solid #aaa; 4 | border-radius: 4px; 5 | cursor: text; 6 | 7 | .select2-selection__rendered { 8 | box-sizing: border-box; 9 | list-style: none; 10 | margin: 0; 11 | padding: 0 5px; 12 | width: 100%; 13 | 14 | li { 15 | list-style: none; 16 | } 17 | } 18 | 19 | .select2-selection__placeholder { 20 | color: #999; 21 | 22 | margin-top: 5px; 23 | 24 | float: left; 25 | } 26 | 27 | .select2-selection__clear { 28 | cursor: pointer; 29 | float: right; 30 | font-weight: bold; 31 | margin-top: 5px; 32 | margin-right: 10px; 33 | } 34 | 35 | .select2-selection__choice { 36 | background-color: #e4e4e4; 37 | 38 | border: 1px solid #aaa; 39 | border-radius: 4px; 40 | cursor: default; 41 | 42 | float: left; 43 | 44 | margin-right: 5px; 45 | margin-top: 5px; 46 | padding: 0 5px; 47 | } 48 | 49 | .select2-selection__choice__remove { 50 | color: #999; 51 | cursor: pointer; 52 | 53 | display: inline-block; 54 | font-weight: bold; 55 | 56 | margin-right: 2px; 57 | 58 | &:hover { 59 | color: #333; 60 | } 61 | } 62 | } 63 | 64 | &[dir="rtl"] { 65 | .select2-selection--multiple { 66 | .select2-selection__choice, .select2-selection__placeholder, .select2-search--inline { 67 | float: right; 68 | } 69 | 70 | .select2-selection__choice { 71 | margin-left: 5px; 72 | margin-right: auto; 73 | } 74 | 75 | .select2-selection__choice__remove { 76 | margin-left: 2px; 77 | margin-right: auto; 78 | } 79 | } 80 | } 81 | 82 | &.select2-container--focus { 83 | .select2-selection--multiple { 84 | border: solid black 1px; 85 | outline: 0; 86 | } 87 | } 88 | 89 | &.select2-container--disabled { 90 | .select2-selection--multiple { 91 | background-color: #eee; 92 | cursor: default; 93 | } 94 | 95 | .select2-selection__choice__remove { 96 | display: none; 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Source/css/defaultSelect2Theme/_single.scss: -------------------------------------------------------------------------------- 1 | .select2-selection--single { 2 | background-color: #fff; 3 | border: 1px solid #aaa; 4 | border-radius: 4px; 5 | 6 | .select2-selection__rendered { 7 | color: #444; 8 | line-height: 28px; 9 | } 10 | 11 | .select2-selection__clear { 12 | cursor: pointer; 13 | float: right; 14 | font-weight: bold; 15 | } 16 | 17 | .select2-selection__placeholder { 18 | color: #999; 19 | } 20 | 21 | .select2-selection__arrow { 22 | height: 26px; 23 | 24 | position: absolute; 25 | 26 | top: 1px; 27 | right: 1px; 28 | 29 | width: 20px; 30 | 31 | b { 32 | border-color: #888 transparent transparent transparent; 33 | border-style: solid; 34 | border-width: 5px 4px 0 4px; 35 | 36 | height: 0; 37 | left: 50%; 38 | 39 | margin-left: -4px; 40 | margin-top: -2px; 41 | 42 | position: absolute; 43 | 44 | top: 50%; 45 | width: 0; 46 | } 47 | } 48 | } 49 | 50 | &[dir="rtl"] { 51 | .select2-selection--single { 52 | .select2-selection__clear { 53 | float: left; 54 | } 55 | 56 | .select2-selection__arrow { 57 | left: 1px; 58 | right: auto; 59 | } 60 | } 61 | } 62 | 63 | &.select2-container--disabled { 64 | .select2-selection--single { 65 | background-color: #eee; 66 | cursor: default; 67 | 68 | .select2-selection__clear { 69 | display: none; 70 | } 71 | } 72 | } 73 | 74 | &.select2-container--open { 75 | .select2-selection--single { 76 | .select2-selection__arrow { 77 | b { 78 | border-color: transparent transparent #888 transparent; 79 | border-width: 0 4px 5px 4px; 80 | } 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /Source/css/defaultSelect2Theme/layout.scss: -------------------------------------------------------------------------------- 1 | .select2-container--default { 2 | @import "single"; 3 | @import "multiple"; 4 | 5 | &.select2-container--open.select2-container--above { 6 | .select2-selection--single, .select2-selection--multiple { 7 | border-top-left-radius: 0; 8 | border-top-right-radius: 0; 9 | } 10 | } 11 | 12 | &.select2-container--open.select2-container--below { 13 | .select2-selection--single, .select2-selection--multiple { 14 | border-bottom-left-radius: 0; 15 | border-bottom-right-radius: 0; 16 | } 17 | } 18 | 19 | .select2-search--dropdown { 20 | .select2-search__field { 21 | border: 1px solid #aaa; 22 | } 23 | } 24 | 25 | .select2-search--inline { 26 | .select2-search__field { 27 | background: transparent; 28 | border: none; 29 | outline: 0; 30 | box-shadow: none; 31 | -webkit-appearance: textfield; 32 | } 33 | } 34 | 35 | .select2-results > .select2-results__options { 36 | max-height: 200px; 37 | overflow-y: auto; 38 | } 39 | 40 | .select2-results__option { 41 | &[role=group] { 42 | padding: 0; 43 | } 44 | 45 | &[aria-disabled=true] { 46 | color: #999; 47 | } 48 | 49 | &[aria-selected=true] { 50 | background-color: #ddd; 51 | } 52 | 53 | .select2-results__option { 54 | padding-left: 1em; 55 | 56 | .select2-results__group { 57 | padding-left: 0; 58 | } 59 | 60 | .select2-results__option { 61 | margin-left: -1em; 62 | padding-left: 2em; 63 | 64 | .select2-results__option { 65 | margin-left: -2em; 66 | padding-left: 3em; 67 | 68 | .select2-results__option { 69 | margin-left: -3em; 70 | padding-left: 4em; 71 | 72 | .select2-results__option { 73 | margin-left: -4em; 74 | padding-left: 5em; 75 | 76 | .select2-results__option { 77 | margin-left: -5em; 78 | padding-left: 6em; 79 | } 80 | } 81 | } 82 | } 83 | } 84 | } 85 | } 86 | 87 | .select2-results__option--highlighted[aria-selected] { 88 | background-color: #5897fb; 89 | color: white; 90 | } 91 | 92 | .select2-results__group { 93 | cursor: default; 94 | display: block; 95 | padding: 6px; 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /Source/css/images/loading_large.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/loading_large.gif -------------------------------------------------------------------------------- /Source/css/images/ui-bg_glass_75_d0e5f5_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-bg_glass_75_d0e5f5_1x400.png -------------------------------------------------------------------------------- /Source/css/images/ui-bg_glass_85_dfeffc_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-bg_glass_85_dfeffc_1x400.png -------------------------------------------------------------------------------- /Source/css/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /Source/css/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png -------------------------------------------------------------------------------- /Source/css/images/ui-bg_inset-hard_100_f5f8f9_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-bg_inset-hard_100_f5f8f9_1x100.png -------------------------------------------------------------------------------- /Source/css/images/ui-bg_inset-hard_100_fcfdfd_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-bg_inset-hard_100_fcfdfd_1x100.png -------------------------------------------------------------------------------- /Source/css/images/ui-icons_217bc0_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-icons_217bc0_256x240.png -------------------------------------------------------------------------------- /Source/css/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /Source/css/images/ui-icons_469bdd_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-icons_469bdd_256x240.png -------------------------------------------------------------------------------- /Source/css/images/ui-icons_6da8d5_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-icons_6da8d5_256x240.png -------------------------------------------------------------------------------- /Source/css/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /Source/css/images/ui-icons_d8e7f3_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-icons_d8e7f3_256x240.png -------------------------------------------------------------------------------- /Source/css/images/ui-icons_f9bd01_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/images/ui-icons_f9bd01_256x240.png -------------------------------------------------------------------------------- /Source/css/jTable/basic/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/basic/close.png -------------------------------------------------------------------------------- /Source/css/jTable/basic/column-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/basic/column-asc.png -------------------------------------------------------------------------------- /Source/css/jTable/basic/column-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/basic/column-desc.png -------------------------------------------------------------------------------- /Source/css/jTable/basic/column-sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/basic/column-sortable.png -------------------------------------------------------------------------------- /Source/css/jTable/basic/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/basic/delete.png -------------------------------------------------------------------------------- /Source/css/jTable/basic/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/basic/edit.png -------------------------------------------------------------------------------- /Source/css/jTable/basic/jtable_basic.less: -------------------------------------------------------------------------------- 1 | /* These file is a start point for who wants to create a fully custom 2 | * theme for jTable. jtable_theme_base.less (or css) file is needed 3 | * for functionality of jTable. This file does not add any color or shape 4 | * modifications. It just shows how to set icons. You can change them too. 5 | * Halil ibrahim Kalkan / http://www.jtable.org 6 | */ 7 | 8 | @import "../jtable_theme_base.less"; 9 | 10 | .jtable_theme_base; 11 | 12 | div.jtable-main-container 13 | { 14 | div.jtable-title 15 | { 16 | div.jtable-title-text 17 | { 18 | font-size: 16px; 19 | font-weight: bold; 20 | } 21 | 22 | .jtable-close-button 23 | { 24 | background: url('close.png') no-repeat; 25 | width: 16px; 26 | height: 16px; 27 | } 28 | } 29 | 30 | table.jtable 31 | { 32 | thead 33 | { 34 | th 35 | { 36 | &.jtable-column-header-sortable div.jtable-column-header-container 37 | { 38 | background: url('column-sortable.png') no-repeat right; 39 | } 40 | 41 | &.jtable-column-header-sorted-asc div.jtable-column-header-container 42 | { 43 | background: url('column-asc.png') no-repeat right; 44 | } 45 | 46 | &.jtable-column-header-sorted-desc div.jtable-column-header-container 47 | { 48 | background: url('column-desc.png') no-repeat right; 49 | } 50 | } 51 | } 52 | 53 | tbody 54 | { 55 | > tr 56 | { 57 | > td 58 | { 59 | .jtable-edit-command-button 60 | { 61 | background: url('edit.png') no-repeat; 62 | width: 16px; 63 | height: 16px; 64 | } 65 | 66 | .jtable-delete-command-button 67 | { 68 | background: url('delete.png') no-repeat; 69 | width: 16px; 70 | height: 16px; 71 | } 72 | } 73 | } 74 | } 75 | } 76 | } 77 | 78 | div.jtable-busy-message 79 | { 80 | color: #000; 81 | background-color: #ddd; 82 | font-size: 1.25em; 83 | } 84 | -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/add.png -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/bg-thead.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/bg-thead.png -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/close.png -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/column-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/column-asc.png -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/column-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/column-desc.png -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/column-sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/column-sortable.png -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/delete.png -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/edit.png -------------------------------------------------------------------------------- /Source/css/jTable/jqueryui/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/jqueryui/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/add.png -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/bg-thead.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/bg-thead.png -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/blue/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable light color theme - Blue 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_lightcolor_base.less"; 7 | 8 | @theme-folder: 'blue'; 9 | 10 | .jtable_lightcolor_base(@theme-folder); 11 | 12 | div.jtable-main-container 13 | { 14 | div.jtable-title 15 | { 16 | .vertical-gradient(#78b1ed,#417bb5); 17 | border-color: #2B5177; 18 | 19 | div.jtable-title-text 20 | { 21 | .text-shadow(0 1px 0 #666); 22 | color: #fff; 23 | } 24 | 25 | div.jtable-toolbar 26 | { 27 | span.jtable-toolbar-item 28 | { 29 | color: white; 30 | 31 | &.jtable-toolbar-item-hover 32 | { 33 | background-color: #417bb5; 34 | } 35 | } 36 | } 37 | } 38 | 39 | table.jtable 40 | { 41 | tbody 42 | { 43 | > tr 44 | { 45 | @highlight-color:#5f9cdc; 46 | 47 | &.jtable-row-selected, 48 | &.jtable-row-selected:hover 49 | { 50 | background-color: @highlight-color; 51 | } 52 | 53 | &.jtable-row-created, 54 | &.jtable-row-updated, 55 | &.jtable-row-deleting 56 | { 57 | background-color: @highlight-color; 58 | } 59 | } 60 | } 61 | } 62 | 63 | div.jtable-bottom-panel 64 | { 65 | .jtable-page-list 66 | { 67 | .jtable-page-number-active,.jtable-page-number-active:hover 68 | { 69 | @bgcolor: #2B5177; 70 | 71 | background-color: @bgcolor; 72 | border-color: @bgcolor - #222; 73 | } 74 | } 75 | 76 | span.jtable-add-record 77 | { 78 | a 79 | { 80 | color: #2B5177; 81 | } 82 | } 83 | } 84 | } 85 | 86 | div.jtable-busy-message 87 | { 88 | border-color: #2B5177; 89 | background-color: #78B1ED; 90 | } -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/blue/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/blue/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/close.png -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/column-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/column-asc.png -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/column-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/column-desc.png -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/column-sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/column-sortable.png -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/delete.png -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/edit.png -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/gray/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable light color theme - Gray 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_lightcolor_base.less"; 7 | 8 | @theme-folder: 'gray'; 9 | 10 | .jtable_lightcolor_base(@theme-folder); 11 | 12 | div.jtable-main-container 13 | { 14 | div.jtable-title 15 | { 16 | .vertical-gradient(#e8e8e8,#bababa); 17 | border-color: #949494; 18 | 19 | div.jtable-title-text 20 | { 21 | .text-shadow(0 1px 0 #fff); 22 | color: #000; 23 | } 24 | 25 | div.jtable-toolbar 26 | { 27 | span.jtable-toolbar-item 28 | { 29 | color: black; 30 | 31 | &.jtable-toolbar-item-hover 32 | { 33 | background-color: #a8a8a8; 34 | } 35 | } 36 | } 37 | } 38 | 39 | table.jtable 40 | { 41 | tbody 42 | { 43 | > tr 44 | { 45 | @highlight-color:#8e8e8e; 46 | 47 | &.jtable-row-selected, 48 | &.jtable-row-selected:hover 49 | { 50 | background-color: @highlight-color; 51 | } 52 | 53 | &.jtable-row-created, 54 | &.jtable-row-updated, 55 | &.jtable-row-deleting 56 | { 57 | background-color: @highlight-color; 58 | } 59 | } 60 | } 61 | } 62 | 63 | div.jtable-bottom-panel 64 | { 65 | .jtable-page-list 66 | { 67 | .jtable-page-number-active,.jtable-page-number-active:hover 68 | { 69 | @bgcolor: #8e8e8e; 70 | 71 | background-color: @bgcolor; 72 | border-color: @bgcolor - #222; 73 | } 74 | } 75 | 76 | span.jtable-add-record 77 | { 78 | a 79 | { 80 | color: #5f5f5f; 81 | } 82 | } 83 | } 84 | } 85 | 86 | div.jtable-busy-message 87 | { 88 | border-color: #5f5f5f; 89 | background-color: #8e8e8e; 90 | } -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/gray/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/gray/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/green/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable light color theme - Green 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_lightcolor_base.less"; 7 | 8 | @theme-folder: 'green'; 9 | 10 | .jtable_lightcolor_base(@theme-folder); 11 | 12 | div.jtable-main-container 13 | { 14 | div.jtable-title 15 | { 16 | .vertical-gradient(#72eb65,#1e9d0d); 17 | border-color: #167509; 18 | 19 | div.jtable-title-text 20 | { 21 | .text-shadow(0 1px 0 #666); 22 | color: #fff; 23 | } 24 | 25 | div.jtable-toolbar 26 | { 27 | span.jtable-toolbar-item 28 | { 29 | color: white; 30 | 31 | &.jtable-toolbar-item-hover 32 | { 33 | background-color: #208b10; 34 | } 35 | } 36 | } 37 | } 38 | 39 | table.jtable 40 | { 41 | tbody 42 | { 43 | > tr 44 | { 45 | @highlight-color:#33b326; 46 | 47 | &.jtable-row-selected, 48 | &.jtable-row-selected:hover 49 | { 50 | background-color: @highlight-color; 51 | } 52 | 53 | &.jtable-row-created, 54 | &.jtable-row-updated, 55 | &.jtable-row-deleting 56 | { 57 | background-color: @highlight-color; 58 | } 59 | } 60 | } 61 | } 62 | 63 | div.jtable-bottom-panel 64 | { 65 | .jtable-page-list 66 | { 67 | .jtable-page-number-active,.jtable-page-number-active:hover 68 | { 69 | @bgcolor: #42d033; 70 | 71 | background-color: @bgcolor; 72 | border-color: @bgcolor - #222; 73 | } 74 | } 75 | 76 | span.jtable-add-record 77 | { 78 | a 79 | { 80 | color: #167509; 81 | } 82 | } 83 | } 84 | } 85 | 86 | div.jtable-busy-message 87 | { 88 | border-color: #167509; 89 | background-color: #42d033; 90 | } -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/green/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/green/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/orange/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable light color theme - Orange 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_lightcolor_base.less"; 7 | 8 | @theme-folder: 'orange'; 9 | 10 | .jtable_lightcolor_base(@theme-folder); 11 | 12 | div.jtable-main-container 13 | { 14 | div.jtable-title 15 | { 16 | .vertical-gradient(#ffa366,#da5700); 17 | border-color: #804620; 18 | 19 | div.jtable-title-text 20 | { 21 | .text-shadow(0 1px 0 #666); 22 | color: #fff; 23 | } 24 | 25 | div.jtable-toolbar 26 | { 27 | span.jtable-toolbar-item 28 | { 29 | color: white; 30 | 31 | &.jtable-toolbar-item-hover 32 | { 33 | background-color: #c45206; 34 | } 35 | } 36 | } 37 | } 38 | 39 | table.jtable 40 | { 41 | tbody 42 | { 43 | > tr 44 | { 45 | @highlight-color:#F36301; 46 | 47 | &.jtable-row-selected, 48 | &.jtable-row-selected:hover 49 | { 50 | background-color: @highlight-color; 51 | } 52 | 53 | &.jtable-row-created, 54 | &.jtable-row-updated, 55 | &.jtable-row-deleting 56 | { 57 | background-color: @highlight-color; 58 | } 59 | } 60 | } 61 | } 62 | 63 | div.jtable-bottom-panel 64 | { 65 | .jtable-page-list 66 | { 67 | .jtable-page-number-active,.jtable-page-number-active:hover 68 | { 69 | @bgcolor: #f36301; 70 | 71 | background-color: @bgcolor; 72 | border-color: @bgcolor - #222; 73 | } 74 | } 75 | 76 | span.jtable-add-record 77 | { 78 | a 79 | { 80 | color: #cc5200; 81 | } 82 | } 83 | } 84 | } 85 | 86 | div.jtable-busy-message 87 | { 88 | border-color: #a14100; 89 | background-color: #f36301; 90 | } -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/orange/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/orange/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/red/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable light color theme - Red 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_lightcolor_base.less"; 7 | 8 | @theme-folder: 'red'; 9 | 10 | .jtable_lightcolor_base(@theme-folder); 11 | 12 | div.jtable-main-container 13 | { 14 | div.jtable-title 15 | { 16 | .vertical-gradient(#eb6565,#9d0d0d); 17 | border-color: #772b2b; 18 | 19 | div.jtable-title-text 20 | { 21 | .text-shadow(0 1px 0 #666); 22 | color: #fff; 23 | } 24 | 25 | div.jtable-toolbar 26 | { 27 | span.jtable-toolbar-item 28 | { 29 | color: white; 30 | 31 | &.jtable-toolbar-item-hover 32 | { 33 | background-color: #9a1414; 34 | } 35 | } 36 | } 37 | } 38 | 39 | table.jtable 40 | { 41 | tbody 42 | { 43 | > tr 44 | { 45 | @highlight-color:#ea2a2a; 46 | 47 | &.jtable-row-selected, 48 | &.jtable-row-selected:hover 49 | { 50 | background-color: @highlight-color; 51 | } 52 | 53 | &.jtable-row-created, 54 | &.jtable-row-updated, 55 | &.jtable-row-deleting 56 | { 57 | background-color: @highlight-color; 58 | } 59 | } 60 | } 61 | } 62 | 63 | div.jtable-bottom-panel 64 | { 65 | .jtable-page-list 66 | { 67 | .jtable-page-number-active,.jtable-page-number-active:hover 68 | { 69 | @bgcolor: #b11515; 70 | 71 | background-color: @bgcolor; 72 | border-color: @bgcolor - #222; 73 | } 74 | } 75 | 76 | span.jtable-add-record 77 | { 78 | a 79 | { 80 | color: #772b2b; 81 | } 82 | } 83 | } 84 | } 85 | 86 | div.jtable-busy-message 87 | { 88 | border-color: #772b2b; 89 | background-color: #ea2a2a; 90 | } -------------------------------------------------------------------------------- /Source/css/jTable/lightcolor/red/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/lightcolor/red/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/add.png -------------------------------------------------------------------------------- /Source/css/jTable/metro/blue/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Blue 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder: 'blue'; 9 | @main-theme-color: #2D89EF; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/blue/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/blue/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/brown/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Brown 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'brown'; 9 | @main-theme-color: #835a2c; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/brown/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/brown/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/close.png -------------------------------------------------------------------------------- /Source/css/jTable/metro/column-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/column-asc.png -------------------------------------------------------------------------------- /Source/css/jTable/metro/column-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/column-desc.png -------------------------------------------------------------------------------- /Source/css/jTable/metro/column-sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/column-sortable.png -------------------------------------------------------------------------------- /Source/css/jTable/metro/crimson/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Crimson 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'crimson'; 9 | @main-theme-color: #c30000; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/crimson/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/crimson/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/darkgray/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Dark gray 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'darkgray'; 9 | @main-theme-color: #454545; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/darkgray/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/darkgray/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/darkorange/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Dark orange 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'darkorange'; 9 | @main-theme-color: #da532c; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/darkorange/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/darkorange/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/delete.png -------------------------------------------------------------------------------- /Source/css/jTable/metro/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/edit.png -------------------------------------------------------------------------------- /Source/css/jTable/metro/green/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Green 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'green'; 9 | @main-theme-color: #00a300; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/green/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/green/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/jtable_metro_base.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Open Sans'; 3 | font-style: normal; 4 | font-weight: 300; 5 | src: local('Open Sans Light'), local('OpenSans-Light'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTRa1RVmPjeKy21_GQJaLlJI.woff) format('woff'); 6 | } 7 | @font-face { 8 | font-family: 'Open Sans'; 9 | font-style: italic; 10 | font-weight: 300; 11 | src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxrsuoFAk0leveMLeqYtnfAY.woff) format('woff'); 12 | } 13 | @font-face { 14 | font-family: 'Open Sans'; 15 | font-style: normal; 16 | font-weight: 400; 17 | src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/u-WUoqrET9fUeobQW7jkRT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); 18 | } 19 | @font-face { 20 | font-family: 'Open Sans'; 21 | font-style: italic; 22 | font-weight: 400; 23 | src: local('Open Sans Italic'), local('OpenSans-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBtIh4imgI8P11RFo6YPCPC0.woff) format('woff'); 24 | } 25 | @font-face { 26 | font-family: 'Open Sans'; 27 | font-style: normal; 28 | font-weight: 600; 29 | src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSha1RVmPjeKy21_GQJaLlJI.woff) format('woff'); 30 | } 31 | @font-face { 32 | font-family: 'Open Sans'; 33 | font-style: italic; 34 | font-weight: 600; 35 | src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxmWeb5PoA5ztb49yLyUzH1A.woff) format('woff'); 36 | } 37 | @font-face { 38 | font-family: 'Open Sans'; 39 | font-style: normal; 40 | font-weight: 700; 41 | src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzBa1RVmPjeKy21_GQJaLlJI.woff) format('woff'); 42 | } 43 | @font-face { 44 | font-family: 'Open Sans'; 45 | font-style: italic; 46 | font-weight: 700; 47 | src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxoUt79146ZFaIJxILcpzmhI.woff) format('woff'); 48 | } 49 | -------------------------------------------------------------------------------- /Source/css/jTable/metro/jtable_metro_base.min.css: -------------------------------------------------------------------------------- 1 | @font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTRa1RVmPjeKy21_GQJaLlJI.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSansLight-Italic'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxrsuoFAk0leveMLeqYtnfAY.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/u-WUoqrET9fUeobQW7jkRT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:400;src:local('Open Sans Italic'),local('OpenSans-Italic'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBtIh4imgI8P11RFo6YPCPC0.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;src:local('Open Sans Semibold'),local('OpenSans-Semibold'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSha1RVmPjeKy21_GQJaLlJI.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:600;src:local('Open Sans Semibold Italic'),local('OpenSans-SemiboldItalic'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxmWeb5PoA5ztb49yLyUzH1A.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzBa1RVmPjeKy21_GQJaLlJI.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:italic;font-weight:700;src:local('Open Sans Bold Italic'),local('OpenSans-BoldItalic'),url(http://themes.googleusercontent.com/static/fonts/opensans/v6/PRmiXeptR36kaC0GEAetxoUt79146ZFaIJxILcpzmhI.woff) format('woff')} -------------------------------------------------------------------------------- /Source/css/jTable/metro/lightgray/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Light gray 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'lightgray'; 9 | @main-theme-color: #707070; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/lightgray/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/lightgray/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/pink/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Pink 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'pink'; 9 | @main-theme-color: #9f00a7; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/pink/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/pink/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/purple/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Purple 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'purple'; 9 | @main-theme-color: #603cba; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/purple/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/purple/loading.gif -------------------------------------------------------------------------------- /Source/css/jTable/metro/red/jtable.less: -------------------------------------------------------------------------------- 1 | /* jTable metro style theme - Red 2 | * Created by Halil İbrahim Kalkan 3 | * http://www.jtable.org 4 | */ 5 | 6 | @import "../jtable_metro_base.less"; 7 | 8 | @theme-folder:'red'; 9 | @main-theme-color: #e51400; 10 | 11 | .jtable_metro_base(@theme-folder, @main-theme-color); -------------------------------------------------------------------------------- /Source/css/jTable/metro/red/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatONeil/POS-Terminal/64b7f8b3726729b959a6f02a69df67303b5a6bbc/Source/css/jTable/metro/red/loading.gif -------------------------------------------------------------------------------- /Source/css/jquery-ui-timepicker-addon.css: -------------------------------------------------------------------------------- 1 | .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; } 2 | .ui-timepicker-div dl { text-align: left; } 3 | .ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; } 4 | .ui-timepicker-div dl dd { margin: 0 10px 10px 40%; } 5 | .ui-timepicker-div td { font-size: 90%; } 6 | .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; } 7 | .ui-timepicker-div .ui_tpicker_unit_hide{ display: none; } 8 | 9 | .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input { background: none; color: inherit; border: none; outline: none; border-bottom: solid 1px #555; width: 95%; } 10 | .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus { border-bottom-color: #aaa; } 11 | 12 | .ui-timepicker-rtl{ direction: rtl; } 13 | .ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; } 14 | .ui-timepicker-rtl dl dt{ float: right; clear: right; } 15 | .ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; } 16 | 17 | /* Shortened version style */ 18 | .ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; } 19 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time, 20 | .ui-timepicker-div.ui-timepicker-oneLine dt { display: none; } 21 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; } 22 | .ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; } 23 | .ui-timepicker-div.ui-timepicker-oneLine dl dd, 24 | .ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; } 25 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before, 26 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; } 27 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before, 28 | .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; } 29 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide, 30 | .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; } -------------------------------------------------------------------------------- /Source/css/menuTicket.css: -------------------------------------------------------------------------------- 1 | #TableOfMenuItems { 2 | table-layout:fixed; 3 | } 4 | #TableOfMenuItems tr.selectable:hover{ 5 | background-color:#eef; 6 | } 7 | 8 | #TableOfMenuItems td { 9 | font-size:18px; 10 | } 11 | #TableOfMenuItems thead tr { 12 | font-weight:bold; 13 | background-color:lightyellow; 14 | } 15 | #TableOfMenuItems td:first-child { 16 | text-align:center; 17 | width:38px !important; 18 | } 19 | #TableOfMenuItems td:nth-child(2) { 20 | width:225px !important; 21 | } 22 | #TableOfMenuItems td:last-child { 23 | text-align:right; 24 | padding-right:10px; 25 | width:54px !important; 26 | } 27 | #RightSummaryOfTicket tbody tr td { 28 | font-size:18px; 29 | } 30 | #RightSummaryOfTicket tbody tr td:last-child { 31 | text-align:right; 32 | width: 70px; 33 | } 34 | #RightSummaryOfTicket tbody tr td:first-child { 35 | text-align:left; 36 | width: 90px; 37 | } 38 | #RightSummaryOfTicket tbody tr:nth-child(4) td { 39 | font-size:20px; 40 | font-weight:bold; 41 | border-top:2px solid black; 42 | } 43 | .selectable td { 44 | padding-top:5px; 45 | } 46 | -------------------------------------------------------------------------------- /Source/css/posTerminal.css: -------------------------------------------------------------------------------- 1 | body { 2 | -webkit-touch-callout: none; 3 | -webkit-user-select: none; 4 | -khtml-user-select: none; 5 | -moz-user-select: none; 6 | -ms-user-select: none; 7 | user-select: none; 8 | } 9 | 10 | .centered { 11 | position: fixed; 12 | top: 50%; 13 | left: 50%; 14 | margin-top: -100px; 15 | margin-left: -100px; 16 | } 17 | 18 | /* Background Colors for Page components */ 19 | .menuTicketPageHeader { 20 | background-color:#fffefa; 21 | } 22 | .menuTicketPageButtonArea { 23 | background-color:#fffefa; 24 | } 25 | .menuTicketPageTotalArea { 26 | background-color:#fffefa; 27 | } 28 | .menuTicketMenuPageHeader { 29 | background-color:#fffeF8; 30 | } 31 | .menuTicketMenuPageTable { 32 | background-color:#fffeF8; 33 | } 34 | .menuOrderPageButtonArea { 35 | background-color:#fffeF8; 36 | } 37 | 38 | /* tableCell class used for drop down list of optional/default menu items 39 | Only modify background color or border color */ 40 | .tableCell ul { 41 | background-color:rgb(225,75,75); 42 | border: 1px solid #5c9ccc; 43 | position:absolute; 44 | width:130px; 45 | padding-left:0px; 46 | } 47 | .tableCell li { 48 | background-color: #98c8ca; 49 | position:relative; 50 | margin:0px; 51 | padding: 12px 0px; 52 | padding-left:0px; 53 | display:block; 54 | border-bottom:solid 1px rgb(200,50,50); 55 | } 56 | .tableCell li:hover { 57 | background-color: #c1c1a4 58 | } 59 | /* tableCell class used for drop down list of optional/default menu items */ 60 | 61 | /* replacement for javascript alert!!! */ 62 | .confirmButton { 63 | width:90px; 64 | height:40px; 65 | z-index:2000; 66 | } 67 | 68 | /* text blinking used when in Edit Mode for orders */ 69 | .css_blink { 70 | -webkit-animation-name: blinker; 71 | -webkit-animation-duration: 2s; 72 | -webkit-animation-timing-function: linear; 73 | -webkit-animation-iteration-count: infinite; 74 | 75 | -moz-animation-name: blinker; 76 | -moz-animation-duration: 2s; 77 | -moz-animation-timing-function: linear; 78 | -moz-animation-iteration-count: infinite; 79 | 80 | animation-name: blinker; 81 | animation-duration: 2s; 82 | animation-timing-function: linear; 83 | animation-iteration-count: infinite; 84 | } 85 | @-moz-keyframes blinker { 86 | 0% { opacity: 1.0; } 87 | 50% { opacity: 0.3; } 88 | 100% { opacity: 1.0; } 89 | } 90 | 91 | @-webkit-keyframes blinker { 92 | 0% { opacity: 1.0; } 93 | 50% { opacity: 0.3; } 94 | 100% { opacity: 1.0; } 95 | } 96 | 97 | @keyframes blinker { 98 | 0% { opacity: 1.0; } 99 | 50% { opacity: 0.3; } 100 | 100% { opacity: 1.0; } 101 | } 102 | /* End blinking used when in Edit Mode for orders */ 103 | -------------------------------------------------------------------------------- /Source/css/validationEngine.jquery.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | /* Z-INDEX */ 4 | .formError { z-index: 990; } 5 | .formError .formErrorContent { z-index: 991; } 6 | .formError .formErrorArrow { z-index: 996; } 7 | 8 | .ui-dialog .formError { z-index: 5000; } 9 | .ui-dialog .formError .formErrorContent { z-index: 5001; } 10 | .ui-dialog .formError .formErrorArrow { z-index: 5006; } 11 | 12 | 13 | 14 | 15 | .inputContainer { 16 | position: relative; 17 | float: left; 18 | } 19 | 20 | .formError { 21 | position: absolute; 22 | top: 300px; 23 | left: 300px; 24 | display: block; 25 | cursor: pointer; 26 | text-align: left; 27 | } 28 | 29 | .formError.inline { 30 | position: relative; 31 | top: 0; 32 | left: 0; 33 | display: inline-block; 34 | } 35 | 36 | .ajaxSubmit { 37 | padding: 20px; 38 | background: #55ea55; 39 | border: 1px solid #999; 40 | display: none; 41 | } 42 | 43 | .formError .formErrorContent { 44 | width: 100%; 45 | background: #ee0101; 46 | position:relative; 47 | color: #fff; 48 | min-width: 120px; 49 | font-size: 11px; 50 | border: 2px solid #ddd; 51 | box-shadow: 0 0 6px #000; 52 | -moz-box-shadow: 0 0 6px #000; 53 | -webkit-box-shadow: 0 0 6px #000; 54 | -o-box-shadow: 0 0 6px #000; 55 | padding: 4px 10px 4px 10px; 56 | border-radius: 6px; 57 | -moz-border-radius: 6px; 58 | -webkit-border-radius: 6px; 59 | -o-border-radius: 6px; 60 | } 61 | 62 | .formError.inline .formErrorContent { 63 | box-shadow: none; 64 | -moz-box-shadow: none; 65 | -webkit-box-shadow: none; 66 | -o-box-shadow: none; 67 | border: none; 68 | border-radius: 0; 69 | -moz-border-radius: 0; 70 | -webkit-border-radius: 0; 71 | -o-border-radius: 0; 72 | } 73 | 74 | .greenPopup .formErrorContent { 75 | background: #33be40; 76 | } 77 | 78 | .blackPopup .formErrorContent { 79 | background: #393939; 80 | color: #FFF; 81 | } 82 | 83 | .formError .formErrorArrow { 84 | width: 15px; 85 | margin: -2px 0 0 13px; 86 | position:relative; 87 | } 88 | body[dir='rtl'] .formError .formErrorArrow, 89 | body.rtl .formError .formErrorArrow { 90 | margin: -2px 13px 0 0; 91 | } 92 | 93 | .formError .formErrorArrowBottom { 94 | box-shadow: none; 95 | -moz-box-shadow: none; 96 | -webkit-box-shadow: none; 97 | -o-box-shadow: none; 98 | margin: 0px 0 0 12px; 99 | top:2px; 100 | } 101 | 102 | .formError .formErrorArrow div { 103 | border-left: 2px solid #ddd; 104 | border-right: 2px solid #ddd; 105 | box-shadow: 0 2px 3px #444; 106 | -moz-box-shadow: 0 2px 3px #444; 107 | -webkit-box-shadow: 0 2px 3px #444; 108 | -o-box-shadow: 0 2px 3px #444; 109 | font-size: 0px; 110 | height: 1px; 111 | background: #ee0101; 112 | margin: 0 auto; 113 | line-height: 0; 114 | font-size: 0; 115 | display: block; 116 | } 117 | 118 | .formError .formErrorArrowBottom div { 119 | box-shadow: none; 120 | -moz-box-shadow: none; 121 | -webkit-box-shadow: none; 122 | -o-box-shadow: none; 123 | } 124 | 125 | .greenPopup .formErrorArrow div { 126 | background: #33be40; 127 | } 128 | 129 | .blackPopup .formErrorArrow div { 130 | background: #393939; 131 | color: #FFF; 132 | } 133 | 134 | .formError .formErrorArrow .line10 { 135 | width: 13px; 136 | border: none; 137 | } 138 | 139 | .formError .formErrorArrow .line9 { 140 | width: 11px; 141 | border: none; 142 | } 143 | 144 | .formError .formErrorArrow .line8 { 145 | width: 11px; 146 | } 147 | 148 | .formError .formErrorArrow .line7 { 149 | width: 9px; 150 | } 151 | 152 | .formError .formErrorArrow .line6 { 153 | width: 7px; 154 | } 155 | 156 | .formError .formErrorArrow .line5 { 157 | width: 5px; 158 | } 159 | 160 | .formError .formErrorArrow .line4 { 161 | width: 3px; 162 | } 163 | 164 | .formError .formErrorArrow .line3 { 165 | width: 1px; 166 | border-left: 2px solid #ddd; 167 | border-right: 2px solid #ddd; 168 | border-bottom: 0 solid #ddd; 169 | } 170 | 171 | .formError .formErrorArrow .line2 { 172 | width: 3px; 173 | border: none; 174 | background: #ddd; 175 | } 176 | 177 | .formError .formErrorArrow .line1 { 178 | width: 1px; 179 | border: none; 180 | background: #ddd; 181 | } 182 | -------------------------------------------------------------------------------- /Source/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |