Commit Graph

97 Commits

Author SHA1 Message Date
Oliver Gorwits
799358f86c get rid of device_ports and self_options template vars 2014-11-03 19:59:42 +00:00
Oliver Gorwits
ca6a08ef46 Change from ?tab=tabname param to .../tabname path
The reason for this is that DataTables keys local data on the page path, so
each tab should have its own path. We're already doing this for reports and
admin tasks, so it also makes sense to have consistency with search and device
tabs.

Squashed commit of the following:

commit 4ad33a23a81122496adfe561ad14f039e6255eff
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:46:17 2014 +0100

    fix search preference selection

commit 363e094935d386961e8773f787af41c46b83129a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:36:45 2014 +0100

    fix css selector to match begins with /search

commit 43c972ee0d9401f74dcc3bd30052dba130b0d068
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:18:24 2014 +0100

    fix history push

commit 84f83eb46874b0222c0484014389713e4f027c8a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:06:44 2014 +0100

    update sidebar form for tab-path, remove hidden tab name field

commit 344d4679a83f714c998cd475c041f8effab0c696
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:05:49 2014 +0100

    update template links for tab path

commit 9cf370d7eb4413aac6fc19c2c13a9bf670600965
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:04:57 2014 +0100

    move tab-specific JS from common into specific includes files

commit c2d8592a18e389535368d1e74fed29fe5a0eabd8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:02:46 2014 +0100

    fix mode

commit 52487cea47eaaea7f5c74536ad6d4bb2a8d6ba4c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:01:15 2014 +0100

    move from tab param to tabname template var

commit b5a2424631a0050d5de3bc658746a40cd822e869
Merge: 531782b d8102bf
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 10:50:00 2014 +0100

    Merge branch 'master' into em-device-ports-json
