Yellow Bike Project Hours and Transaction Database for Community Bike Shops
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

94 lines
3.9 KiB

<script type="text/javascript">
var t;
window.onload=resetTimer;
document.onmousedown=resetTimer;
document.onkeypress=resetTimer;
function logout()
{
location.href='shop_welcome.php'
}
function resetTimer()
{
clearTimeout(t);
//t=setTimeout(logout,1000*240) //Shop welcome after 240 seconds of inactivity
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>YBDB</title>
<link href="css/transactions.css" rel="stylesheet" type="text/css" />
<link href="css/contacts.css" rel="stylesheet" type="text/css" />
<link href="css/stats.css" rel="stylesheet" type="text/css" />
<link href="css/css_yb_standard.css" rel="stylesheet" type="text/css" />
<link href="css/jquery.nouislider.css" rel="stylesheet" type="text/css" />
<link href="css/chosen.css" rel="stylesheet" type="text/css" />
<link href="css/ui/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="css/tabulator/tabulator_site.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-2.1.1.js"></script>
<script src="js/transaction.js"></script>
<script src="js/contact.js"></script>
<script src="js/shop.js"></script>
<script src="js/reports.js"></script>
<script src="js/jquery.mask.js"></script>
<script src="js/jquery.jeditable.js"></script>
<script src="js/jquery.nouislider.js"></script>
<script src="js/chosen.jquery.js"></script>
<script src="js/jquery.liblink.js"></script>
<script src="js/wNumb.js"></script>
<script src="js/ui/jquery-ui.js"></script>
<script src="js/moment/moment.js"></script>
<script src="js/tabulator/dist/js/tabulator.min.js"></script>
<script src="js/etherpad.js"></script>
<script src="js/jquery.ns-autogrow/dist/jquery.ns-autogrow.js"></script>
<script>
$(function() {
// prevent a double etherpad if shop_log_iframe is clicked on after a shop closes
$("#shop_log_link").on("click keypress", function(e) {
$.post("json/transaction.php", {shop_exist: 1}, function(data) {
if (data === "no_shop") {
window.top.location.href = "./start_shop.php";
}
});
});
if ( document.location.pathname.match(/shop_welcome\.php$/) ) {
$("#shop_log_link").attr("href","/shop_log_iframe.php");
} else {
$("#shop_log_link").attr("href","/shop_log.php");
}
});
</script>
</head>
<body class="yb_standard">
<table align="center" width="1000" border="0" cellpadding="1" cellspacing="0">
<tr valign="top">
<td height="40" align="right"><a id="shop_log_link" href="/shop_log.php">Current Shop</a> | <a href="/start_shop.php" target="_parent"> All Shops</a> | <a href="/contact_add_edit_select.php" target="_parent">Add/Edit Contact</a> | <a href="/stats.php" target="_parent">Reports</a> | <a href="/transaction_log.php" target="_parent">Transaction Log</a> | <a href="http://www.positivespin.org" target="_blank">PS Home</a></td>
</tr>
<tr>
<td>
<!--
<div style="float: left; width: 12.5%; height: 40px; display: inline-block;"></div>
<div style="float: left; align-content: center; width: 75%; height: 40px; display: inline-block;">
<div align="right"><a id="shop_log_link" href="/shop_log.php">Current Shop</a> |
<a href="/start_shop.php" target="_parent"> All Shops</a> |
<a href="/contact_add_edit_select.php" target="_parent">Add/Edit Contact</a> |
<a href="/stats.php" target="_parent">Reports</a> |
<a href="/transaction_log.php" target="_parent">Transaction Log</a> |
<a href="http://www.positivespin.org" target="_blank">PS Home</a></div>
</div>
<div style="float: left; width: 12.5%; height: 40px; display: inline-block;"></div>
<div style="float: left; width: 12.5%; height: 100%; display: inline-block;"></div>
<table style="float: left; width: 75%; display: inline-block;" align="center" border="0" cellpadding="1" cellspacing="0"><tr><td>
-->