APITester 재작성
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -7,11 +7,6 @@
|
||||
|
||||
<body>
|
||||
<aside class="pt-sidebar border" th:fragment="collectionFragment" style="min-width: 200px;">
|
||||
<!-- <div class="input-group p-1">-->
|
||||
<!-- <input type="text" class="form-control" placeholder="검색어를 입력하세요" aria-label="검색어를 입력하세요" id="filter_text"-->
|
||||
<!-- aria-describedby="button-addon2">-->
|
||||
<!-- </div>-->
|
||||
<!-- new collection button -->
|
||||
<div class="p-1">
|
||||
<button type="button" class="btn btn-primary btn-sm" id="new_collection"><i class="fa fa-plus"></i>새 컬렉션</button>
|
||||
<button type="button" class="btn btn-primary btn-sm" id="new_request"><i class="fa fa-plus"></i>새 요청</button>
|
||||
@@ -28,11 +23,11 @@
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<input type="text" class="form-control" placeholder="이름을 입력하세요" aria-label="이름을 입력하세요" aria-describedby="button-addon2" name="collection_name" required/>
|
||||
<input type="text" id="new_collection_name" class="form-control" placeholder="이름을 입력하세요" aria-label="이름을 입력하세요" name="collection_name" required/>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
||||
<button type="button" class="btn btn-primary save">저장</button>
|
||||
<button type="button" class="btn btn-primary save_collection">저장</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -45,7 +40,7 @@
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<input type="text" class="form-control" placeholder="이름을 입력하세요" aria-label="이름을 입력하세요" aria-describedby="button-addon2" name="name" required/>
|
||||
<input type="text" class="form-control" placeholder="이름을 입력하세요" aria-label="이름을 입력하세요" name="name" required/>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
||||
@@ -93,13 +88,6 @@
|
||||
<!-- menu script -->
|
||||
<th:block th:fragment="collectionScript">
|
||||
<script th:inline="javascript">
|
||||
$(function () {
|
||||
//when new_collection button clicked show modal popup for entering name
|
||||
$('#new_collection').on('click', function () {
|
||||
$('#new_collection_modal').find('input').val('');
|
||||
$('#new_collection_modal').modal('show');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</th:block>
|
||||
</body>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user