|
|
|
|
@ -14,9 +14,9 @@
|
|
|
|
|
|
|
|
|
|
helper.tmpuri = c.uri_for_action("/peering/servers_root", [c.req.captures.0]);
|
|
|
|
|
helper.dt_buttons = [
|
|
|
|
|
{ name = 'Edit', uri = helper.tmpuri _ "/'+full[0]+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
|
|
|
|
|
{ name = 'Delete', uri = helper.tmpuri _ "/'+full[0]+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
|
|
|
|
{ name = 'Preferences', uri = helper.tmpuri _ "/'+full[0]+'/preferences", class = 'btn-small btn-tertiary', icon = 'icon-list' },
|
|
|
|
|
{ name = 'Edit', uri = helper.tmpuri _ "/'+full[\"id\"]+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
|
|
|
|
|
{ name = 'Delete', uri = helper.tmpuri _ "/'+full[\"id\"]+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
|
|
|
|
{ name = 'Preferences', uri = helper.tmpuri _ "/'+full[\"id\"]+'/preferences", class = 'btn-small btn-tertiary', icon = 'icon-list' },
|
|
|
|
|
];
|
|
|
|
|
helper.top_buttons = [
|
|
|
|
|
{ name = 'Create Peering Server', uri = helper.tmpuri _ "/create", icon = 'icon-star' },
|
|
|
|
|
@ -40,8 +40,8 @@
|
|
|
|
|
|
|
|
|
|
helper.tmpuri = c.uri_for(group.id, "rules");
|
|
|
|
|
helper.dt_buttons = [
|
|
|
|
|
{ name = 'Edit', uri = helper.tmpuri _ "/'+full[0]+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
|
|
|
|
|
{ name = 'Delete', uri = helper.tmpuri _ "/'+full[0]+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
|
|
|
|
{ name = 'Edit', uri = helper.tmpuri _ "/'+full[\"id\"]+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
|
|
|
|
|
{ name = 'Delete', uri = helper.tmpuri _ "/'+full[\"id\"]+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
|
|
|
|
];
|
|
|
|
|
helper.top_buttons = [
|
|
|
|
|
{ name = 'Create Peering Rule', uri = helper.tmpuri _ "/create", icon = 'icon-star' },
|
|
|
|
|
|