Initial commit
This commit is contained in:
9
wwwroot/themes/restaurant/alert.tpl.htm
Normal file
9
wwwroot/themes/restaurant/alert.tpl.htm
Normal file
@@ -0,0 +1,9 @@
|
||||
<div id="alert" >
|
||||
<div id="alertHeading"></div>
|
||||
<div id="alertMessage"></div>
|
||||
<div id="alertButtons">
|
||||
<a class="posButton" id="alertOk"><!--[lang:alert_ok]--></a>
|
||||
<a class="posButton" id="alertYes"><!--[lang:alert_yes]--></a>
|
||||
<a class="posButton" id="alertNo"><!--[lang:alert_no]--></a>
|
||||
</div>
|
||||
</div>
|
||||
14
wwwroot/themes/restaurant/authenticate.tpl.htm
Normal file
14
wwwroot/themes/restaurant/authenticate.tpl.htm
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><!--[var:title]--></title>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name = "viewport" content = "user-scalable = no, shrink-to-fit=yes" />
|
||||
</head>
|
||||
<body class="darkMode">
|
||||
<div id="authenticator">
|
||||
|
||||
</div>
|
||||
<!--[template:keyboards]-->
|
||||
</body>
|
||||
</html>
|
||||
113
wwwroot/themes/restaurant/backupPayentsplitter.htm
Normal file
113
wwwroot/themes/restaurant/backupPayentsplitter.htm
Normal file
@@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>DredgePOS</title>
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
||||
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/restaurant/theme.css?id=ax" media="screen" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/restaurant/paymentSplitter.css?id=ax" media="screen" />
|
||||
<meta name = "viewport" content = "width=1280, initial-scale = 0.8, user-scalable = no, shrink-to-fit=no" />
|
||||
<script type="text/javascript" src="currency.min.js"></script>
|
||||
<script type="text/javascript" src="posFunctions.js"></script>
|
||||
<script type="text/javascript" src="paymentFunctions.js"></script>
|
||||
</head>
|
||||
<body class="darkMode">
|
||||
<div id="pageContainer">
|
||||
<div id="flexWrapper">
|
||||
<div id="header">
|
||||
<h1>Paying Table</h2>
|
||||
</div>
|
||||
<div id="stucture">
|
||||
<div id="leftColumn">
|
||||
<h2>Whole Table</h2>
|
||||
<table id="first" cellspacing="0">
|
||||
<thead>
|
||||
<th class="hide">Item Code</th>
|
||||
<th>Qty</th>
|
||||
<th>Item</th>
|
||||
<th class="hide">Unit Price</th>
|
||||
<th class="hide">Print Group</th>
|
||||
<th class="totalpriceCell">Total Price</th>
|
||||
<th class="hide">Cover</th>
|
||||
<th class="clerkCell">Clerk</th>
|
||||
<th class="hide">Selected Qty</th>
|
||||
<th class="hide">Original Qty</th>
|
||||
<th class="hide">Category</th>
|
||||
<th class="hide">Department</th>
|
||||
<th class="hide"><!--[lang:has_split_header]--></th>
|
||||
<th class="hide"><!--[lang:orig_tprice_header]--></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--[var:tableHTML]-->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="controlColumn">
|
||||
<a class="posButton" onclick="moveItems('#first', '#second')">></a>
|
||||
<a class="posButton" onclick="moveItems('#second', '#first')"><</a>
|
||||
</div>
|
||||
<div id="centerColumn">
|
||||
<h2>Partial Table</h2>
|
||||
<table id="second" cellspacing="0">
|
||||
<thead>
|
||||
<th class="hide">Item Code</th>
|
||||
<th>Qty</th>
|
||||
<th>Item</th>
|
||||
<th class="hide">Unit Price</th>
|
||||
<th class="hide">Print Group</th>
|
||||
<th class="totalpriceCell">Total Price</th>
|
||||
<th class="hide">Cover</th>
|
||||
<th class="clerkCell hide">Clerk</th>
|
||||
<th class="hide">Selected Qty</th>
|
||||
<th class="hide">Category</th>
|
||||
<th class="hide">Department</th>
|
||||
<th class="hide"><!--[lang:has_split_header]--></th>
|
||||
<th class="hide"><!--[lang:orig_tprice_header]--></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="rightColumn">
|
||||
<h2>Controls</h2>
|
||||
<div id="rightColumnContainer">
|
||||
<a class="posButton heading" onclick="">Selection Tools</a>
|
||||
<a class="posButton qtySelector" onclick="overrideQuantitySelect()">Select Quantity</a>
|
||||
<a class="posButton" onclick="overrideQuantitySelect()">Select Amount</a>
|
||||
<a class="selectDepartment posButton">Select By Department</a>
|
||||
<a class="selectCategory posButton">Select By Category</a>
|
||||
<a class="selectCovers posButton">Select by Cover #</a>
|
||||
<a class="selectPrintGroup posButton">Select by Printed With</a>
|
||||
<a class="selectAll posButton">Select All</a>
|
||||
<a class="posButton heading">Select By Fraction</a>
|
||||
<a class="posButton selectFraction" data-value="2">Select 1⁄2</a>
|
||||
<a class="posButton selectFraction" data-value="3">Select 1⁄3</a>
|
||||
<a class="posButton selectFraction" data-value="4">Select 1⁄4</a>
|
||||
<a class="posButton selectFraction" data-value="5">Select 1⁄5</a>
|
||||
<a class="posButton selectFraction" data-value="6">Select 1⁄6</a>
|
||||
<a class="posButton selectFraction" data-value="7">Select 1⁄7</a>
|
||||
<a class="posButton selectFraction" data-value="8">Select 1⁄8</a>
|
||||
<a class="posButton selectFraction" data-value="<!--[var:uniqueCovers]-->" posButton">Select 1⁄covers</a>
|
||||
|
||||
<a class="posButton heading" onclick="loadScreen('tableMap')">Exit</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="coverControls" class="popupBox"><!--[var:coverButtons]--></div>
|
||||
<div id="departmentControl" class="popupBox"><!--[var:departmentButtons]--></div>
|
||||
<div id="categoryControl" class="popupBox"><!--[var:categoryButtons]--></div>
|
||||
<div id="printGroupControl" class="popupBox"><!--[var:printGroupButtons]--></div>
|
||||
<!--[template:keyboards]-->
|
||||
<script type="text/javascript">
|
||||
$(document).ready( function () {
|
||||
covers = '<!--[var:covers]-->'
|
||||
dredgePosSetup('#pageContainer');
|
||||
setupPaymentSplitter();
|
||||
} );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
14
wwwroot/themes/restaurant/button.tpl.htm
Normal file
14
wwwroot/themes/restaurant/button.tpl.htm
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="itemCellWrapper">
|
||||
<div
|
||||
class="definedButton item <!--[arr:item|button_classes]--> posButton"
|
||||
data-type="<!--[arr:item|type]-->"
|
||||
data-id="<!--[arr:item|itemid]-->"
|
||||
data-grid="<!--[arr:item|button_grid_id]-->"
|
||||
data-name="<!--[arr:item|itemname]-->"
|
||||
data-price="<!--[arr:item|price]-->"
|
||||
data-category="<!--[arr:item|c_name]-->"
|
||||
data-department="<!--[arr:item|dep_name]-->"
|
||||
data-printgroup="<!--[arr:item|pg_name]-->">
|
||||
<a><!--[arr:item|itemname]--></a>
|
||||
</div>
|
||||
</div>
|
||||
14
wwwroot/themes/restaurant/buttonWithImage.tpl.htm
Normal file
14
wwwroot/themes/restaurant/buttonWithImage.tpl.htm
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="itemCellWrapper"> <div
|
||||
class="definedButton item hasImage <!--[arr:item|button_classes]--> posButton"
|
||||
data-type="<!--[arr:item|type]-->"
|
||||
data-id="<!--[arr:item|itemid]-->"
|
||||
data-name="<!--[arr:item|itemname]-->"
|
||||
data-price="<!--[arr:item|price]-->"
|
||||
data-grid="<!--[arr:item|button_grid_id]-->"
|
||||
data-category="<!--[arr:item|c_name]-->"
|
||||
data-department="<!--[arr:item|dep_name]-->"
|
||||
data-printgroup="<!--[arr:item|pg_name]-->">
|
||||
<a style="background-image:url('images/<!--[arr:item|image]-->')"></a>
|
||||
<a><!--[arr:item|itemname]--></a>
|
||||
|
||||
</div></div>
|
||||
67
wwwroot/themes/restaurant/categories/BeerPage1.tpl.htm
Normal file
67
wwwroot/themes/restaurant/categories/BeerPage1.tpl.htm
Normal file
@@ -0,0 +1,67 @@
|
||||
<div class="itemPage">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><!--[button:CRAFTBEER001]--></td>
|
||||
<td><!--[button:CRAFTBEER002]--></td>
|
||||
<td><!--[button:CRAFTBEER003]--></td>
|
||||
<td><!--[button:CRAFTBEER004]--></td>
|
||||
<td><!--[button:CRAFTBEER005]--></td>
|
||||
<td><!--[button:CRAFTBEER006]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:CRAFTBEER007]--></td>
|
||||
<td><!--[button:CRAFTBEER008]--></td>
|
||||
<td><!--[button:CRAFTBEER009]--></td>
|
||||
<td><!--[button:CRAFTBEER010]--></td>
|
||||
<td><!--[button:CRAFTBEER012]--></td>
|
||||
<td><!--[button:INSTRUCTION005]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><!--[button:INSTRUCTION006]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:CRAFTBEER013]--></td>
|
||||
<td><!--[button:CRAFTBEER014]--></td>
|
||||
<td><!--[button:CRAFTBEER015]--></td>
|
||||
<td><!--[button:CRAFTBEER016]--></td>
|
||||
<td><!--[button:CRAFTBEER017]--></td>
|
||||
<td><!--[button:CRAFTBEER018]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:CRAFTBEER019]--></td>
|
||||
<td><!--[button:CRAFTBEER020]--></td>
|
||||
<td><!--[button:CRAFTBEER021]--></td>
|
||||
<td><!--[button:CRAFTBEER022]--></td>
|
||||
<td><!--[button:CRAFTBEER023]--></td>
|
||||
<td><!--[button:CRAFTBEER024]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table></div>
|
||||
67
wwwroot/themes/restaurant/categories/BeerPage2.tpl.htm
Normal file
67
wwwroot/themes/restaurant/categories/BeerPage2.tpl.htm
Normal file
@@ -0,0 +1,67 @@
|
||||
<div class="itemPage">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><!--[button:CRAFTBEER025]--></td>
|
||||
<td><!--[button:CRAFTBEER026]--></td>
|
||||
<td><!--[button:CRAFTBEER027]--></td>
|
||||
<td><!--[button:CRAFTBEER028]--></td>
|
||||
<td><!--[button:CRAFTBEER029]--></td>
|
||||
<td><!--[button:CRAFTBEER030]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:CRAFTBEER031]--></td>
|
||||
<td><!--[button:CRAFTBEER032]--></td>
|
||||
<td><!--[button:CRAFTBEER033]--></td>
|
||||
<td><!--[button:CRAFTBEER034]--></td>
|
||||
<td><!--[button:CRAFTBEER035]--></td>
|
||||
<td><!--[button:CRAFTBEER036]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:CRAFTBEER037]--></td>
|
||||
<td><!--[button:CRAFTBEER038]--></td>
|
||||
<td><!--[button:CRAFTBEER039]--></td>
|
||||
<td><!--[button:CRAFTBEER040]--></td>
|
||||
<td><!--[button:CRAFTBEER041]--></td>
|
||||
<td><!--[button:CRAFTBEER042]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:CRAFTBEER043]--></td>
|
||||
<td><!--[button:CRAFTBEER044]--></td>
|
||||
<td><!--[button:CRAFTBEER045]--></td>
|
||||
<td><!--[button:CRAFTBEER046]--></td>
|
||||
<td><!--[button:CRAFTBEER047]--></td>
|
||||
<td><!--[button:CRAFTBEER048]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table></div>
|
||||
66
wwwroot/themes/restaurant/categories/DessertsPage1.tpl.htm
Normal file
66
wwwroot/themes/restaurant/categories/DessertsPage1.tpl.htm
Normal file
@@ -0,0 +1,66 @@
|
||||
<div class="itemPage"><table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><!--[button:DESSERT001]--></td>
|
||||
<td></td>
|
||||
<td><!--[button:DESSERT002]--></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><!--[button:DESSERT004]--></td>
|
||||
<td></td>
|
||||
<td><!--[button:DESSERT003]--></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table></div>
|
||||
67
wwwroot/themes/restaurant/categories/MainsPage1.tpl.htm
Normal file
67
wwwroot/themes/restaurant/categories/MainsPage1.tpl.htm
Normal file
@@ -0,0 +1,67 @@
|
||||
<div class="itemPage"><table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><!--[button:MAIN001]--></td>
|
||||
<td></td>
|
||||
<td><!--[button:MAIN003]--></td>
|
||||
<td></td>
|
||||
<td><!--[button:MAIN004]--></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:MAIN005]--></td>
|
||||
<td></td>
|
||||
<td><!--[button:MAIN006]--></td>
|
||||
<td></td>
|
||||
<td><!--[button:MAIN007]--></td>
|
||||
<td></td>
|
||||
</td>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
</table></div>
|
||||
68
wwwroot/themes/restaurant/categories/StartersPage1.tpl.htm
Normal file
68
wwwroot/themes/restaurant/categories/StartersPage1.tpl.htm
Normal file
@@ -0,0 +1,68 @@
|
||||
<div class="itemPage">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><!--[button:STARTER001]--></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:STARTER002]--></td>
|
||||
<td></td>
|
||||
<td><!--[button:DIP002]--></td>
|
||||
<td><!--[button:DIP003]--></td>
|
||||
<td><!--[button:DIP004]--></td>
|
||||
<td><!--[button:DIP005]--></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:STARTER003]--></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:STARTER004]--></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><!--[button:STARTER005]--></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
</table></div>
|
||||
67
wwwroot/themes/restaurant/categories/WinePage1.tpl.htm
Normal file
67
wwwroot/themes/restaurant/categories/WinePage1.tpl.htm
Normal file
@@ -0,0 +1,67 @@
|
||||
<div class="itemPage"><table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><!--[button:WINE002]--></td>
|
||||
<td><!--[button:WINE001]--></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><!--[button:WINE004]--></td>
|
||||
<td><!--[button:WINE003]--></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</td>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
</table></div>
|
||||
3
wwwroot/themes/restaurant/categoryButton.tpl.htm
Normal file
3
wwwroot/themes/restaurant/categoryButton.tpl.htm
Normal file
@@ -0,0 +1,3 @@
|
||||
<a onclick="loadCategory('<!--[arr:cat|c_name]-->')" class="posButton categoryButton">
|
||||
<!--[arr:cat|c_name]-->
|
||||
</a>
|
||||
5
wwwroot/themes/restaurant/categoryMenu.tpl.htm
Normal file
5
wwwroot/themes/restaurant/categoryMenu.tpl.htm
Normal file
@@ -0,0 +1,5 @@
|
||||
<!--[categoryButton:1]-->
|
||||
<!--[categoryButton:2]-->
|
||||
<!--[categoryButton:4]-->
|
||||
<!--[categoryButton:3]-->
|
||||
<!--[categoryButton:5]-->
|
||||
4
wwwroot/themes/restaurant/decoratorItem.tpl.htm
Normal file
4
wwwroot/themes/restaurant/decoratorItem.tpl.htm
Normal file
@@ -0,0 +1,4 @@
|
||||
<div class="decoratorItem" data-image="<!--[var:image_url]-->">
|
||||
<a style="background-image:url('images/decorations/<!--[var:image_url]-->')"></a>
|
||||
<a><!--[var:image_name]--></a>
|
||||
</div>
|
||||
3
wwwroot/themes/restaurant/decoratorRow.tpl.htm
Normal file
3
wwwroot/themes/restaurant/decoratorRow.tpl.htm
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="decoratorRow">
|
||||
<!--[var:decorations]-->
|
||||
</div>
|
||||
3
wwwroot/themes/restaurant/keyboards.tpl.htm
Normal file
3
wwwroot/themes/restaurant/keyboards.tpl.htm
Normal file
@@ -0,0 +1,3 @@
|
||||
<!--[template:alert]-->
|
||||
<!--[template:virtualNumpad]-->
|
||||
<!--[template:virtualKeyboard]-->
|
||||
1
wwwroot/themes/restaurant/orderBox.tpl.htm
Normal file
1
wwwroot/themes/restaurant/orderBox.tpl.htm
Normal file
@@ -0,0 +1 @@
|
||||
<b>OrderBox Loaded</b>
|
||||
21
wwwroot/themes/restaurant/orderBoxTable.tpl.htm
Normal file
21
wwwroot/themes/restaurant/orderBoxTable.tpl.htm
Normal file
@@ -0,0 +1,21 @@
|
||||
<table cellspacing="0" id="orderBox" data-tablenumber="<!--[var:tableNumber]-->" data-covers="<!--[var:covers]-->" data-clerk="<!--[arr:clerk|clerk_name]-->" class="">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="idCell hide"><!--[lang:id_header]--></th>
|
||||
<th class="qtyCell"><!--[lang:qty_header]--></th>
|
||||
<th class="itemCell"><!--[lang:item_header]--></th>
|
||||
<th class="totalPriceCell"><!--[lang:total_price_header]--></th>
|
||||
<th class="printGroupCell"><!--[lang:printgroup_header]--></th>
|
||||
<th class="unitPriceCell hide"><!--[lang:individual_price_header]--></th>
|
||||
<th class="sortkeyCell hide"><!--[lang:sortkey_header]--></th>
|
||||
<th class="typeCell hide"><!--[lang:type_header]--></th>
|
||||
<th class="coverCell hide"><!--[lang:cover_header]--></th>
|
||||
<th class="departmentCell hide"><!--[lang:department_header]--></th>
|
||||
<th class="categoryCell hide"><!--[lang:category_header]--></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
</tfoot>
|
||||
</table>
|
||||
107
wwwroot/themes/restaurant/orderScreen.tpl - Copy.htm
Normal file
107
wwwroot/themes/restaurant/orderScreen.tpl - Copy.htm
Normal file
@@ -0,0 +1,107 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>DredgePOS</title>
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
||||
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/restaurant/theme.css?id=ax" media="screen" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/restaurant/screen.css?id=ax" media="screen" />
|
||||
<meta name = "viewport" content = "width=1280, initial-scale = 0.8, user-scalable = no, shrink-to-fit=no" />
|
||||
<script type="text/javascript" src="posFunctions.js"></script>
|
||||
</head>
|
||||
<body class="darkMode">
|
||||
<div id="pageContainer">
|
||||
<div id="leftColumn">
|
||||
<div id="tableDetails">
|
||||
<h2><span id="activeTable"><!--[var:activeTable]--></span></h2>
|
||||
<p class="posButton coverNumbers"><span id="covers"><!--[var:covers]--></span> covers </p>
|
||||
<p class="clerk"><!--[var:loggedInAs]--></p>
|
||||
</div>
|
||||
<div id="orderBoxContainer">
|
||||
<!--[template:orderBoxTable]-->
|
||||
</div>
|
||||
<div id="leftColumnFooter">
|
||||
<p class="messageBox"></p>
|
||||
<h2>Total Price: <span class="orderBoxTotals">$0.00</span></h2>
|
||||
<p class="selectedTotal">($0.00 Selected)</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="rightColumn">
|
||||
<div id="topHalf">
|
||||
<div id="courseSelect" class="posButtonGroup">
|
||||
<h2><!--[lang:print_with]--></h2>
|
||||
<a onclick="setPrintGroupOverride(false, this)" class="toggle default posButton active"><!--[lang:print_with_category|default]--></a>
|
||||
<a onclick="setPrintGroupOverride('Starters',this)" class="posButton toggle"><!--[lang:print_with_category|Starters]--></a>
|
||||
<a onclick="setPrintGroupOverride('Mains',this)" class="posButton toggle"><!--[lang:print_with_category|Mains]--></a>
|
||||
<a onclick="setPrintGroupOverride('Desserts',this)" class="posButton toggle"><!--[lang:print_with_category|Desserts]--></a>
|
||||
<a onclick="setPrintGroupOverride('Drinks',this)" class="posButton toggle"><!--[lang:print_with_category|Drinks]--></a>
|
||||
</div>
|
||||
<div id="functions">
|
||||
<h2><!--[lang:functions_header]--></h2>
|
||||
<a onclick="loadScreen('tableMap')" class="posButton"><!--[lang:close_order_function]--></a>
|
||||
<a class="posButton accumulateButton"><!--[lang:accumulate_function]--></a>
|
||||
<a class="posButton void"><!--[lang:void]--></a>
|
||||
<a class="posButton"><!--[lang:pay_function]--></a>
|
||||
<a class="posButton saveOrder"><!--[lang:print_function]--></a>
|
||||
</div>
|
||||
<div id="positionControl">
|
||||
<a class="posButton freeText" data-type="instruction" data-id="freetext"
|
||||
data-name=""
|
||||
data-price="0"
|
||||
data-category="0"
|
||||
data-department="0"
|
||||
data-printgroup="0"><!--[lang:freetext_button]--></a>
|
||||
<div type="text" class="positionInput"><!--[lang:select_covers]--></div>
|
||||
<div id="positions">
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="topNumPad" class="numPad">
|
||||
<a class="posButton numberButton">1</a>
|
||||
<a class="posButton numberButton">2</a>
|
||||
<a class="posButton numberButton">3</a>
|
||||
<a class="posButton numberButton">4</a>
|
||||
<a class="posButton numberButton">5</a>
|
||||
<a class="posButton numberButton">6</a>
|
||||
<a class="posButton numberButton">7</a>
|
||||
<a class="posButton numberButton">8</a>
|
||||
<a class="posButton numberButton">9</a>
|
||||
<a class="posButton numberButton">0</a>
|
||||
<a class="posButton numberButton">.</a>
|
||||
<a class="posButton multiplier">×</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="bottomHalf">
|
||||
<!--[template:categoryMenu]-->
|
||||
<div id="itemGrid">
|
||||
<div id="itemWrapper">
|
||||
<!--[template:categories/StartersPage1]-->
|
||||
</div>
|
||||
</div>
|
||||
<div id="innerNavigation">
|
||||
<a class="posButton" onclick="scrollPage('left')"><</a>
|
||||
<a class="posButton" onclick="scrollPage('right')">></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--[template:keyboards]-->
|
||||
<script type="text/javascript">
|
||||
$(document).ready( function () {
|
||||
//Base grid width must be defined for multipage functionality to work.
|
||||
baseGridWidth = 850;
|
||||
dredgePosSetup();
|
||||
|
||||
$("#orderBox tbody tr").on( 'click', function ( e ) {
|
||||
selectRow($(this));
|
||||
} )
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
109
wwwroot/themes/restaurant/orderScreen.tpl.htm
Normal file
109
wwwroot/themes/restaurant/orderScreen.tpl.htm
Normal file
@@ -0,0 +1,109 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>DredgePOS</title>
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/current-device/umd/current-device.min.js"></script>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/restaurant/theme.css?id=ax" media="screen" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/restaurant/screen.css?id=ax" media="screen" />
|
||||
<meta name = "viewport" content = "user-scalable = no, initial-scale=0.8, maximum-scale=0.8 ,shrink-to-fit=yes" />
|
||||
<script type="text/javascript" src="currency.min.js"></script>
|
||||
<script type="text/javascript" src="posFunctions.js"></script>
|
||||
</head>
|
||||
<body class="darkMode">
|
||||
<span id="covers" style="display:none"><!--[var:covers]--></span>
|
||||
<div id="pageContainer">
|
||||
<div id="leftColumn">
|
||||
<div id="tableDetails">
|
||||
<h2><!--[var:activeTable]--></h2>
|
||||
<div>
|
||||
<a class="posButton coverNumbers"><!--[var:coverString]--></a>
|
||||
<a class="posButton"><!--[var:loggedInAs]--></a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="orderBoxContainer">
|
||||
<!--[template:orderBoxTable]-->
|
||||
</div>
|
||||
<div id="leftColumnFooter">
|
||||
<p class="messageBox"></p>
|
||||
<h2 class="orderBoxTotals">Total Price: <span >$0.00</span></h2>
|
||||
<p class="selectedTotal">($0.00 Selected)</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="rightColumn">
|
||||
<div id="topBar">
|
||||
<a class="posButton selectCover"><!--[lang:select_covers]--></a>
|
||||
<a class="posButton freeText" data-type="instruction" data-id="freetext"
|
||||
data-name=""
|
||||
data-price="0"
|
||||
data-category="0"
|
||||
data-department="0"
|
||||
data-printgroup="0"><!--[lang:freetext_button]--></a>
|
||||
<a class="posButton numpadMultiplier"><!--[lang:numpad_button]--></a>
|
||||
<div class="exit posButton" onclick="loadScreen('tableMap')">×</div>
|
||||
</div>
|
||||
<div id="topHalf">
|
||||
|
||||
<div class="functionColumn">
|
||||
<a onclick="setPrintGroupOverride(false, this)" class="posButton toggle default active"><!--[lang:print_with|default]--></a>
|
||||
<a onclick="setPrintGroupOverride('Starters', this)" class="posButton toggle"><!--[lang:print_with|Starters]--></a>
|
||||
<a onclick="setPrintGroupOverride('Mains', this)" class="posButton toggle"><!--[lang:print_with|Mains]--></a>
|
||||
<a onclick="setPrintGroupOverride('Desserts', this)" class="posButton toggle"><!--[lang:print_with|Desserts]--></a>
|
||||
<a onclick="setPrintGroupOverride('Drinks', this)" class="posButton toggle"><!--[lang:print_with|Drinks]--></a>
|
||||
</div>
|
||||
<div class="functionColumn">
|
||||
<a class="posButton accumulateButton"><!--[lang:accumulate_function]--></a>
|
||||
<a class="posButton void"><!--[lang:void]--></a>
|
||||
<a class="posButton saveOrder"><!--[lang:print_function]--></a>
|
||||
</div>
|
||||
<div class="functionColumn">
|
||||
|
||||
</div>
|
||||
<div class="endFunctionColumn">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="middleHalf">
|
||||
<!--[template:categoryMenu]-->
|
||||
|
||||
</div>
|
||||
<div id="bottomHalf">
|
||||
<div id="pageWrapper">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageControls">
|
||||
<a class="posButton previousPage"><!--[lang:prev_page]--></a>
|
||||
<a class="posButton nextPage"><!--[lang:next_page]--></a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="coverControl" class="popupBox"></div>
|
||||
<div id="gridContainer">
|
||||
<div id="gridHeader">
|
||||
<h3>Heading</h3>
|
||||
<a class="posButton closeGrid" onclick="hideGrids()">x</a>
|
||||
</div>
|
||||
<div id="gridBody"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--[template:keyboards]-->
|
||||
<script type="text/javascript">
|
||||
$(document).ready( function () {
|
||||
//Base grid width must be defined for multipage functionality to work.
|
||||
baseGridWidth = $('#bottomHalf').width();
|
||||
dredgePosSetup('#pageContainer');
|
||||
loadCategory('Starters');
|
||||
|
||||
updateTotal();
|
||||
|
||||
$("#orderBox tbody tr").on( 'click', function ( e ) {
|
||||
selectRow($(this));
|
||||
} )
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
225
wwwroot/themes/restaurant/paymentSplitter.css
Normal file
225
wwwroot/themes/restaurant/paymentSplitter.css
Normal file
@@ -0,0 +1,225 @@
|
||||
#pageContainer{
|
||||
width:100% !important;
|
||||
height:100vh !important;
|
||||
overflow:hidden;
|
||||
display:block !important
|
||||
}
|
||||
|
||||
.mobile{
|
||||
font-size:0.5em;
|
||||
}
|
||||
|
||||
#flexWrapper{
|
||||
display:flex;
|
||||
height:100%;
|
||||
flex-direction:column;
|
||||
}
|
||||
|
||||
#header{
|
||||
flex-basis:10%;
|
||||
background-color:#333;
|
||||
display:flex;
|
||||
border-bottom:solid 1px #eee;
|
||||
}
|
||||
|
||||
#header h1{
|
||||
flex-basis:80%;
|
||||
display:flex;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
}
|
||||
|
||||
#header a{
|
||||
flex-basis:10%;
|
||||
display:flex;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
}
|
||||
|
||||
#header a.exit{
|
||||
font-size:3em;
|
||||
}
|
||||
|
||||
#pageStructure{
|
||||
flex-basis:90%;
|
||||
display:flex;
|
||||
flex-direction:row;
|
||||
overflow:hidden;
|
||||
|
||||
}
|
||||
|
||||
#leftColumn{
|
||||
display:flex;
|
||||
flex-basis:40%;
|
||||
flex-direction:column;
|
||||
background-color:#222;
|
||||
}
|
||||
|
||||
#controlColumn{
|
||||
flex-basis:4%;
|
||||
display:flex;
|
||||
height:100%;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
flex-direction:column;
|
||||
background-color:#333;
|
||||
}
|
||||
|
||||
#controlColumn .posButton{
|
||||
flex-basis:40%;
|
||||
width:100%;
|
||||
display:flex;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
font-size:3em;
|
||||
}
|
||||
|
||||
#centerColumn{
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
overflow:hidden;
|
||||
height:100%;
|
||||
flex-basis:30%;
|
||||
background-color:#222
|
||||
}
|
||||
|
||||
#rightColumn{
|
||||
flex-direction:column;
|
||||
display:flex;
|
||||
height:100%;
|
||||
flex-basis:27%;
|
||||
}
|
||||
|
||||
|
||||
h2{
|
||||
background-color:#666;
|
||||
border-bottom:solid 2px #eee;
|
||||
text-align:center;
|
||||
display:flex;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
flex-basis:5%;
|
||||
}
|
||||
|
||||
.tableWrapper{
|
||||
flex-basis:80%;
|
||||
overflow-y:auto;
|
||||
width:100%;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
.tableFooter{
|
||||
flex-basis:15%;
|
||||
background-color:#666;
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
align-items:center;
|
||||
justify-content:flex-end;
|
||||
}
|
||||
|
||||
|
||||
.controlRow, .totalsRow{
|
||||
flex:1;
|
||||
display:flex;
|
||||
align-items:center;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.totalsRow h3, .totalRows p{
|
||||
display:flex;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.totalsRow h3{
|
||||
flex-basis:40%;
|
||||
}
|
||||
|
||||
.totalRows p{
|
||||
align-items:flex-start;
|
||||
flex-basis:60%;
|
||||
}
|
||||
|
||||
.totalsRow{
|
||||
flex-direction:column;
|
||||
}
|
||||
|
||||
.controlRow a{
|
||||
flex:1;
|
||||
height:100%;
|
||||
display:flex;
|
||||
justify-content:center;
|
||||
align-items:center;
|
||||
}
|
||||
|
||||
table{
|
||||
width:100%;
|
||||
}
|
||||
|
||||
th{
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
th, td{
|
||||
height:3em;
|
||||
vertical-align:middle;
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.instructionRow td{
|
||||
font-weight:lighter !important;
|
||||
|
||||
}
|
||||
|
||||
.itemCell{
|
||||
text-align:left !important;
|
||||
}
|
||||
|
||||
.instructionRow .itemCell{
|
||||
padding-left:2em;
|
||||
}
|
||||
|
||||
.invisibleText{
|
||||
color:rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
tr.selected{
|
||||
background-color:#aaa !important;
|
||||
}
|
||||
|
||||
tr.partially{
|
||||
background-color:#ffeba1 !important;
|
||||
color:#666 !important;
|
||||
}
|
||||
|
||||
#rightColumnContainer{
|
||||
display:flex;
|
||||
justify-content:center;
|
||||
flex-direction:column;
|
||||
height:60%;
|
||||
}
|
||||
|
||||
#rightColumnContainer .row{
|
||||
flex:1;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
#rightColumnContainer .row a{
|
||||
display:flex;
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
flex:1;
|
||||
}
|
||||
|
||||
.heading{
|
||||
font-size:1.5em;
|
||||
background-color:#000;
|
||||
}
|
||||
|
||||
|
||||
#second .clerkCell{
|
||||
display:none;
|
||||
}
|
||||
157
wwwroot/themes/restaurant/paymentSplitter.tpl.htm
Normal file
157
wwwroot/themes/restaurant/paymentSplitter.tpl.htm
Normal file
@@ -0,0 +1,157 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>DredgePOS</title>
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
||||
<script src="https://unpkg.com/current-device/umd/current-device.min.js"></script>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/restaurant/theme.css?id=ax" media="screen" />
|
||||
<link rel="stylesheet" type="text/css" href="themes/restaurant/paymentSplitter.css?id=ax" media="screen" />
|
||||
<meta name = "viewport" content = "user-scalable = no, initial-scale=0.8 ,shrink-to-fit=yes" />
|
||||
<script type="text/javascript" src="currency.min.js"></script>
|
||||
<script type="text/javascript" src="posFunctions.js"></script>
|
||||
<script type="text/javascript" src="paymentFunctions.js"></script>
|
||||
</head>
|
||||
<body class="darkMode" data-tablenumber="<!--[var:activeTable]-->">
|
||||
<div id="pageContainer">
|
||||
<div id="flexWrapper">
|
||||
<div id="header">
|
||||
<a class="posButton"><!--[var:loggedInAs]--></a>
|
||||
<h1><!--[lang:paying_table|<!--[var:activeTable]-->]--></h1>
|
||||
<a class="posButton exit" onclick="loadScreen('tableMap')">×</a>
|
||||
</div>
|
||||
<div id="pageStructure">
|
||||
<div id="leftColumn">
|
||||
|
||||
<h2>Whole Table</h2>
|
||||
<div class="tableWrapper">
|
||||
<table id="first" cellspacing="0">
|
||||
<thead>
|
||||
<th class="hide"><!--[lang:id_header]--></th>
|
||||
<th><!--[lang:qty_header]--></th>
|
||||
<th><!--[lang:item_header]--></th>
|
||||
<th class="hide"><!--[lang:individual_price_header]--></th>
|
||||
<th class="hide"><!--[lang:printgroup_header]--></th>
|
||||
<th class="totalpriceCell"><!--[lang:total_price_header]--></th>
|
||||
<th class="hide"><!--[lang:cover_header]--></th>
|
||||
<th class="clerkCell"><!--[lang:clerk_header]--></th>
|
||||
<th class="hide"><!--[lang:orig_qty_header]--></th>
|
||||
<th class="hide"><!--[lang:category_header]--></th>
|
||||
<th class="hide"><!--[lang:department_header]--></th>
|
||||
<th class="hide"><!--[lang:orig_tprice_header]--></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--[var:tableHTML]-->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="tableFooter">
|
||||
<div class="totalsRow">
|
||||
<h3 class="firstTotal"></h3>
|
||||
<p class="firstSelectedTotal"></p>
|
||||
</div>
|
||||
<div class="controlRow">
|
||||
<a class="posButton payAll"><!--[lang:pay_all]--></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="controlColumn">
|
||||
<a class="posButton" onclick="moveItems('#first', '#second')">></a>
|
||||
<a class="posButton" onclick="moveItems('#second', '#first')"><</a>
|
||||
</div>
|
||||
<div id="centerColumn">
|
||||
<h2>Partial Table</h2>
|
||||
<div class="tableWrapper">
|
||||
<table id="second" cellspacing="0">
|
||||
<thead>
|
||||
<th class="hide"><!--[lang:id_header]--></th>
|
||||
<th><!--[lang:qty_header]--></th>
|
||||
<th><!--[lang:item_header]--></th>
|
||||
<th class="hide"><!--[lang:individual_price_header]--></th>
|
||||
<th class="hide"><!--[lang:printgroup_header]--></th>
|
||||
<th class="totalpriceCell"><!--[lang:total_price_header]--></th>
|
||||
<th class="hide"><!--[lang:cover_header]--></th>
|
||||
<th class="clerkCell"><!--[lang:clerk_header]--></th>
|
||||
<th class="hide"><!--[lang:orig_qty_header]--></th>
|
||||
<th class="hide"><!--[lang:category_header]--></th>
|
||||
<th class="hide"><!--[lang:department_header]--></th>
|
||||
<th class="hide"><!--[lang:orig_tprice_header]--></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="tableFooter">
|
||||
<div class="totalsRow">
|
||||
<h3 class="secondTotal"></h3>
|
||||
<p class="secondSelectedTotal"></p>
|
||||
</div>
|
||||
|
||||
<div class="controlRow">
|
||||
<a class="posButton payPartial"><!--[lang:pay_table]--></a>
|
||||
<a class="posButton transferPartial">Transfer to Another Table</a>
|
||||
<a class="posButton selectAllSecond">Select All</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="rightColumn">
|
||||
<h2>Controls</h2>
|
||||
<div id="rightColumnContainer">
|
||||
<div class="row">
|
||||
<a class="heading" onclick="">Selection Tools</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="posButton qtySelector">Select Quantity</a>
|
||||
<a class="posButton selectAmount">Select Amount</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="selectDepartment posButton">Select By Department</a>
|
||||
<a class="selectCategory posButton">Select By Category</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="selectCovers posButton">Select by Cover #</a>
|
||||
<a class="selectPrintGroup posButton">Select by Printed With</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="selectAll posButton">Select All</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="heading">Select By Fraction</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="posButton selectFraction" data-value="2">Select 1⁄2</a>
|
||||
<a class="posButton selectFraction" data-value="3">Select 1⁄3</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="posButton selectFraction" data-value="4">Select 1⁄4</a>
|
||||
<a class="posButton selectFraction" data-value="5">Select 1⁄5</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="posButton selectFraction" data-value="6">Select 1⁄6</a>
|
||||
<a class="posButton selectFraction" data-value="7">Select 1⁄7</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a class="posButton selectFraction" data-value="8">Select 1⁄8</a>
|
||||
<a class="posButton selectFraction" data-value="<!--[var:covers]-->">Select 1⁄covers</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="coverControls" class="popupBox"><!--[var:coverButtons]--></div>
|
||||
<div id="departmentControl" class="popupBox"><!--[var:departmentButtons]--></div>
|
||||
<div id="categoryControl" class="popupBox"><!--[var:categoryButtons]--></div>
|
||||
<div id="printGroupControl" class="popupBox"><!--[var:printGroupButtons]--></div>
|
||||
<!--[template:keyboards]-->
|
||||
<script type="text/javascript">
|
||||
$(document).ready( function () {
|
||||
covers = '<!--[var:covers]-->'
|
||||
dredgePosSetup('#pageContainer');
|
||||
setupPaymentSplitter();
|
||||
} );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
1
wwwroot/themes/restaurant/popupBoxItems.tpl.htm
Normal file
1
wwwroot/themes/restaurant/popupBoxItems.tpl.htm
Normal file
@@ -0,0 +1 @@
|
||||
<a data-value="<!--[var:value]-->" class="posButton <!--[var:class]-->"><!--[var:text]--></a>
|
||||
1
wwwroot/themes/restaurant/roomButton.tpl.htm
Normal file
1
wwwroot/themes/restaurant/roomButton.tpl.htm
Normal file
@@ -0,0 +1 @@
|
||||
<a class="posButton roomButton" data-value="<!--[var:roomId]-->"><!--[var:roomName]--></a>
|
||||
83
wwwroot/themes/restaurant/tableMap.tpl.htm
Normal file
83
wwwroot/themes/restaurant/tableMap.tpl.htm
Normal file
@@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>DredgePOS</title>
|
||||
<script src="https://unpkg.com/current-device/umd/current-device.min.js"></script>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name = "viewport" content = "user-scalable = no, initial-scale=0.8,maximum-scale=0.8 ,shrink-to-fit=yes" />
|
||||
</head>
|
||||
<body class="darkMode">
|
||||
<div id="tableScreen">
|
||||
<div id="tablemapLeftColumn">
|
||||
<div class="topCell">
|
||||
<a class="posHeader">Logged in as <!--[arr:clerk|clerk_name]--></a>
|
||||
</div>
|
||||
<div class="middleCell">
|
||||
|
||||
</div>
|
||||
<div class="bottomCell">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="tablemapCenterColumn">
|
||||
<div id="centerTopRow">
|
||||
<!--[var:roomMenu]-->
|
||||
</div>
|
||||
<div id="mapContainer">
|
||||
<div id="tableMap"></div>
|
||||
</div>
|
||||
<div id="centerBottomRow">
|
||||
<div class="editControls">
|
||||
<a class="posHeader currentTable"></a>
|
||||
<a onclick="loadScreen('orderScreen', 'table='+selectedTableNumber)" class="posButton"><!--[lang:order_table]--></a>
|
||||
<a class="posButton reserveTableButton"><!--[lang:reserve_table]--></a>
|
||||
<a onclick="loadScreen('paymentSplitter', 'table='+selectedTableNumber)" class="posButton payTableButton"><!--[lang:pay_table]--></a>
|
||||
<a class="posButton viewTableButton"><!--[lang:view_table]--></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tablemapRightColumn">
|
||||
<div class="topCell">
|
||||
<a class="posButton logOut" onclick="logout()">×</a>
|
||||
</div>
|
||||
<div class="middleCell">
|
||||
<a class="posButton editModeButton"><!--[lang:edit_floorplan]--></a>
|
||||
<div class="floorplanControls">
|
||||
<a class="posButton addTableButton"><!--[lang:add_table]--></a>
|
||||
<a class="posButton addDecoration"><!--[lang:add_decoration]--></a>
|
||||
<a class="posButton deleteDecoration"><!--[lang:delete_decoration]--></a>
|
||||
<a class="posButton deleteTableButton"><!--[lang:delete_table]--></a>
|
||||
<a class="posButton changeShapeButton"><!--[lang:change_shape]--></a>
|
||||
</div>
|
||||
<div class="mergeControls">
|
||||
<a onclick="mergeModeOn()" class="posButton mergeButton"><!--[lang:merge_table]--></a>
|
||||
<a onclick="unmergeTable()" class="posButton unmergeButton"><!--[lang:unmerge_table]--></a>
|
||||
<a class="transferTableButton posButton"><!--[lang:transfer_table]--></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottomCell">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--[template:keyboards]-->
|
||||
<div id="decorator">
|
||||
<div id="decoratorHeader">
|
||||
<h2><!--[lang:choose_decoration]--></h2>
|
||||
<a class="posButton" onclick="$('#decorator').css('display','none')">×</a>
|
||||
</div>
|
||||
<div id="decoratorContent"><!--[var:decorator]--></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var roomToLoad = 1;
|
||||
var width = 1152
|
||||
var height = 850
|
||||
$(document).ready( function () {
|
||||
setupTableMap();
|
||||
} );
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
70
wwwroot/themes/restaurant/virtualKeyboard.tpl.htm
Normal file
70
wwwroot/themes/restaurant/virtualKeyboard.tpl.htm
Normal file
@@ -0,0 +1,70 @@
|
||||
<div id="virtualKeyboard">
|
||||
<div class="headingRow">
|
||||
<h3 id="virtualKeyboardHeading"></h3>
|
||||
<a class="posButton closeKeyboards">X</a>
|
||||
</div>
|
||||
<div id="virtualKeyboardInput"></div>
|
||||
<div id="virtualKeyboardButtons">
|
||||
<div class="virtualKeyboardRow">
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
</div>
|
||||
<div class="virtualKeyboardRow">
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
</div>
|
||||
<div class="virtualKeyboardRow">
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
</div>
|
||||
<div class="virtualKeyboardRow">
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
<a></a>
|
||||
</div>
|
||||
<div class="virtualKeyboardRow">
|
||||
<a></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
28
wwwroot/themes/restaurant/virtualNumpad.tpl.htm
Normal file
28
wwwroot/themes/restaurant/virtualNumpad.tpl.htm
Normal file
@@ -0,0 +1,28 @@
|
||||
<div id="virtualNumpad">
|
||||
<div class="headingRow">
|
||||
<h3 id="virtualNumpadHeading"></h3>
|
||||
<a class="posButton closeKeyboards">X</a>
|
||||
</div>
|
||||
<div id="virtualNumpadInput"></div>
|
||||
<div id="virtualNumpadButtons">
|
||||
<div class="virtualNumpadRow">
|
||||
<a data-value="1" class="posButton virtualNumpadButton">1</a>
|
||||
<a data-value="2" class="posButton virtualNumpadButton">2</a>
|
||||
<a data-value="3" class="posButton virtualNumpadButton">3</a>
|
||||
</div><div class="virtualNumpadRow">
|
||||
<a data-value="4" class="posButton virtualNumpadButton">4</a>
|
||||
<a data-value="5" class="posButton virtualNumpadButton">5</a>
|
||||
<a data-value="6" class="posButton virtualNumpadButton">6</a>
|
||||
</div><div class="virtualNumpadRow">
|
||||
<a data-value="7" class="posButton virtualNumpadButton">7</a>
|
||||
<a data-value="8" class="posButton virtualNumpadButton">8</a>
|
||||
<a data-value="9" class="posButton virtualNumpadButton">9</a>
|
||||
</div><div class="virtualNumpadRow">
|
||||
<a data-value="0" class="posButton virtualNumpadButton">0</a>
|
||||
<a data-value="." class="posButton virtualNumpadButton">.</a>
|
||||
<a data-value="clear" class="posButton virtualNumpadButton virtualNumpadClear">Clear</a>
|
||||
</div><div class="virtualNumpadRow">
|
||||
<a data-value="submit" class="posButton virtualNumpadButton virtualNumpadSubmit">Enter</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user