{% end %}
{% block pagejs %}
$(document).ready(function() {
// get the most recent 1000 datasets belonging to the user
lcc_ui.get_recent_datasets(1000, null, true);
// UI action setup
lcc_ui.action_setup();
// UI cookie settings
lcc_ui.prefs_cookie_expires_days = {{ cookie_expires_days }};
lcc_ui.prefs_cookie_secure = {{ cookie_secure }};
// load the current settings
lcc_ui.load_cookie_prefs('prefs-page');
// load the user's API keys if any
lcc_ui.load_previous_apikey('#api-key','#apikey-expiry');
});
{% end %}