appAddCommon.ftl 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!--table-->
  2. <table width="960" class="table table-bordered" >
  3. <tbody>
  4. <tr>
  5. <td colspan=4><@locale code="apps.basic.info"/></td>
  6. </tr>
  7. <tr>
  8. <th><@locale code="apps.id"/>:</th>
  9. <td>
  10. <span id="id_text" style="width:100%;font-weight: bold;">${model.id!}</span>
  11. <input type="hidden" class="form-control" id="id" name="id" title="" value="${model.id!}"/>
  12. </td>
  13. <th><@locale code="apps.secret"/>:</th>
  14. <td>
  15. <span id="secret_text" style="width:100%;font-weight: bold;">${model.secret!}</span>
  16. <input type="hidden"class="form-control" id="secret" name="secret" title="" value="${model.secret!}"/>
  17. </td>
  18. </tr>
  19. <tr>
  20. <th><@locale code="apps.name"/>:</th>
  21. <td colspan="3">
  22. <input type="text"class="form-control" id="name" name="name" size="100" title="" value="" required="" />
  23. </td>
  24. </tr>
  25. <tr>
  26. <th><@locale code="apps.loginUrl"/>:</th>
  27. <td colspan="3">
  28. <input type="text" class="form-control" id="loginUrl" name="loginUrl" size="100" title="" value="" required="" />
  29. </td>
  30. </tr>
  31. <tr>
  32. <th><@locale code="apps.logoutUrl"/>:</th>
  33. <td>
  34. <input type="text" id="logoutUrl" class="form-control" name="logoutUrl" title="" value=""/>
  35. </td>
  36. <th><@locale code="apps.logoutType"/></th>
  37. <td>
  38. <select id="logoutType" name="logoutType" class="form-control" >
  39. <option value="0" selected ><@locale code="apps.logoutType.none"/></option>
  40. <option value="1" ><@locale code="apps.logoutType.back_channel"/></option>
  41. <option value="2" ><@locale code="apps.logoutType.front_channel"/></option>
  42. </select>
  43. </td>
  44. </tr>
  45. <tr>
  46. <th style="width:15%;"><@locale code="apps.protocol"/>:</th>
  47. <td style="width:35%;">
  48. <span id="protocol_text" >${model.protocol!}</span>
  49. <input type="hidden"class="form-control" id="protocol" name="protocol" title="" value="${model.protocol!}"/>
  50. </td>
  51. <th style="width:15%;"><@locale code="apps.category"/>:</th>
  52. <td style="width:35%;">
  53. <input type="text"class="form-control" id="category" name="category" title="" value="${model.category!}"/>
  54. </td>
  55. </tr>
  56. <tr>
  57. <th><@locale code="apps.icon"/>:</th>
  58. <td>
  59. <input type="file" id="iconFile" class="form-control" name="iconFile" title="" value=""/>
  60. </td>
  61. <th><@locale code="common.text.sortindex"/></th>
  62. <td>
  63. <input type="text" id="sortIndex" class="form-control" name="sortIndex" title="" value="1" required="" />
  64. </td>
  65. </tr>
  66. <tr>
  67. <th><@locale code="apps.vendor"/>:</th>
  68. <td>
  69. <input type="text" class="form-control" id="vendor" name="vendor" title="" value=""/>
  70. </td>
  71. <th><@locale code="apps.vendor.url"/>:</th>
  72. <td>
  73. <input type="text" class="form-control" id="vendorUrl" name="vendorUrl" title="" value=""/>
  74. </td>
  75. </tr>
  76. <tr>
  77. <th><@locale code="apps.visible"/></th>
  78. <td>
  79. <select id="visible" name="visible" class="form-control" >
  80. <option value="0" ><@locale code="apps.visible.hidden"/></option>
  81. <option value="1" selected><@locale code="apps.visible.all"/></option>
  82. <option value="2" ><@locale code="apps.visible.internet"/></option>
  83. <option value="3" ><@locale code="apps.visible.intranet"/></option>
  84. </select>
  85. </td>
  86. <th><@locale code="common.text.description"/>:</th>
  87. <td>
  88. <input type="text" class="form-control" id="description" name="description" title="" value=""/>
  89. </td>
  90. </tr>
  91. <tr>
  92. <th><@locale code="apps.isAdapter" />:</th>
  93. <td>
  94. <select id="isAdapter" name="isAdapter" class="form-control" >
  95. <option value="0" selected><@locale code="apps.isAdapter.no" /></option>
  96. <option value="1"><@locale code="apps.isAdapter.yes" /></option>
  97. </select>
  98. </td>
  99. <th><@locale code="apps.adapter" />:</th>
  100. <td >
  101. <input type="hidden" class="form-control" id="adapterId" name="adapterId" title="" value=""/>
  102. <input type="text" class="form-control" id="adapterName" name="adapterName" title="" value="" style="width: 80%;float: left;"/>
  103. <input type="hidden" class="form-control" id="adapter" name="adapter" title="" value=""/>
  104. <input class="button btn btn-success mr-3 window" style="float: left;" id="selectAdaptersBtn" type="button"
  105. value="<@locale code="button.text.select"/>"
  106. wurl="<@base/>/apps/adapters/selectAdaptersList?protocol=${model.protocol!}"
  107. wwidth="750"
  108. wheight="600"
  109. target="window">
  110. </td>
  111. </tr>
  112. <tr>
  113. <th><@locale code="common.text.description"/>:</th>
  114. <td colspan =3>
  115. <input type="text" class="form-control" id="description" name="description" title="" value=""/>
  116. </td>
  117. </tr>
  118. </tbody>
  119. </table>