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

Fixed missing </div> tag ,

Added Clear and Cancel buttons
This commit is contained in:
Alex
2015-10-05 16:34:01 +03:00
parent c9d11ceb08
commit a184c66d87

View File

@@ -72,7 +72,7 @@ $case_id = get_case_id($operator_id);
if (!$case_id){
xhtml_head(T_("Appointment error"));
print("<div>" . T_("You have not been assigned a case therefore cannot create an appointment") . "</div>");
print("<div class='alert alert-danger'>" . T_("You have not been assigned a case therefore cannot create an appointment") . "</div>");
xhtml_foot();
$db->CompleteTrans();
exit();
@@ -123,7 +123,7 @@ if (AUTO_LOGOUT_MINUTES !== false)
$js[] = "include/jquery/jquery-1.4.2.min.js";
$js[] = "js/childnap.js";
}
xhtml_head(T_("Create appointment"),false,array("include/bootstrap/css/bootstrap.min.css", "css/respondent.css"),$js);//"include/clockpicker/dist/bootstrap-clockpicker.min.css",
xhtml_head(T_("Create appointment"),false,array("include/bootstrap/css/bootstrap.min.css"),$js);
//select a respondent from a list or create a new one
print "<h4>" . T_("Respondent") . ":";
@@ -161,6 +161,8 @@ else if(isset($_GET['respondent_id']))
display_time($questionnaire_id,$respondent_id,$day,$month,$year,isset($_GET['start'])?$_GET['start']:false,isset($_GET['end'])?$_GET['end']:false);
print "</div>";
if (isset($_GET['end']) && isset($_GET['start']))
{
$list = return_contact_phone_list($case_id);
@@ -242,7 +244,7 @@ else if(isset($_GET['respondent_id']))
}
}
print "<div class='col-md-12'><a class='btn btn-warning pull-left' href='?'>".T_("Clear")."</a><a class='btn btn-default pull-right' href='javascript:parent.closePopup();'>".T_("Cancel")."</a></div><div class='clearfix'></div>";
xhtml_foot();