You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

139 lines
7.6 KiB

2 years ago
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Expires" content="0">
  6. <meta http-equiv="Pragma" content="no-cache">
  7. <meta http-equiv="Cache-control" content="no-cache">
  8. <meta http-equiv="Cache" content="no-cache">
  9. <title></title>
  10. <link href="/Scripts/plugins/fontawesome/css/font-awesome.css" rel="stylesheet" type="text/css" />
  11. <link href="/Scripts/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  12. <link href="/Scripts/plugins/uniform/css/uniform.default.min.css" rel="stylesheet" />
  13. <link href="/Scripts/3rd/Spectrum/spectrum.css" rel="stylesheet" />
  14. <link href="/Scripts/3rd/jquery.filer/jquery.filer.css" rel="stylesheet" />
  15. <link href="/Scripts/3rd/jquery.filer/jquery.filer-dragdropbox-theme.css" rel="stylesheet" />
  16. <link href="/Content/custom.min.css" rel="stylesheet" />
  17. <script src="/Scripts/3rd/jquery-2.1.3.min.js"></script>
  18. <script src="/Scripts/3rd/Spectrum/spectrum.js"></script>
  19. <style>
  20. .control-label {
  21. padding-right: 0;
  22. }
  23. .jFiler-items-grid .jFiler-item .jFiler-item-container .jFiler-item-thumb {
  24. width: 110px;
  25. height: 100px;
  26. min-height: 100px;
  27. }
  28. .jFiler-items-grid .jFiler-item .jFiler-item-container .jFiler-item-assets {
  29. margin-top: 0;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <form id="form_UpdUserInfo">
  35. <div class="page-inner">
  36. <div class="panel-body">
  37. <div class="row">
  38. <div class="col-md-12">
  39. <table class="tbpop">
  40. <tr>
  41. <td class="spanname">
  42. <label class="col-sm-3 control-label"><span data-i18n="common.HeadPortrait">頭像</span></label>
  43. </td>
  44. <td>
  45. <div class="col-sm-8">
  46. <input type="file" class="displayNone" name="files[]" id="fileInput" multiple>
  47. </div>
  48. </td>
  49. </tr>
  50. <tr>
  51. <td class="spanname">
  52. <label class="col-sm-3 control-label"><span data-i18n="common.Account">帳號</span></label>
  53. </td>
  54. <td>
  55. <input type="text" id="MemberID" name="MemberID" class="form-control w100p" disabled placeholder="請輸入用戶帳號">
  56. </td>
  57. </tr>
  58. <tr>
  59. <td class="spanname">
  60. <label class="col-sm-3 control-label"><span data-i18n="MainPage.username">名稱</span></label>
  61. </td>
  62. <td>
  63. <input type="text" id="MemberName" name="MemberName" class="form-control w100p" placeholder="請輸入用戶名稱" placeholderid="MainPage.usernameplaceholder" required>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td class="spanname">
  68. <label class="col-sm-3 control-label"><span data-i18n="MainPage.oldpassword">舊密碼</span></label>
  69. </td>
  70. <td>
  71. <input type="password" id="OldPsw" name="OldPsw" class="form-control w100p" placeholder="請輸入舊密碼">
  72. </td>
  73. </tr>
  74. <tr>
  75. <td class="spanname">
  76. <label class="col-sm-3 control-label"><span data-i18n="MainPage.newpassword">新密碼</span></label>
  77. </td>
  78. <td>
  79. <input type="password" id="NewPsw" name="NewPsw" class="form-control w100p" placeholder="請輸入新密碼">
  80. </td>
  81. </tr>
  82. <tr>
  83. <td class="spanname">
  84. <label class="col-sm-3 control-label"><span data-i18n="MainPage.newpasswordcheck">新密碼確認</span></label>
  85. </td>
  86. <td>
  87. <input type="password" id="CheckNewPsw" name="CheckNewPsw" class="form-control w100p" placeholder="再次輸入新密碼">
  88. </td>
  89. </tr>
  90. <tr>
  91. <td class="spanname">
  92. <label class="col-sm-3 control-label"><span data-i18n="MainPage.calendarcolor">行事曆顏色</span></label>
  93. </td>
  94. <td>
  95. <input type="text" class="form-control color-picker" name="CalColor" id="CalColor" value="#000000" placeholder="請選擇行事曆顏色" required>
  96. </td>
  97. </tr>
  98. </table>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </form>
  104. </body>
  105. </html>
  106. <script type="text/javascript">
  107. $('#CalColor').spectrum({
  108. color: "#000000",
  109. //flat: true,
  110. showInput: true,
  111. className: "full-spectrum",
  112. showInitial: true,
  113. showPalette: true,
  114. showSelectionPalette: true,
  115. maxPaletteSize: 10,
  116. preferredFormat: "hex",
  117. hide: function (color) {
  118. $('#CalColor').val(color.toHexString());
  119. },
  120. palette: [
  121. ["rgb(0, 0, 0)", "rgb(67, 67, 67)", "rgb(102, 102, 102)",
  122. "rgb(204, 204, 204)", "rgb(217, 217, 217)", "rgb(255, 255, 255)",
  123. "rgb(152, 0, 0)", "rgb(255, 0, 0)", "rgb(255, 153, 0)", "rgb(255, 255, 0)", "rgb(0, 255, 0)"],
  124. ["rgb(230, 184, 175)", "rgb(244, 204, 204)", "rgb(252, 229, 205)", "rgb(255, 242, 204)", "rgb(217, 234, 211)",
  125. "rgb(208, 224, 227)", "rgb(201, 218, 248)", "rgb(207, 226, 243)", "rgb(217, 210, 233)", "rgb(234, 209, 220)",
  126. "rgb(221, 126, 107)", "rgb(234, 153, 153)", "rgb(249, 203, 156)", "rgb(255, 229, 153)", "rgb(182, 215, 168)",
  127. "rgb(162, 196, 201)", "rgb(164, 194, 244)", "rgb(159, 197, 232)", "rgb(180, 167, 214)", "rgb(213, 166, 189)",
  128. "rgb(204, 65, 37)", "rgb(224, 102, 102)", "rgb(246, 178, 107)", "rgb(255, 217, 102)", "rgb(147, 196, 125)",
  129. "rgb(118, 165, 175)", "rgb(109, 158, 235)", "rgb(111, 168, 220)", "rgb(142, 124, 195)", "rgb(194, 123, 160)",
  130. "rgb(166, 28, 0)", "rgb(204, 0, 0)", "rgb(230, 145, 56)", "rgb(241, 194, 50)", "rgb(106, 168, 79)",
  131. "rgb(69, 129, 142)", "rgb(60, 120, 216)", "rgb(61, 133, 198)", "rgb(103, 78, 167)", "rgb(166, 77, 121)",
  132. "rgb(91, 15, 0)", "rgb(102, 0, 0)", "rgb(120, 63, 4)", "rgb(127, 96, 0)", "rgb(39, 78, 19)",
  133. "rgb(12, 52, 61)", "rgb(28, 69, 135)", "rgb(7, 55, 99)", "rgb(32, 18, 77)", "rgb(76, 17, 48)",
  134. "rgb(0, 255, 255)", "rgb(74, 134, 232)", "rgb(0, 0, 255)", "rgb(153, 0, 255)", "rgb(255, 0, 255)"]
  135. ]
  136. });
  137. $('#CalColor').spectrum("set", parent.UserInfo.CalColor);
  138. </script>