Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.93 KB | None | 0 0
  1. <html>
  2. <style>
  3.     label {
  4.         display: inline-block;
  5.         margin-top: 17px;
  6.         margin-left: 17px;
  7.         width: 100px;
  8.     }
  9.  
  10.     form {
  11.         position: center;
  12.         margin: 0 auto;
  13.         float: right;
  14.         width: 250px;
  15.         height: 500px;
  16.         background-color: #e1e1e1;
  17.         border-radius: 10px;
  18.  
  19.     }
  20.  
  21.     .form-mini {
  22.         position: center;
  23.         justify-content: center;
  24.         display: flex;
  25.         float: right;
  26.  
  27.         width: 125px;
  28.         height: 50px;
  29.         background-color: #e1e1e1;
  30.         border-radius: 10px;
  31.     }
  32.  
  33.     .form-container {
  34.         display: flex;
  35.         justify-content: center;
  36.     }
  37.  
  38.     action-bar {
  39.         margin: 0 auto;
  40.     }
  41. </style>
  42. <head>
  43.     <title>New Node</title>
  44. </head>
  45. <div class="form-container">
  46.     <form action="/newnode" method="post">
  47.         <label>Name</label><input type="text" name="name">
  48.         <label>Site</label>
  49.         <select name="site">
  50.             <option value=26>uz-1</option>
  51.             <option value=8>ru-1.finch</option>
  52.             <option selected value=5>ru-1.os.selectel</option>
  53.         </select>
  54.         <label>Role</label>
  55.         <select name="role">
  56.             <option value=4>api</option>
  57.             <option value=2>cmp</option>
  58.             <option value=33>achtung</option>
  59.             <option value=15>acs</option>
  60.         </select>
  61.         <label>Region</label>
  62.         <select name="region">
  63.             <option value=24>ru-1</option>
  64.             <option value=25>ru-2</option>
  65.             <option value=26>ru-2</option>
  66.             <option selected value=26>ru-3</option>
  67.         </select>
  68.         <label>Zone</label><input type="text" name="zone">
  69.         <label>Size</label>
  70.         <select name="type">
  71.             <option value=1>1U</option>
  72.             <option value=3>2U</option>
  73.             <option value=5>4U</option>
  74.         </select>
  75.         <label>Serial</label><input type="text" name="serial">
  76.         <label>Environment</label>
  77.         <select name="env">
  78.             <option value=3>testing</option>
  79.         </select>
  80.         <label>Status</label>
  81.         <select name="status">
  82.             <option value=2>planned</option>
  83.         </select>
  84.         <label>Hide in inventory</label>
  85.         <select name="hide">
  86.             <option value="true">Yes</option>
  87.             <option value="false">No</option>
  88.         </select>
  89.         <label>Rack</label><input type="text" name="Rack">
  90.         <label>Unit</label><input type="number" name="Unit" min="1" max="32767">
  91.         <label><input type="submit" value="Create new node"></label>
  92.     </form>
  93.  
  94.     <div class="action-bar">
  95.         <form class="form-mini">
  96.             <label><input type="submit" value="Home"></label>
  97.         </form>
  98.         <form class="form-mini">
  99.             <label><input type="submit" value="New Rack"></label>
  100.         </form>
  101.     </div>
  102. </div>
  103.  
  104. </div>
  105. </body>
  106. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement