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
+5
View File
@@ -156,6 +156,11 @@
$text['button-back']['pt-pt'] = "Voltar";
$text['button-back']['fr-fr'] = "Retour";
$text['button-download_csv']['en-us'] = "Download CSV";
$text['button-download_csv']['es-cl'] = "Descarga CSV";
$text['button-download_csv']['pt-pt'] = "Baixar CSV";
$text['button-download_csv']['fr-fr'] = "Télécharger CSV";
$text['description-5']['en-us'] = "A detailed view of the call and all information regarding it.";
$text['description-5']['es-cl'] = "Una vista detallada de la información de la llamada.";
$text['description-5']['pt-pt'] = "Uma visão detalhada da chamada e de todas as informações sobre ela.";
+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 = [];