identification-data.tpl 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. <div class="col-md-3">
  5. <div id="course_category_well" class="well">
  6. <ul class="nav nav-list">
  7. <li class="nav-header"><h3>{{ 'Options' | get_plugin_lang('SepePlugin') }}:</h3></li>
  8. <li class="sepe-edit-link">
  9. <a href="identification-data-edit.php">
  10. {% if info == false %}
  11. {{ 'NewCenter' | get_plugin_lang('SepePlugin') }}
  12. {% else %}
  13. {{ 'EditCenter' | get_plugin_lang('SepePlugin') }}
  14. {% endif %}
  15. </a>
  16. </li>
  17. <li class="sepe-delete-link">
  18. <input type="hidden" id="confirmDeleteCenterData" value="{{ 'confirmDeleteCenterData'|get_plugin_lang('SepePlugin') }}" />
  19. <a href="identification-data-delete.php" id="delete-center-data">{{ 'DeleteCenter' | get_plugin_lang('SepePlugin') }}</a>
  20. </li>
  21. </ul>
  22. </div>
  23. </div>
  24. <div class="col-md-9">
  25. {% if message_info != "" %}
  26. <div class="alert alert-success">
  27. {{ message_info }}
  28. </div>
  29. {% endif %}
  30. {% if message_error != "" %}
  31. <div class="alert alert-danger">
  32. {{ message_error }}
  33. </div>
  34. {% endif %}
  35. <div class="well_border">
  36. <form class="form-horizontal">
  37. <fieldset>
  38. <legend>{{ 'DataCenter' | get_plugin_lang('SepePlugin') }}</legend>
  39. {% if info != false %}
  40. <div class="form-group ">
  41. <label class="col-sm-3 control-label">{{ 'CenterOrigin' | get_plugin_lang('SepePlugin') }}</label>
  42. <div class="col-sm-9">
  43. <label class="sepe-input-text text-primary">{{ info.center_origin }}</label>
  44. </div>
  45. </div>
  46. <div class="form-group ">
  47. <label class="col-sm-3 control-label">{{ 'CenterCode' | get_plugin_lang('SepePlugin') }}</label>
  48. <div class="col-sm-9">
  49. <label class="sepe-input-text text-primary">{{ info.center_code }}</label>
  50. </div>
  51. </div>
  52. <div class="form-group ">
  53. <label class="col-sm-3 control-label">{{ 'NameCenter' | get_plugin_lang('SepePlugin') }}</label>
  54. <div class="col-sm-9">
  55. <label class="sepe-input-text text-primary">{{ info.center_name }}</label>
  56. </div>
  57. </div>
  58. <div class="form-group ">
  59. <label class="col-sm-3 control-label">{{ 'PlatformUrl' | get_plugin_lang('SepePlugin') }}</label>
  60. <div class="col-sm-9">
  61. <label class="sepe-input-text text-primary">{{ info.url }}</label>
  62. </div>
  63. </div>
  64. <div class="form-group ">
  65. <label class="col-sm-3 control-label">{{ 'TrackingUrl' | get_plugin_lang('SepePlugin') }}</label>
  66. <div class="col-sm-9">
  67. <label class="sepe-input-text text-primary">{{ info.tracking_url }}</label>
  68. </div>
  69. </div>
  70. <div class="form-group ">
  71. <label class="col-sm-3 control-label">{{ 'Phone' | get_plugin_lang('SepePlugin') }}</label>
  72. <div class="col-sm-9">
  73. <label class="sepe-input-text text-primary">{{ info.phone }}</label>
  74. </div>
  75. </div>
  76. <div class="form-group ">
  77. <label class="col-sm-3 control-label">{{ 'Mail' | get_plugin_lang('SepePlugin') }}</label>
  78. <div class="col-sm-9">
  79. <label class="sepe-input-text text-primary">{{ info.mail }}</label>
  80. </div>
  81. </div>
  82. {% else %}
  83. <div class="alert alert-danger">{{ 'NoIdentificationData' | get_plugin_lang('SepePlugin') }}</div>
  84. {% endif %}
  85. </fieldset>
  86. </form>
  87. </div>
  88. </div>
  89. </div>