1st improvement: change the Create New Graph page
2nd improvement: replace all combo-boxes with jquery autocomplete combos
ex1. http://jqueryui.com/resources/demos/aut ... bobox.html
ex2. http://harvesthq.github.io/chosen/
2 must-have GUI Improvements
Moderators: Developers, Moderators
2 must-have GUI Improvements
[i]Born to be online![/i]
Re: 2 must-have GUI Improvements
very easy to implement...
extract contents of
https://github.com/harvesthq/chosen/rel ... v1.0.0.zip
at
cacti/include/chosen
add
at
cacti/include/top_header.php
after <head>
add
at
cacti/include/bottom_footer.php
before </body>
extract contents of
https://github.com/harvesthq/chosen/rel ... v1.0.0.zip
at
cacti/include/chosen
add
Code: Select all
<link rel="stylesheet" href="<?php echo $config['url_path']; ?>include/chosen/chosen.css">
cacti/include/top_header.php
after <head>
add
Code: Select all
<script src="<?php echo $config['url_path']; ?>include/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $config['url_path']; ?>include/chosen/chosen.jquery.js" type="text/javascript"></script>
<script type="text/javascript">
var config = {
'select' : {},
'.chosen-select' : {},
'.chosen-select-deselect' : {allow_single_deselect:true},
'.chosen-select-no-single' : {disable_search_threshold:10},
'.chosen-select-no-results': {no_results_text:'Oops, nothing found!'},
'.chosen-select-width' : {width:"95%"}
}
for (var selector in config) {
$(selector).chosen(config[selector]);
}
</script>
cacti/include/bottom_footer.php
before </body>
[i]Born to be online![/i]
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: 2 must-have GUI Improvements
nice!
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Cacti User
- Posts: 73
- Joined: Mon May 03, 2010 11:48 am
Re: 2 must-have GUI Improvements
good one!
thanks for sharing!
thanks for sharing!
_________________
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
Cacti - 1.2.14
Poller Type - SPINE 1.2.14
Devices 3,892
Graphs 21,483
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Re: 2 must-have GUI Improvements
Very nice !
However, you'd also need to make this change for each "general_header.php" file in use for all your plugins, too
However, you'd also need to make this change for each "general_header.php" file in use for all your plugins, too
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Re: 2 must-have GUI Improvements
This is great, but i am having alignment issues at the top of the graph page. Anyone have a fix?
- Attachments
-
- chosen.png (27.02 KiB) Viewed 4474 times
Who is online
Users browsing this forum: No registered users and 0 guests