aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/assets/userfrosting/js/pages/activities.js
blob: 2dc31e14730eeade0858c945b5c2626e80fc9524 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 uf-table.js, moment.js, handlebars-helpers.js
 *
 * Target page: /activities
 */

$(document).ready(function () {
    // Set up table of activities
    $("#widget-activities").ufTable({
        dataUrl: site.uri.public + "/api/activities",
        useLoadingTransition: site.uf_table.use_loading_transition
    });
});