loco.php 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <div class="container border-box mt-1">
  2. <div class="content__main__form__item">
  3. <p class="content__main__form__text">
  4. Серия локомотива
  5. </p>
  6. <div class="content__main__form__inputs">
  7. <select id="series" style="width: 600px;" class="form-input content__main__form__series" name="loco_type">
  8. <option value="0">
  9. &lt;Выберите серию локомотива&gt;
  10. </option>
  11. </select>
  12. </div>
  13. </div>
  14. <div id="sections_container" class="content__main__form__item" style="display:none">
  15. <p id="chosenserie" class="content__main__form__text"></p>
  16. <div class="content__main__form__inputs">
  17. <select id="sections" style="width: 600px;" class="form-input content__main__form__series" name="sections">
  18. <option value="0">
  19. &lt;Выберите секцию&gt;
  20. </option>
  21. </select>
  22. </div>
  23. <br>
  24. <input id="add_new_section" type="button" value="">
  25. </div>
  26. <div id="add_section_container" class="content__main__form__item" style="display:none">
  27. <p class="content__main__form__text">Добавьте данные новой секции</p>
  28. Номер <input min="1" id="number" type="number" value="number">
  29. Субномер <input min="8" id="subnumber" type="number" value="subnumber">
  30. <select id="section_letter" style="width: 600px;" name="section_letter">
  31. <option value="А">А</option>
  32. <option value="Б">Б</option>
  33. <option value="В">В</option>
  34. <option value="Г">Г</option>
  35. </select><br>
  36. <input id="write_section" type="button" value="Добавить">
  37. </div>
  38. <div id="section_container" class="content__main__form__item" style="display:none">
  39. <p class="content__main__form__text">Информация по выбранной секции</p>
  40. <div id="section_content">
  41. </div>
  42. <input id="delete_section" type="button" value="Удалить секцию из базы">
  43. </div>
  44. <div id="sections_load" class="content__main__form__item" style="display:none">
  45. <input id="getsectionlist" type="button" value="Загрузить секции АСУ СГ">
  46. </div>
  47. <div id="result"></div>
  48. </div>
  49. <style type="text/css">
  50. .container {
  51. margin-top: 10px;
  52. max-width: 550px;
  53. }
  54. .content__main__form__item {
  55. width: 100%;
  56. }
  57. input[type="button"] {
  58. display: block;
  59. margin: 0 auto;
  60. }
  61. </style>