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

7 years ago
  1. <div class="page-header">
  2. <h1 class="page-title">팝업 정보 입력</h1>
  3. </div>
  4. <?=validation_errors('<p class="alert alert-danger">')?>
  5. <?=form_open(NULL,array("class"=>'form-flex'))?>
  6. <div class="form-group">
  7. <label class="control-label">팝업 이름</label>
  8. <div class="controls">
  9. <input class="form-control" name="pop_title" value="<?=element('pop_title', $view, set_value('pop_title'))?>" required>
  10. </div>
  11. </div>
  12. <div class="form-group">
  13. <label class="control-label">팝업 종류</label>
  14. <div class="controls">
  15. <label class="w-radio">
  16. <input type="radio" name="pop_type" value="Y" <?=element('pop_type', $view, set_value('pop_type', 'Y'))=='Y'?'checked':''?>>
  17. <span>팝업창</span>
  18. </label>
  19. <label class="w-radio">
  20. <input type="radio" name="pop_type" value="N" <?=element('pop_type', $view, set_value('pop_type', 'Y'))=='N'?'checked':''?>>
  21. <span>팝업레이어</span>
  22. </label>
  23. </div>
  24. </div>
  25. <div class="form-group">
  26. <label class="control-label">팝업 너비</label>
  27. <div class="controls">
  28. <input type="number" min="1" class="form-control form-control-inline" name="pop_width" value="<?=element('pop_width', $view, set_value('pop_width', 600))?>" required> px
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label class="control-label">팝업 높이</label>
  33. <div class="controls">
  34. <input type="number" min="1" class="form-control form-control-inline" name="pop_height" value="<?=element('pop_height', $view, set_value('pop_height', 480))?>" required> px
  35. </div>
  36. </div>
  37. <div class="form-group">
  38. <label class="control-label">팝업 내용</label>
  39. <div class="controls">
  40. <?=get_editor('pop_content', element('pop_content',$view, set_value('pop_content')) )?>
  41. </div>
  42. </div>
  43. <div class="form-group">
  44. <label class="control-label">표시 시작시간</label>
  45. <div class="controls">
  46. <input class="form-control form-control-inline" data-toggle="formatter" data-pattern="{{9999}}-{{99}}-{{99}} {{99}}:{{99}}" name="pop_start" value="<?=element('pop_start', $view, set_value('pop_start'))?>" required>
  47. <p class="help-block">-- :</p>
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label class="control-label">표시 종료시간</label>
  52. <div class="controls">
  53. <input class="form-control form-control-inline" data-toggle="formatter" data-pattern="{{9999}}-{{99}}-{{99}} {{99}}:{{99}}" name="pop_end" value="<?=element('pop_end', $view, set_value('pop_end'))?>" required>
  54. <p class="help-block">-- :</p>
  55. </div>
  56. </div>
  57. <div class="H10"></div>
  58. <div class="text-center">
  59. <button class="btn btn-primary"><i class="far fa-check"></i> 입력 완료</button>
  60. </div>
  61. <div class="H10"></div>
  62. <?=form_close()?>