엑셀 업로드 / 다운로드 / 대쉬보드풀기
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
|
||||
<div class="component-btns bottom-btn-group">
|
||||
<div class="btns-row align-right">
|
||||
<button class="btn" onclick="showAdminExcelUploadModal();" type="button" th:unless="${activeProfile != 'local'}">
|
||||
<button class="btn" onclick="showAdminExcelUploadModal();" type="button">
|
||||
<span class="btn-txt">엑셀 업로드</span>
|
||||
</button>
|
||||
<!-- <button class="btn" onclick="goExcel();" type="button"><span class="btn-txt" th:unless="${activeProfile != 'local'}">엑셀 다운로드</span></button>-->
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:sec="http://www.w3.org/1999/xhtml"
|
||||
xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<section layout:fragment="content" th:unless="${activeProfile != 'local'}">
|
||||
<section layout:fragment="content">
|
||||
<div class="d-flex-tit">
|
||||
<hgroup class="page-tit-group">
|
||||
<h2 class="page-tit" id="recordMonthText">
|
||||
@@ -405,9 +405,9 @@
|
||||
const activeProfile = '[[${activeProfile}]]';
|
||||
// 페이지 로드 시 호출
|
||||
$(document).ready(function() {
|
||||
if(activeProfile === 'local'){
|
||||
getTotalPercentage();
|
||||
}
|
||||
|
||||
getTotalPercentage();
|
||||
|
||||
$('#usageType').change(function() {
|
||||
getTotalPercentage();
|
||||
});
|
||||
|
||||
@@ -270,10 +270,10 @@
|
||||
|
||||
<div class="component-btns bottom-btn-group">
|
||||
<div class="btns-row align-right">
|
||||
<button type="button" class="btn" onclick="showExcelHouseholdModal();" th:unless="${activeProfile != 'local'}">
|
||||
<span class="btn-txt">엑셀 업로드 <i class="ico-download ico-small" aria-hidden="true"></i></span>
|
||||
<button type="button" class="btn" onclick="showExcelHouseholdModal();" >
|
||||
<span class="btn-txt">엑셀 업로드</span>
|
||||
</button>
|
||||
<button type="button" class="btn" onclick="showExcelDownloadModal();" th:unless="${activeProfile != 'local'}">
|
||||
<button type="button" class="btn" onclick="showExcelDownloadModal();">
|
||||
<span class="btn-txt">엑셀 다운로드 <i class="ico-download ico-small" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
<!-- 관리자만 노출 -->
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
<div class="row paging"></div>
|
||||
|
||||
<div class="component-btns bottom-btn-group" th:unless="${activeProfile != 'local'}">
|
||||
<div class="component-btns bottom-btn-group" >
|
||||
<div class="btns-row align-right">
|
||||
<button type="button" class="btn" onclick="goExcel();">
|
||||
<span class="btn-txt">엑셀 다운로드 <i class="ico-download ico-small" aria-hidden="true"></i></span>
|
||||
|
||||
Reference in New Issue
Block a user