{% extends 'psu_base.html' %} {% load base_taglib %} {%block title%}{%app_name%} - Admin Scripts{%endblock%} {% block pagecontent %}

Scripts for {%app_name%}

{### ADMIN SCRIPTS ###} {% for ss in app_scripts%} {% endfor %} {%set_current_user%} {%csrf_token%}
Scope Description Target URL Target User Enabled Effective End Date Audit Actions
{{ss.app_code}} {%select_menu id=ss.id value=ss.enabled options=enabled_options onchange="update_script($(this));" %} {{ss.developer}}
{{ss.last_updated|date:"d-M-Y"|upper}}
{%fa fa-trash-o title="Delete this script" class="btn btn-danger btn-sm" onclick="delete_script($(this), {{ff.id}});"%}
{%select_menu name="enabled" id="new" value="N" options=enabled_options %} {{current_user.username}}
{% endblock %}