From d135420ccb267c97e5eddc71d6f34a9fad254872 Mon Sep 17 00:00:00 2001
From: wyu <kknd09321@nate.com>
Date: 화, 14 12월 2021 17:45:02 +0900
Subject: [PATCH] 이슈 리스트 검색 사용자 정의필드 검색 변경[의견]

---
 src/main/webapp/views/issue/issueListNormal.html |   86 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 85 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/issue/issueListNormal.html b/src/main/webapp/views/issue/issueListNormal.html
index e51b2af..a903afe 100644
--- a/src/main/webapp/views/issue/issueListNormal.html
+++ b/src/main/webapp/views/issue/issueListNormal.html
@@ -272,10 +272,94 @@
 
                                                     <div ng-switch on="customField.customFieldType">
                                                         <div ng-switch-when="INPUT">
-                                                            <input type="text" class="form-control input-sm"
+                                                            <input type="text"
+                                                                   class="form-control input-sm"
                                                                    ng-model="customField.useValues"
                                                                    maxlength="100">
                                                         </div>
+                                                        <div ng-switch-when="NUMBER">
+                                                            <input type="text"
+                                                                   class="form-control input-sm"
+                                                                   name="numberType"
+                                                                   ng-model="customField.useValues"
+                                                                   kr-input
+                                                                   placeholder="�닽�옄留� �엯�젰 媛��뒫�빀�땲�떎."
+                                                                   ng-pattern="/^[0-9]*$/"
+                                                                   autocomplete="off">
+                                                            <div ng-show="issueSearchForm.numberType.$error.pattern" class="help-block form-text text-danger"
+                                                                 translate="common.invalidNumberFormat">�닽�옄留� �엯�젰 媛��뒫�빀�땲�떎.
+                                                            </div>
+                                                        </div>
+
+                                                        <!-- todo : �궇吏� 寃��깋 臾몄젣 -->
+                                                        <div ng-switch-when="DATETIME">
+                                                            <input type="text" class="form-control input-sm"
+                                                                   name="dateTime"
+                                                                   ng-model="customField.useValues"
+                                                                   maxlength="100"
+                                                                   range-type="singleDate"
+                                                                   date-range-picker>
+                                                            <div class="row">
+                                                                <div class="col-xs-12">
+                                                                    <div id="createdWidget" class="bootstrap-datepicker "></div>
+                                                                </div>
+                                                            </div>
+                                                        </div>
+
+                                                        <div ng-switch-when="IP_ADDRESS">
+                                                            <input type="text"
+                                                                   class="form-control input-sm"
+                                                                   name="ipAdress"
+                                                                   ng-model="customField.useValues"
+                                                                   kr-input
+                                                                   ng-pattern="/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/"
+                                                                   placeholder="IP 二쇱냼 �삎�떇留� �엯�젰 媛��뒫�빀�땲�떎."
+                                                                   autocomplete="off">
+                                                            <div ng-show="issueSearchForm.ipAdress.$error.pattern" class="help-block form-text text-danger"
+                                                                 translate="common.invalidipAdressFormat">IP二쇱냼 �삎�떇�씠 留욎� �븡�뒿�땲�떎.
+                                                            </div>
+                                                        </div>
+
+                                                        <div ng-switch-when="EMAIL">
+                                                            <input type="email"
+                                                                   class="form-control input-sm"
+                                                                   name="email"
+                                                                   ng-model="customField.useValues"
+                                                                   kr-input
+                                                                   ng-pattern="/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/"
+                                                                   placeholder="�씠硫붿씪 �삎�떇留� �엯�젰 媛��뒫�빀�땲�떎."
+                                                                   autocomplete="off">
+                                                            <div ng-show="issueSearchForm.email.$error.pattern" class="help-block form-text text-danger"
+                                                                 translate="common.invalidEmailFormat">�씠硫붿씪 �삎�떇�씠 留욎� �븡�뒿�땲�떎.
+                                                            </div>
+                                                        </div>
+
+                                                        <div ng-switch-when="SITE">
+                                                            <input type="text"
+                                                                   class="form-control input-sm"
+                                                                   name="site"
+                                                                   ng-model="customField.useValues"
+                                                                   kr-input
+                                                                   ng-pattern="/((http|https):\/\/)?(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/"
+                                                                   placeholder="�솃�럹�씠吏� 二쇱냼 �삎�떇留� �엯�젰 媛��뒫�빀�땲�떎."
+                                                                   autocomplete="off">
+                                                            <div ng-show="issueSearchForm.site.$error.pattern" class="help-block form-text text-danger"
+                                                                 translate="common.invalidSiteFormat">�솃�럹�씠吏� 二쇱냼 �삎�떇�씠 留욎� �븡�뒿�땲�떎.(http://濡� �떆�옉�븯�뀛�빞�빀�땲�떎)
+                                                            </div>
+                                                        </div>
+                                                        <div ng-switch-when="TEL">
+                                                            <input type="text"
+                                                                   class="form-control input-sm"
+                                                                   name="tel"
+                                                                   ng-model="customField.useValues"
+                                                                   kr-input
+                                                                   ng-pattern="/^\d{2,3}-\d{3,4}-\d{4}$/"
+                                                                   placeholder="�뿰�씫泥� �삎�떇留� �엯�젰 媛��뒫�빀�땲�떎."
+                                                                   autocomplete="off">
+                                                            <div ng-show="issueSearchForm.tel.$error.pattern" class="help-block form-text text-danger"
+                                                                 translate="common.invalidTelFormat">�쟾�솕踰덊샇 �삎�떇�씠 留욎� �븡�뒿�땲�떎.
+                                                            </div>
+                                                        </div>
 
                                                         <div ng-switch-default>
                                                             <ng-dropdown-multiselect class="multiSelect cursor"

--
Gitblit v1.8.0