assistantsconfig.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <!--[if lt IE 9]>
  10. <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
  11. <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
  12. <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
  13. <![endif]-->
  14. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui/css/H-ui.min.css" />
  15. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/H-ui.admin.css" />
  16. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css" />
  17. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css" />
  18. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin" />
  19. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
  20. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.js"></script>
  21. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  22. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
  23. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  24. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  25. <link rel="stylesheet" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
  26. <script type="text/javascript" src="${ctx}/assets/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
  27. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  28. <!--[if IE 6]>
  29. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  30. <script>DD_belatedPNG.fix('*');</script>
  31. <![endif]-->
  32. <style type="text/css">
  33. </style>
  34. <script type="text/javascript">
  35. $(function() {
  36. $.Huitab("#tab-system .tabBar span","#tab-system .tabCon","current","click","0");
  37. $("#savestatic").click(function(){
  38. var formData=$("#form1").serialize();
  39. $.post("${ctx}/myconsole/assistants/save",formData,function(data){
  40. layer.alert(data);
  41. })
  42. })
  43. })
  44. </script>
  45. <title>我的桌面</title>
  46. </head>
  47. <body>
  48. <div class="page-container">
  49. <div class="form form-horizontal" id="form-article" method="post">
  50. <div id="tab-system" class="HuiTab">
  51. <div class="tabBar cl">
  52. <span>语音合成引擎参数</span><span>其它设置</span>
  53. </div>
  54. <div class="tabCon">
  55. <form name="form1" id="form1">
  56. <div class="row cl">
  57. <label class="form-label col-xs-4 col-sm-2">client_id:</label>
  58. <div class="formControls col-xs-8 col-sm-9">
  59. <input type="text" class="input-text" value="${config.client_id!}" id="" name="assistants.client_id">
  60. </div>
  61. </div>
  62. <div class="row cl">
  63. <label class="form-label col-xs-4 col-sm-2">client_secret:</label>
  64. <div class="formControls col-xs-8 col-sm-9">
  65. <input type="text" class="input-text" value="${config.client_secret!}" id="" name="assistants.client_secret">
  66. </div>
  67. </div>
  68. <div class="row cl">
  69. <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
  70. <button id="savestatic" class="btn btn-primary radius" type="button">
  71. <i class="Hui-iconfont">&#xe632;</i> 保存
  72. </button>
  73. </div>
  74. </div>
  75. </form>
  76. </div>
  77. <div class="tabCon">
  78. <form name="form2" id="form2"></form>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. <footer class="footer mt-20">
  84. <div class="container">
  85. <p></p>
  86. </div>
  87. </footer>
  88. </body>
  89. </html>