configuration.tpl 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <script type='text/javascript' src="../js/sepe.js"></script>
  2. <link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
  3. <div class="row">
  4. <form class="form-horizontal" action="configuration.php" method="post" name="configuration_form">
  5. <div class="col-md-2">&nbsp;</div>
  6. <div class="col-md-8">
  7. {% if message_info != "" %}
  8. <div class="confirmation-message">
  9. {{ message_info }}
  10. </div>
  11. {% endif %}
  12. {% if message_error != "" %}
  13. <div class="error-message">
  14. {{ message_error }}
  15. </div>
  16. {% endif %}
  17. <fieldset>
  18. <legend>{{ 'SepeUser' | get_plugin_lang('SepePlugin') }}</legend>
  19. <div class="form-group">
  20. <label class="col-md-2 control-label">{{ 'ApiKey' | get_plugin_lang('SepePlugin') }}</label>
  21. <div class="col-md-7">
  22. <input class="form-control" type="text" id="input_key" name="api_key" value="{{ info }}" />
  23. </div>
  24. <div class="col-md-3">
  25. <input type="button" id="key-sepe-generator" class="btn btn-info" value="{{ 'GenerateApiKey' | get_plugin_lang('SepePlugin') }}" />
  26. </div>
  27. </div>
  28. </fieldset>
  29. </div>
  30. <div class="col-md-2">&nbsp;</div>
  31. </form>
  32. </div>