[수정] 글자제한 + 차트 최대값 115 => 100 수정

dev_bert
Unknown 3 years ago
parent c71f9d4367
commit 8035e2f23e

@ -177,7 +177,7 @@
<#if model['lm_vote_list']?has_content> <#if model['lm_vote_list']?has_content>
<#list model['lm_vote_list'] as item> <#list model['lm_vote_list'] as item>
<div id="array_tag" class="control-label text-left" style="padding-left:260px;"> <div id="array_tag" class="control-label text-left" style="padding-left:260px;">
<input class="vote_input" name="vote_content" placeholder="투표 내용을 입력하세요." value="${item['v_content']!}" style="border: 1px solid #ccd0d4;width:90%"> <input class="vote_input" name="vote_content" placeholder="투표 내용을 입력하세요.( 20글자 제한 )" value="${item['v_content']!}" style="border: 1px solid #ccd0d4;width:90%">
<span>&nbsp;&nbsp;</span><a onclick="fncRemove(this);"><img src="${URL_ROOT}/m/img/close_ico.png" style="height: 20px; width: 20px;"></a> <span>&nbsp;&nbsp;</span><a onclick="fncRemove(this);"><img src="${URL_ROOT}/m/img/close_ico.png" style="height: 20px; width: 20px;"></a>
</div> </div>
</#list> </#list>
@ -424,7 +424,7 @@
$('.vote_add').on('click', function () { $('.vote_add').on('click', function () {
$(".vote_list").append( $(".vote_list").append(
"<div id=\"array_tag\" class=\"control-label text-left\" style=\"padding-left:260px;\" >" + "<div id=\"array_tag\" class=\"control-label text-left\" style=\"padding-left:260px;\" >" +
"<input class='vote_input' name='vote_content' placeholder='투표 내용을 입력하세요.' style=\"border: 1px solid #ccd0d4;width:90%\" >" + "<input class='vote_input' name='vote_content' placeholder='투표 내용을 입력하세요.( 20글자 제한 )' style=\"border: 1px solid #ccd0d4;width:90%\" >" +
"<span>&nbsp;&nbsp;</span><a onclick=\"fncRemove(this);\"><img src=\"${URL_ROOT}/m/img/close_ico.png\" style=\"height: 20px; width: 20px;\"></a>" + "<span>&nbsp;&nbsp;</span><a onclick=\"fncRemove(this);\"><img src=\"${URL_ROOT}/m/img/close_ico.png\" style=\"height: 20px; width: 20px;\"></a>" +
"</div>" "</div>"
); );

@ -123,7 +123,7 @@
<#if model['lm_vote_list']?has_content> <#if model['lm_vote_list']?has_content>
<#list model['lm_vote_list'] as item> <#list model['lm_vote_list'] as item>
<div class="vote_box"> <div class="vote_box">
<input class="vote_input" maxlength="18" name="vote_content" placeholder="투표 내용을 입력하세요." value="${item['v_content']!}" > <input class="vote_input" maxlength="18" name="vote_content" placeholder="투표 내용을 입력하세요.( 20글자 제한 )" value="${item['v_content']!}" >
<span>&nbsp;&nbsp;</span><a onclick="fncRemove(this);"><img src="${URL_ROOT}/m/img/close_ico.png" style="height: 20px; width: 20px;"></a> <span>&nbsp;&nbsp;</span><a onclick="fncRemove(this);"><img src="${URL_ROOT}/m/img/close_ico.png" style="height: 20px; width: 20px;"></a>
</div> </div>
</#list> </#list>
@ -346,7 +346,7 @@
$('.vote_add').on('click', function () { $('.vote_add').on('click', function () {
$(".vote_list").append( $(".vote_list").append(
"<div class='vote_box'>" + "<div class='vote_box'>" +
"<input class='vote_input' maxlength='18' name='vote_content' placeholder='투표 내용을 입력하세요.'>" + "<input class='vote_input' maxlength='18' name='vote_content' placeholder='투표 내용을 입력하세요.( 20글자 제한 )'>" +
"<span>&nbsp;&nbsp;</span><a onclick=\"fncRemove(this);\"><img src=\"${URL_ROOT}/m/img/close_ico.png\" style=\"height: 20px; width: 20px;\"></a>" + "<span>&nbsp;&nbsp;</span><a onclick=\"fncRemove(this);\"><img src=\"${URL_ROOT}/m/img/close_ico.png\" style=\"height: 20px; width: 20px;\"></a>" +
"</div>" "</div>"
); );

@ -352,7 +352,7 @@
fontColor: '#252525', fontColor: '#252525',
fontSize: '11', fontSize: '11',
min: 0, min: 0,
max: 115, max: 100,
stepSize: 20, stepSize: 20,
} }
}], }],
@ -479,7 +479,7 @@
fontColor: '#252525', fontColor: '#252525',
fontSize: '11', fontSize: '11',
min: 0, min: 0,
max: 115, max: 100,
stepSize: 20, stepSize: 20,
} }
}], }],

@ -78,7 +78,7 @@
<!-- nutrition_subMain_graph_list --> <!-- nutrition_subMain_graph_list -->
<div class="nutrition_subMain_graph_list"> <div class="nutrition_subMain_graph_list">
<#if (model['rm_child']['m']>5)&&(model['rm_child']['m']<60)> <#if (model['rm_child']['m']<60)>
<h2 style="float: left; margin: 30px 0 15px;font-size: 20px; font-weight: 400;">오늘의 식품군</h2> <a href="${URL_ROOT}/m/bf_food/view_foodgroup_balance.do?return_url=index" class="detail_veiw_btn">자세히 보기 &gt</a> <h2 style="float: left; margin: 30px 0 15px;font-size: 20px; font-weight: 400;">오늘의 식품군</h2> <a href="${URL_ROOT}/m/bf_food/view_foodgroup_balance.do?return_url=index" class="detail_veiw_btn">자세히 보기 &gt</a>
</#if> </#if>
<ul> <ul>

@ -54,10 +54,10 @@
<div class="community_write_vote"> <div class="community_write_vote">
<div class="vote_list"> <div class="vote_list">
<div class="vote_box"> <div class="vote_box">
<input class="vote_input" placeholder="투표 내용을 입력하세요."> <input class="vote_input" placeholder="투표 내용을 입력하세요.( 20글자 제한 )">
</div> </div>
<div class="vote_box"> <div class="vote_box">
<input class="vote_input" placeholder="투표 내용을 입력하세요."> <input class="vote_input" placeholder="투표 내용을 입력하세요.( 20글자 제한 )">
</div> </div>
</div> </div>
<button class="vote_add"><span class="hidden vote_add_icon">항목 추가 아이콘</span>항목 추가</button> <button class="vote_add"><span class="hidden vote_add_icon">항목 추가 아이콘</span>항목 추가</button>
@ -108,7 +108,7 @@
$('.vote_add').on('click', function () { $('.vote_add').on('click', function () {
$(".vote_list").append( $(".vote_list").append(
"<div class='vote_box'>" + "<div class='vote_box'>" +
"<input class='vote_input' placeholder='투표 내용을 입력하세요.'>" + "<input class='vote_input' placeholder='투표 내용을 입력하세요.( 20글자 제한 )'>" +
"<button class='vote_delete' onclick='fncRemove(this)'></button>" + "<button class='vote_delete' onclick='fncRemove(this)'></button>" +
"</div>" "</div>"
); );

Loading…
Cancel
Save