Menu

/trunk/gui/freeadmin/navtree.py Commit Log


Commit Date  
[r8606] (19.5 kB) by zippybr

several changes to the treemenu so we can support hook of plugin items

- change attribute of url path to pen from "view" to "url"
- change the gname attribute so it is autogenerated from the position of the tree
- e.g. UPS node under Services is called "services.UPS"
- add a simple method to catch new items from an url (plugin)
- the url must return a JSON array containing nodes for the tree
- the node can be appended anywhere in the tree:
- e.g. "append_to": "services.Rsync.RsyncMod" will append it to Rsync Modules node
- split auto_generate in two
- prepare_modelforms go through all the models and find all related modelforms
- generate actually generate the menu structures to dump as JSON later on

2011-11-08 18:01:12 View
Download
[r8455] (17.5 kB) by zippybr

Shell in GUI based Ajaxterm/WebShell;
modified to work with dojo and django

2011-10-27 12:27:37 View
Download
[r8423] (17.3 kB) by zippybr

Merge branch 'gitvolumes'

The time has come!
We still need to test upgrades from previous trunk, probably a few minor tweaks are to come

Conflicts:
gui/account/forms.py
gui/middleware/notifier.py
gui/services/forms.py
gui/storage/evilhack.py
gui/storage/urls.py
gui/templates/storage/dataset_confirm_delete.html
gui/templates/storage/dataset_edit.html
gui/templates/storage/datasets.html
gui/templates/storage/disk_detach.html
gui/templates/storage/geom_disk_replace.html
gui/templates/storage/permission.html
gui/templates/storage/scrub_confirm.html
gui/templates/storage/volumes.html
gui/templates/storage/zpool_status.html
gui/templates/storage/zvols.html
nanobsd/Files/usr/local/bin/custom-upssched-cmd
nanobsd/common

2011-10-25 18:18:42 View
Download
[r8408] (17.5 kB) by zippybr

use JsonRestStore instead of ItemFileReadStore, this will be required for the upcoming lazy load (plugins)

2011-10-24 16:39:03 View
Download
[r7865] (18.5 kB) by zippybr

it doesn't really make sense to do not generate menu on every request, disable it for now

2011-09-20 16:06:02 View
Download
[r7426] (18.5 kB) by jpaetzel

Use correct name in copyright

2011-08-29 16:56:09 View
Download
[r7201] (18.5 kB) by zippybr

remove legacy and fix a few typos with the help of pylint

2011-08-16 17:37:14 View
Download
[r6779] (19.5 kB) by zippybr

a few minor fixes: removing legacy code; avoiding code duplication

2011-06-20 16:18:15 View
Download
[r6405] (19.7 kB) by zippybr

fix lazy gettext for menu tree (models)

2011-05-20 16:51:37 View
Download
[r6404] (19.8 kB) by zippybr

fix blocks for i18n

2011-05-20 16:45:08 View
Download
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.