diff options
Diffstat (limited to 'main/app/sprinkles/admin/assets/userfrosting/js/pages/permissions.js')
-rwxr-xr-x | main/app/sprinkles/admin/assets/userfrosting/js/pages/permissions.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/app/sprinkles/admin/assets/userfrosting/js/pages/permissions.js b/main/app/sprinkles/admin/assets/userfrosting/js/pages/permissions.js new file mode 100755 index 0000000..6266ff4 --- /dev/null +++ b/main/app/sprinkles/admin/assets/userfrosting/js/pages/permissions.js @@ -0,0 +1,16 @@ +/** + * Page-specific Javascript file. Should generally be included as a separate asset bundle in your page template. + * example: {{ assets.js('js/pages/sign-in-or-register') | raw }} + * + * This script depends on widgets/permissions.js, uf-table.js, moment.js, handlebars-helpers.js + * + * Target page: /permissions + */ + +$(document).ready(function() { + // Set up table of permissions + $("#widget-permissions").ufTable({ + dataUrl: site.uri.public + "/api/permissions", + useLoadingTransition: site.uf_table.use_loading_transition + }); +}); |