2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

lp # 1502914 fix, more bootstrap

This commit is contained in:
Alex
2015-10-05 17:08:06 +03:00
parent d3095e7191
commit d3d686bc32
2 changed files with 7 additions and 8 deletions

View File

@@ -77,8 +77,8 @@ $js = array();
if (AUTO_LOGOUT_MINUTES !== false) if (AUTO_LOGOUT_MINUTES !== false)
$js = array("include/jquery/jquery-1.4.2.min.js","js/childnap.js"); $js = array("include/jquery/jquery-1.4.2.min.js","js/childnap.js");
$jsw = "js/window.js"; if (isset($_GET['interface2'])) { if (browser_ie()) $jsw = "js/window_ie6_interface2.js"; else $jsw = "js/window_interface2.js"; }
if (browser_ie()) $jsw = "js/window_ie6.js"; else { if (browser_ie()) $jsw = "js/window_ie6.js"; else $jsw = "js/window.js"; }
$js[] = $jsw; $js[] = $jsw;

View File

@@ -63,9 +63,9 @@ $state = is_on_call($operator_id);
$js = array("js/popup.js"); $js = array("js/popup.js");
if (browser_ie()) if (browser_ie())
$js[] = "js/window_ie6.js"; $js[] = "js/window_ie6_interface2.js";
else else
$js[] = "js/window.js"; $js[] = "js/window_interface2.js";
if (AUTO_LOGOUT_MINUTES !== false) if (AUTO_LOGOUT_MINUTES !== false)
{ {
@@ -178,9 +178,8 @@ if ($ca)
$apdate = $rs['time']; $apdate = $rs['time'];
if (missed_appointment($ca)) print "<div class='alert alert-warning'>" . T_("MISSED") . ": " . $apdate . "</div>";
print "<div class='tobecoded statusbox'>" . T_("Appointment") . ": " . $apdate . "</div><div style='clear: both;'/>"; else print "<div class='alert alert-info'>" . T_("Appointment") . ": " . $apdate . "</div>";
//if (missed_appointment($ca)) print "<div class='tobecoded statusbutton'>" . T_("MISSED") . "</div>";
} }
if ($call_id) if ($call_id)
@@ -222,7 +221,7 @@ if ($ca)
<p> <p>
<input onclick='this.form.submit();' type='radio' name='contactphone' value='{$r['contact_phone_id']}' id='contactphone{$r['contact_phone_id']}' {$r['checked']}/>&ensp; <input onclick='this.form.submit();' type='radio' name='contactphone' value='{$r['contact_phone_id']}' id='contactphone{$r['contact_phone_id']}' {$r['checked']}/>&ensp;
<label for='contactphone{$r['contact_phone_id']}'>{$r['phone']}"; <label for='contactphone{$r['contact_phone_id']}'>{$r['phone']}";
if ($r['checked']) print "&emsp;<a href='callto:{$r['phone']}'><i class='fa fa-phone fa-fw'></i> " . T_('Dial') . "</a>"; if ($r['checked']) print "&emsp;<a href='callto:{$r['phone']}' class='btn btn-primary btn-xs'><i class='fa fa-phone fa-fw'></i>&ensp;" . T_('Dial') . "</a>";
if (!empty($r['description'])) print " - " . $r['description']; if (!empty($r['description'])) print " - " . $r['description'];
print "</label> print "</label>
</p> </p>