Browse Source

Makes status font smaller to avoid overruns.

devel
Jonathan Rosenbaum 7 years ago
parent
commit
7b1e3f0545
  1. 2
      js/shop.js
  2. 2
      shop_log.php

2
js/shop.js

@ -14,6 +14,7 @@ $(function(){
$("[name='project']").attr("tabindex",4);
$("[name='comment']").attr("tabindex",5);
$("[name='Submit']").attr("tabindex",6);
$(".shop_user_role").css({fontSize: ".75em", fontWeight: "bold"})
// error handler for shops with a popup dialog (TODO)
function error_handler(input,error_span,error,error_text,event) {
@ -90,6 +91,7 @@ $(function(){
var volunteer_hours_redeemed = 0;
var obj = $.parseJSON(data);
console.log(obj.volunteer);
var volunteer = "", remaining = 0, vhr = "", max_bikes_earned = 0;
if (obj.volunteer) {
volunteer = $.parseJSON(obj.volunteer);

2
shop_log.php

@ -245,7 +245,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "FormEdit")) {
<form method="post" name="FormUpdate_<?php echo $row_Recordset1['shop_visit_id']; ?>" action="<?php echo $editFormAction; ?>">
<tr bordercolor="#CCCCCC" id="<?php echo $row_Recordset1['contact_id']; ?>">
<td><a href="<?php echo "{$page_individual_history_log}?contact_id=" . $row_Recordset1['contact_id']; ?>"><?php echo $row_Recordset1['full_name']; ?></a></td>
<td><?php echo $row_Recordset1['shop_user_role']; ?></td>
<td class="shop_user_role"><?php echo $row_Recordset1['shop_user_role']; ?></td>
<td><?php echo date_to_time($row_Recordset1['time_in']); ?></td>
<td><?php echo list_time($row_Recordset1['time_in'],$row_Recordset1['time_out'],'time_out',0,1,'none', $shop_hours_length, $row_Recordset1['et']); ?></td>
<td><?php sign_out($row_Recordset1['time_out'], $row_Recordset1['first_name']); ?>&nbsp</td>

Loading…
Cancel
Save