Rev 20 | Blame | Compare with Previous | Last modification | View Log | Download
{{ header }}{{ column_left }}<div id="content"><div class="page-header"><div class="container-fluid"><div class="pull-right"><button type="submit" form="form-module" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button><a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div><h1>{{ heading_title }}</h1><ul class="breadcrumb">{% for breadcrumb in breadcrumbs %}<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>{% endfor %}</ul></div></div><div class="container-fluid">{% if error.error_warning %}<div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error.error_warning }}<button type="button" class="close" data-dismiss="alert">×</button></div>{% endif %}<div class="panel panel-default"><div class="panel-heading"><h3 class="panel-title"><i class="fa fa-pencil"></i> {{ heading_title }}</h3></div><div class="panel-body"><form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-module" class="form-horizontal"><div class="form-group required"><label class="col-sm-2 control-label" for="entry-client_id">{{ entry_client_id }}</label><div class="col-sm-10"><input type="text" name="module_pp_login_client_id" value="{{ module_pp_login_client_id }}" placeholder="{{ entry_client_id }}" id="entry-client_id" class="form-control"/>{% if error_client_id %}<div class="text-danger">{{ error_client_id }}</div>{% endif %}</div></div><div class="form-group required"><label class="col-sm-2 control-label" for="entry-secret">{{ entry_secret }}</label><div class="col-sm-10"><input type="text" name="module_pp_login_secret" value="{{ module_pp_login_secret }}" placeholder="{{ entry_secret }}" id="entry-secret" class="form-control"/>{% if error_secret %}<div class="text-danger">{{ error_secret }}</div>{% endif %}</div></div><div class="form-group"><label class="col-sm-2 control-label" for="entry-sandbox"><span data-toggle="tooltip" title="{{ help_sandbox }}">{{ entry_sandbox }}</span></label><div class="col-sm-10"><select name="module_pp_login_sandbox" id="entry-sandbox" class="form-control">{% if module_pp_login_sandbox %}<option value="1" selected="selected">{{ text_yes }}</option><option value="0">{{ text_no }}</option>{% else %}<option value="1">{{ text_yes }}</option><option value="0" selected="selected">{{ text_no }}</option>{% endif %}</select></div></div><div class="form-group"><label class="col-sm-2 control-label" for="input-loggin"><span data-toggle="tooltip" title="{{ help_debug_logging }}">{{ entry_debug }}</span></label><div class="col-sm-10"><select name="module_pp_login_debug" id="input-logging" class="form-control">{% if module_pp_login_debug %}<option value="1" selected="selected">{{ text_yes }}</option><option value="0">{{ text_no }}</option>{% else %}<option value="1">{{ text_yes }}</option><option value="0" selected="selected">{{ text_no }}</option>{% endif %}</select></div></div><div class="form-group"><label class="col-sm-2 control-label" for="input-customer-group"><span data-toggle="tooltip" title="{{ help_customer_group }}">{{ entry_customer_group }}</span></label><div class="col-sm-10"><select name="module_pp_login_customer_group_id" id="input-customer-group" class="form-control">{% for customer_group in customer_groups %}{% if customer_group.customer_group_id == module_pp_login_customer_group_id %}<option value="{{ customer_group.customer_group_id }}" selected="selected">{{ customer_group.name }}</option>{% else %}<option value="{{ customer_group.customer_group_id }}">{{ customer_group.name }}</option>{% endif %}{% endfor %}</select></div></div><div class="form-group"><label class="col-sm-2 control-label" for="input-button_colour">{{ entry_button }}</label><div class="col-sm-10"><select name="module_pp_login_button_colour" id="input-button_colour" class="form-control">{% if module_pp_login_button_colour == 'blue' %}<option value="blue" selected="selected">{{ text_button_blue }}</option><option value="grey">{{ text_button_grey }}</option>{% else %}<option value="blue">{{ text_button_blue }}</option><option value="grey" selected="selected">{{ text_button_grey }}</option>{% endif %}</select></div></div><div class="form-group"><label class="col-sm-2 control-label" for="input-seamless"><span data-toggle="tooltip" title="{{ help_seamless }}">{{ entry_seamless }}</span></label><div class="col-sm-10"><select name="module_pp_login_seamless" id="input-logging" class="form-control">{% if module_pp_login_seamless %}<option value="1" selected="selected">{{ text_yes }}</option><option value="0">{{ text_no }}</option>{% else %}<option value="1">{{ text_yes }}</option><option value="0" selected="selected">{{ text_no }}</option>{% endif %}</select></div></div><div class="form-group"><label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_locale }}">{{ entry_locale }}</span></label><div class="col-sm-10">{% for language in languages %}<div class="input-group"><span class="input-group-addon"><img src="language/{{ language.code }}/{{ language.code }}.png" title="{{ language.name }}" /></span><select name="module_pp_login_locale[{{ language.language_id }}]" class="form-control">{% for locale in locales %}{% if pp_login_locale[language.language_id] and pp_login_locale[language.language_id] == locale.value %}<option value="{{ locale.value }}" selected="selected">{{ locale.text }}</option>{% else %}<option value="{{ locale.value }}">{{ locale.text }}</option>{% endif %}{% endfor %}</select></div>{% endfor %}</div></div><div class="form-group"><label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_return_url }}">{{ entry_return_url }}</span></label><div class="col-sm-10"><input type="text" readonly id="return-url" value="{{ return_url }}" class="form-control" /></div></div><div class="form-group"><label class="col-sm-2 control-label" for="input-status">{{ entry_status }}</label><div class="col-sm-10"><select name="module_pp_login_status" id="input-status" class="form-control">{% if module_pp_login_status %}<option value="1" selected="selected">{{ text_enabled }}</option><option value="0">{{ text_disabled }}</option>{% else %}<option value="1">{{ text_enabled }}</option><option value="0" selected="selected">{{ text_disabled }}</option>{% endif %}</select></div></div></form></div></div></div></div>{{ footer }}