Fixes in dashboard, added distro field for serverdbtask table
This commit is contained in:
parent
7a0b0abbdb
commit
8a0354b85b
5 changed files with 28 additions and 3 deletions
|
|
@ -62,8 +62,10 @@ def pastafari2_dashboard():
|
|||
for module in pastafari_paths:
|
||||
|
||||
select_task=scandir(module, config_parser, select_task, 'tasks')
|
||||
|
||||
task_path=request.args.get('task_path', '')
|
||||
|
||||
return t.load_template('dash_pastafari.phtml', title=I18n.lang('pastafari2', 'servers_dashboard', 'Servers Dashboard'), path_module='admin_app.pastafari2_dashboard', select_task=select_task)
|
||||
return t.load_template('dash_pastafari.phtml', title=I18n.lang('pastafari2', 'servers_dashboard', 'Servers Dashboard'), path_module='admin_app.pastafari2_dashboard', select_task=select_task, task_path=task_path)
|
||||
|
||||
@admin_app.route('/pastafari2/settings/')
|
||||
def pastafari2_settings():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue