Usability Enhancement: Click on list rows to View/Edit items.

Misc other fixes.
This commit is contained in:
Nate Jones
2014-06-22 04:50:16 +00:00
parent 7f36b2d6d2
commit 09e5da60a8
4 changed files with 22 additions and 16 deletions
+6 -6
View File
@@ -50,8 +50,8 @@ else {
echo "<tr>\n";
echo " <td width='30%' align='left' valign='top' nowrap='nowrap'><b>".$text['label-call-statistics']."</b></td>\n";
echo " <td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' value='CSV' onclick=\"document.location.href='xml_cdr_statistics_csv.php';\">\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='xml_cdr.php'\" value='".$text['button-back']."'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='xml_cdr.php'\" value='".$text['button-back']."'>\n";
echo " <input type='button' class='btn' value='".$text['button-download_csv']."' onclick=\"document.location.href='xml_cdr_statistics_csv.php';\">\n";
echo " </td>\n";
echo "</tr>\n";
echo "<tr>\n";
@@ -108,7 +108,7 @@ else {
"aloc": {
label: "ALOC",
data: <?php echo json_encode($graph['aloc']); ?>
},
},
};
// hard-code color indices to prevent them from shifting as
@@ -118,8 +118,8 @@ else {
val.color = i;
++i;
});
// insert checkboxes
// insert checkboxes
var choiceContainer = $("#choices");
$.each(datasets, function(key, val) {
choiceContainer.append('<br /><input type="checkbox" name="' + key +
@@ -129,7 +129,7 @@ else {
});
choiceContainer.find("input").click(plotAccordingToChoices);
function plotAccordingToChoices() {
var data = [];