usersImport.ftl 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE HTML>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <#include "../layout/header.ftl"/>
  5. <#include "../layout/common.cssjs.ftl"/>
  6. <style type="text/css">
  7. .table th, .table td {
  8. padding: .2rem;
  9. vertical-align: middle;
  10. }
  11. </style>
  12. <script type="text/javascript">
  13. <!--
  14. $(function(){
  15. });
  16. //-->
  17. </script>
  18. </head>
  19. <body>
  20. <form
  21. enctype="multipart/form-data"
  22. method="post" type="label" autoclose="true" action="<@base/>/userinfo/import"
  23. class="needs-validation" novalidate>
  24. <table class="table table-bordered" >
  25. <tbody>
  26. <tr>
  27. <th nowrap="nowrap"><@locale code="import.file.select" /></th>
  28. <td>
  29. <input class="form-control" type="file" id="excelFile" name="excelFile" />
  30. </td>
  31. </tr>
  32. <tr>
  33. <td colspan="2">
  34. <a href="<@base/>/static/template/excel/Users_Import_Template.xlsx" ><@locale code="import.template.download" /></>
  35. </td>
  36. </tr>
  37. <tr>
  38. <th><@locale code="import.update.exist" /> </th>
  39. <td>
  40. <select name="updateExist" id="updateExist" class="form-control" >
  41. <option value="no" selected > <@locale code="common.text.no" /></option>
  42. <option value="yes"> <@locale code="common.text.yes" /> </option>
  43. </select>
  44. </td>
  45. </tr>
  46. <tr>
  47. <th colspan="2" style="color: red;">
  48. <@locale code="import.tip" />
  49. </th>
  50. </tr>
  51. <tr>
  52. <td colspan="2" class="center">
  53. <input id="_method" type="hidden" name="_method" value="post"/>
  54. <input class="button btn btn-primary mr-3" style="width:100px" type="submit" id="submitBtn" value="<@locale code="button.text.import" />"/>
  55. <input class="button btn btn-primary mr-3" style="width:100px" type="button" id="closeBtn" value="<@locale code="common.alert.closeText" />"/>
  56. </td>
  57. </tr>
  58. </tbody>
  59. </table>
  60. </form>
  61. </body>
  62. </html>