2014-10-25 14:51:15 +01:00
Oliver Gorwits
090cd631d4 Fix typo in the Device By Location report template 2014-10-07 18:48:38 +01:00
Oliver Gorwits
b63cd0b643 extract common DT options to template 2014-09-15 22:15:48 +01:00
Oliver Gorwits
fb7bcbf120 fix undef data error in JS, and when no remote_(ip|port) 2014-08-25 17:13:11 +01:00
Oliver Gorwits
4c08de9512 Add Nodes discovered through LLDP/CDP report 2014-08-25 16:45:38 +01:00
Eric A. Miller
7f768b544f Use custom portsort plug-in on port columns within DataTables not using server-side processing 2014-08-12 21:51:26 -04:00
Oliver Gorwits
c1846103fe DataTables render function should check for type 2014-07-21 21:48:52 +00:00
Bill Fenner
b86ff6580e Use name in the name column, and fix link.
The template was a little mangled (missing href=), and the
ip address was the preferred value for the name column - switch
it to name
2014-07-21 00:10:10 +00:00
Eric A. Miller
0ea6f754b4 Custom path handling for DataTables ajax calls 2014-07-16 20:00:39 -04:00
Oliver Gorwits
30b234848d table_pagesize option to set default size of table pages 2014-06-30 12:38:43 +01:00
Oliver Gorwits
71b2ab2563 Subnets report date range fixed, but (unnecessary?) "not" option removed 2014-06-23 16:03:55 +01:00
Eric A. Miller
e1250011cf Standardize option for DataTables 2014-06-19 21:33:51 -04:00
Eric A. Miller
22a446f144 DataTables for port log report 2014-06-19 21:31:47 -04:00
Eric A. Miller
eacd19f390 DataTables for IP subnet utilization report 2014-06-19 19:20:18 -04:00
Eric A. Miller
deb33ed79c Modify wireless ap radio channel power CSV report to work with new datatables results 2014-06-19 19:07:07 -04:00
Eric A. Miller
184f320299 Change node vendor report by vendor to use server-side processing 2014-06-19 19:03:09 -04:00
Eric A. Miller
89de64b20d Change node netbios report by domain to use server-side processing 2014-06-19 19:02:28 -04:00
Eric A. Miller
f136332833 DataTables for device PoE status report 2014-06-19 19:00:37 -04:00
Eric A. Miller
e60b5f8ff9 DataTables for Access Point Radios Channel and Power report
Optimize SQL for ap_radio_channel_power virtual table
Convert mW to dBm via the database query
2014-06-11 19:33:36 -04:00
Eric A. Miller
16c52fa8a6 Change default page length to 25 and save state in DataTables tables 2014-06-08 22:54:34 -04:00
Eric A. Miller
f00ebf9ecc Convert device module inventory web report to DataTables server-side processing 2014-06-08 22:42:07 -04:00
Eric A. Miller
c8b05263e6 Eliminate one db call in IP subnet utilization report. Limit clause is not applied until after all rows to be returned are calculated so calling has_rows provides no optimization versus calling ->all in controller and checking for results before sending to template. Also use HashRefInflator. 2014-06-07 14:52:26 -04:00
Eric A. Miller
d32fbc744b DataTables for device generic report 2014-06-07 14:37:40 -04:00
Eric A. Miller
fb65ae30f0 Link to VLAN search by name from VLAN Inventory report 2014-06-02 23:22:48 -04:00
Eric A. Miller
19919f6534 Don't try to encode a null SSID in Port SSID report 2014-06-02 22:40:10 -04:00
Eric A. Miller
8ddd5c3d2d some older cisco devices report a numeric value for class, ignore null as a class 2014-05-29 23:02:16 -04:00
Eric A. Miller
669333d490 Datatables for IP Phones discovered through LLDP/CDP report 2014-05-29 23:00:28 -04:00
Eric A. Miller
8590b6781f DataTables for IP inventory report 2014-05-29 20:32:44 -04:00
Eric A. Miller
7d5c3f3191 DataTables for nodes with multiple active IP addresses report 2014-05-29 20:30:28 -04:00
Eric A. Miller
9a11ab08b1 DataTables for node vendor inventory report 2014-05-29 20:28:18 -04:00
Eric A. Miller
2111a4079b standardize variable names 2014-05-28 23:52:08 -04:00
Eric A. Miller
cff24e4834 DataTables for NetBIOS inventory report 2014-05-28 23:44:33 -04:00
Eric A. Miller
0e2c006efb DataTables for VLAN inventory report 2014-05-28 23:43:13 -04:00
Eric A. Miller
998ca5a92a DataTables for port SSID and SSID inventory reports 2014-05-28 23:42:43 -04:00
Eric A. Miller
f7a3ed2bed DataTables for access point channel distribution report 2014-05-28 23:41:05 -04:00
Eric A. Miller
0a5686b454 DataTables for ports in half duplex mode report 2014-05-28 23:40:07 -04:00
Eric A. Miller
4df2b5d216 DataTables for duplex mismatches between devices report 2014-05-28 23:39:06 -04:00
Eric A. Miller
b90bf5bccc Move capitalizeFirstLetter() to netdisco.js as common utility function 2014-05-28 23:37:55 -04:00
Eric A. Miller
27e5343335 DataTables for ports with multiple nodes attached report 2014-05-27 23:27:05 -04:00
Eric A. Miller
20b8de9d86 encode uri and html 2014-05-27 23:27:05 -04:00
Eric A. Miller
160756bbb6 encode uri and html, don't search counts 2014-05-27 23:27:05 -04:00
Eric A. Miller
4105319987 DataTables for ports that are blocking report 2014-05-27 23:27:05 -04:00
Eric A. Miller
95161c4cd5 Not formatting numbers in template so remove plug-in 2014-05-27 23:27:05 -04:00
Eric A. Miller
8b1382a6d6 DataTables for ports administratively disabled report 2014-05-27 23:27:05 -04:00
Eric A. Miller
8e37f6f47f Remove floatThead 2014-05-27 23:27:05 -04:00
Eric A. Miller
32a4accc05 DataTables for device name / DNS mismatch report 2014-05-27 23:27:05 -04:00
Eric A. Miller
d9378e2285 Remove jquery.floatThead due to column re-size / overflow issues. Initializing jquery.floatThead "useAbsolutePositioning: true" allows column re-size when header at top, but still sets table-layout to fixed when scrolling preventing column re-size if sorted. Add table footer since header doesn't float. 2014-05-27 23:27:05 -04:00
Eric A. Miller
5e13d642a1 DataTables for device by location report 2014-05-27 23:27:05 -04:00
Eric A. Miller
17c60afce8 DataTables for device addresses without DNS entries report 2014-05-27 23:27:05 -04:00