mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-14 10:39:27 +00:00
Minor GUI optimizations
. Changed status icon on header row . No mousepointer on unselectable geanderte LA in LA akzeptieren
This commit is contained in:
@@ -189,6 +189,7 @@ $this->load->view(
|
||||
if (bestellt != null && (betrag != vertrag_betrag))
|
||||
{
|
||||
cell.getElement().classList.add('bg-warning'); // geaenderte
|
||||
row.getElement().style["pointerEvents"] = "none";
|
||||
}
|
||||
else if(bestellt != null && erteilt != null && akzeptiert == null)
|
||||
{
|
||||
@@ -222,7 +223,7 @@ $this->load->view(
|
||||
// Add status column to table
|
||||
table.addColumn(
|
||||
{
|
||||
title: "Status",
|
||||
title: "<i class='fa fa-user-o'></i>",
|
||||
field: "status",
|
||||
width:40,
|
||||
align:"center",
|
||||
|
||||
@@ -268,7 +268,7 @@ $this->load->view(
|
||||
// Add status column to table
|
||||
table.addColumn(
|
||||
{
|
||||
title: "Status",
|
||||
title: "<i class='fa fa-user-o'></i>",
|
||||
field: "status",
|
||||
width:40,
|
||||
align:"center",
|
||||
@@ -602,10 +602,6 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
$("#download-cvs").click(function(){
|
||||
$('#filterTabulator').tabulator("download", "csv", "data.csv");
|
||||
});
|
||||
|
||||
// Approve Lehrauftraege
|
||||
$("#approve-lehrauftraege").click(function(){
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ $this->load->view(
|
||||
// Add status column to table
|
||||
table.addColumn(
|
||||
{
|
||||
title: "Status",
|
||||
title: "<i class='fa fa-user-o'></i>",
|
||||
field: "status",
|
||||
width:40,
|
||||
align:"center",
|
||||
@@ -574,7 +574,7 @@ $(function() {
|
||||
);
|
||||
});
|
||||
|
||||
// Show only rows with ordered lehrauftraege
|
||||
// Show only rows with akzeptierte lehrauftraege
|
||||
$("#show-accepted").click(function(){
|
||||
$('#filterTabulator').tabulator('setFilter',
|
||||
[
|
||||
@@ -585,7 +585,7 @@ $(function() {
|
||||
);
|
||||
});
|
||||
|
||||
// Show only rows with dummy lectors
|
||||
// Show only rows with geaenderte lectors
|
||||
$("#show-changed").click(function(){
|
||||
// needs custom filter to compare fields betrag and vertrag_betrag
|
||||
$('#filterTabulator').tabulator('setFilter', filter_showChanged);
|
||||
|
||||
Reference in New Issue
Block a user