ip.php 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <html>
  2. <head>
  3. <meta name="apple-mobile-web-app-capable" content="yes" />
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"/>
  6. <link rel="stylesheet" href="./script/tocas/tocas.css">
  7. <script src="./script/jquery.min.js"></script>
  8. <title>vAOB Installer</title>
  9. <style type="text/css">
  10. .segment {
  11. max-width: 300px;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <div class="ts fluid basic link big menu">
  17. <div class="ts very narrow container">
  18. <a href="#!" class="item">vArOZ Installer</a>
  19. </div>
  20. </div>
  21. <div class="ts padded horizontally fitted fluid slate">
  22. <div class="ts very narrow container">
  23. <h1 class="ts header">
  24. Network configuration
  25. <div class="sub header">Configurating the network settings</div>
  26. </h1>
  27. </div>
  28. </div>
  29. <div class="ts very narrow container">
  30. <br>
  31. <form class="ts relaxed form" action="wconfig.php" method="POST">
  32. <div class="field">
  33. <label>IP Settings</label>
  34. <div class="ts center aligned compact horizontal checkboxes">
  35. <div class="ts radio checkbox">
  36. <input type="radio" name="IP" id="DHCP" value="DHCP" checked="checked">
  37. <label for="DHCP">Obtain IP address automatically (DHCP)</label>
  38. </div>
  39. <div class="ts radio checkbox">
  40. <input type="radio" name="IP" id="Static" value="STATIC" disabled>
  41. <label for="Static">Use static IP address</label>
  42. </div>
  43. </div>
  44. </div>
  45. <div id="staticf">
  46. <div class="field">
  47. <label>IP Address</label>
  48. <input type="name" name="ipaddr">
  49. <small>The format should be like 0.0.0.0</small>
  50. </div>
  51. <div class="field">
  52. <label>Subnet mask</label>
  53. <input type="name" name="subnet">
  54. <small>The format should be like 0.0.0.0</small>
  55. </div>
  56. <div class="field">
  57. <label>Default Gateway</label>
  58. <input type="name" name="dgateway">
  59. <small>The format should be like 0.0.0.0</small>
  60. </div>
  61. <div class="field">
  62. <label>Primary Domain Name Services(DNS)</label>
  63. <input type="name" name="pdns">
  64. <small>The format should be like 0.0.0.0</small>
  65. </div>
  66. <div class="field">
  67. <label>Secondary Domain Name Services(DNS)</label>
  68. <input type="name" name="sdns">
  69. <small>The format should be like 0.0.0.0</small>
  70. </div>
  71. </div>
  72. <input type="hidden" name="step" value="2">
  73. <button class="ts fluid primary button" type="submit">Next</button>
  74. </form>
  75. </div>
  76. <script>
  77. $("#staticf").attr("style","display:none");
  78. $('#DHCP').change(function () {
  79. $("#staticf").attr("style","display:none");
  80. });
  81. $('#Static').change(function () {
  82. $("#staticf").attr("style","");
  83. });
  84. </script>
  85. </body>
  86. </html>