Captain Hook - Web hook server
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.

65 lines
2.8 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <title>Captain Hook</title>
  6. <!-- CSS only -->
  7. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
  8. <link rel="stylesheet" type="text/css" href="/css/common.css">
  9. <link rel="stylesheet" type="text/css" href="/css/configure.css">
  10. </head>
  11. <body>
  12. <div class="main container">
  13. <div class="card w-100">
  14. <div class="card-body">
  15. <div id="header">
  16. <h1 class="card-title font-weight-bold">Edit {{.Name}}</h1>
  17. <h5 class="card-subtitle text-muted">
  18. The configuration page for your hook
  19. </h5>
  20. </div>
  21. <div class="body">
  22. <div class="conditions">
  23. <h2 class="card-title font-weight-bold">
  24. Conditions
  25. </h2>
  26. <div class="dropdown">
  27. <button class="btn btn-success dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  28. Add Condition
  29. </button>
  30. <div class="dropdown-menu" aria-labelledby="dropdownMenu2">
  31. <button class="dropdown-item" type="button">Method</button>
  32. <button class="dropdown-item" type="button">Header</button>
  33. <button class="dropdown-item" type="button">Parameter</button>
  34. </div>
  35. </div>
  36. </div>
  37. <div class="actions">
  38. <h2 class="card-title font-weight-bold">
  39. Actions
  40. </h2>
  41. <div class="dropdown">
  42. <button class="btn btn-success dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  43. Add Action
  44. </button>
  45. <div class="dropdown-menu" aria-labelledby="dropdownMenu2">
  46. <button class="dropdown-item" type="button">Write</button>
  47. <button class="dropdown-item" type="button">Shell</button>
  48. <button class="dropdown-item" type="button">Web Request</button>
  49. <button class="dropdown-item" type="button">Network Connection</button>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <!-- Bootstrap JS -->
  58. <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  59. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
  60. <script src="/js/index.js"></script>
  61. </body>
  62. </html>