国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

82 lines
2.9KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>修改提示词</title>
  7. <link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/static/web/css/admin.css">
  10. <script src="/static/web/js/jquery.min.js"></script>
  11. <script src="/static/web/js/bootstrap.min.js"></script>
  12. <script src="/static/web/js/admin.main.js"></script>
  13. </head>
  14. <body>
  15. <div class="container-fluid">
  16. <ol class="breadcrumb">
  17. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  18. <li class="breadcrumb-item"><a href="ai_prompt_main.php">提示词管理</a></li>
  19. <li class="breadcrumb-item active">修改提示词</li>
  20. </ol>
  21. <div class="card shadow-sm">
  22. <div class="card-header">修改提示词</div>
  23. <div class="card-body">
  24. <form name="form1" action="ai_prompt_edit.php" method="post" enctype="multipart/form-data">
  25. <input type="hidden" name="dopost" value="saveedit">
  26. <input type="hidden" name="id" value="<?php echo $myPrompt['id']?>">
  27. <div class="table-responsive">
  28. <?php
  29. if(!empty($myPrompt['info'])){
  30. ?>
  31. <div class="alert alert-warning">
  32. <?php echo $myPrompt['info']?>
  33. </div>
  34. <?php
  35. }
  36. ?>
  37. <table class="table table-borderless">
  38. <tbody>
  39. <tr>
  40. <td width="260">标识</td>
  41. <td>
  42. <?php echo $myPrompt['pname']?>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td width="260">名称</td>
  47. <td>
  48. <input name="title" id="title" value="<?php echo $myPrompt['title']?>" class="admin-input-lg"
  49. required>
  50. </td>
  51. </tr>
  52. <tr>
  53. <td>描述</td>
  54. <td><textarea name="description" id="description"
  55. class="admin-textarea-sm"><?php echo $myPrompt['description']?></textarea></td>
  56. </tr>
  57. <tr>
  58. <td>提示词规则</td>
  59. <td>
  60. <textarea name="prompt" id="prompt" class="admin-textarea-sm" style="height: 200px;"><?php echo $myPrompt['prompt']?></textarea>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td>默认提示词</td>
  65. <td><textarea name="dfprompt" id="dfprompt" class="admin-textarea-sm"><?php echo $myPrompt['dfprompt']?></textarea></td>
  66. </tr>
  67. <tr>
  68. <td colspan="2" align="center">
  69. <button type="submit" class="btn btn-success btn-sm">保存</button>
  70. <button type="reset" class="btn btn-outline-success btn-sm">重置</button>
  71. <a href="ai_prompt_main.php" class="btn btn-outline-success btn-sm">返回</a>
  72. </td>
  73. </tr>
  74. </tbody>
  75. </table>
  76. </div>
  77. </form>
  78. </div>
  79. </div>
  80. </div>
  81. </body>
  82. </html>