Welcome, Guest. Please login or register.

Author Topic: Display (f.e.) Number of Devices on Top and not Bottom of Table  (Read 151 times)

SchmuFoo

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Display (f.e.) Number of Devices on Top and not Bottom of Table
« on: February 05, 2019, 03:32:18 PM »
At the moment when displaying f.e. all devices, you have to scroll down the whole list to get the info a la "82 Devices, Sort: device, Limit: 250 ".

I would like to see that info (additionally) in the top section of the table, so you don't have to scroll.


Cheers


rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2677
    • View Profile
    • NeDi
Re: Display (f.e.) Number of Devices on Top and not Bottom of Table
« Reply #1 on: February 07, 2019, 11:11:44 AM »
They the total is calculated it can only be displayed after the table, unless some javascript would be added.

Is this something you want to see in general, or do you have a particular task that would be made easier with it?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

dohco

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Display (f.e.) Number of Devices on Top and not Bottom of Table
« Reply #2 on: February 08, 2019, 04:18:19 PM »
I modified Devices-List.php to show the result on top of the table. See instructions in the attached file on how to modify Devices-List.php.
This is for NeDi version 1.8 but you can make it work with other versions as well.

! MAKE A COPY OF THE ORIGINAL FILE BEFORE EDITING !

/Conny