Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] url 수정 #10

Merged
merged 1 commit into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/main/resources/templates/character-inventory.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
<h1>쿠 관리자 페이지</h1>
</div>
<ul class="menu">
<li><a href="/dashboard">대시보드</a></li>
<li><a href="/dashboard">유저 관리</a></li>
<li><a href="/character-inventory" class="active">캐릭터 및 인벤토리 관리</a></li>
<li><a href="/admin/chat-management">채팅 관리</a></li>
<li><a href="/admin/game-records">게임 기록 조회</a></li>
<li><a href="/admin/settings">환경 설정</a></li>
<li><a href="/manager-service/dashboard">대시보드</a></li>
<li><a href="/manager-service/dashboard" class="active">유저 관리</a></li>
<li><a href="/manager-service/character-inventory">캐릭터 및 인벤토리 관리</a></li>
<li><a href="/manager-service/admin/chat-management">채팅 관리</a></li>
<li><a href="/manager-service/admin/game-records">게임 기록 조회</a></li>
<li><a href="/manager-service/admin/settings">환경 설정</a></li>
</ul>
</nav>

Expand Down
15 changes: 7 additions & 8 deletions src/main/resources/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@
<h1>쿠 관리자 페이지</h1>
</div>
<ul class="menu">
<li><a href="/dashboard">대시보드</a></li>
<li><a href="/dashboard" class="active">유저 관리</a></li>
<li><a href="/character-inventory">캐릭터 및 인벤토리 관리</a></li>
<li><a href="/admin/chat-management">채팅 관리</a></li>
<li><a href="/admin/game-records">게임 기록 조회</a></li>
<li><a href="/admin/settings">환경 설정</a></li>
<li><a href="/manager-service/dashboard">대시보드</a></li>
<li><a href="/manager-service/dashboard" class="active">유저 관리</a></li>
<li><a href="/manager-service/character-inventory">캐릭터 및 인벤토리 관리</a></li>
<li><a href="/manager-service/admin/chat-management">채팅 관리</a></li>
<li><a href="/manager-service/admin/game-records">게임 기록 조회</a></li>
<li><a href="/manager-service/admin/settings">환경 설정</a></li>
</ul>
</nav>

<!-- Main Content -->
<div class="main-content">
<header>
<h2>유저 관리</h2>
Expand Down Expand Up @@ -50,7 +49,7 @@ <h2>유저 관리</h2>
<td th:text="${user.role}"></td>
<td th:text="${user.accountStatus == 'RUN' ? '정상' : '정지'}"></td>
<td>
<form action="#" th:action="@{/user/ban/{userId}(userId=${user.userId})}" method="post" style="display:inline;">
<form action="#" th:action="@{/manager-serivce/user/ban/{userId}(userId=${user.userId})}" method="post" style="display:inline;">
<button type="submit" class="btn"
th:text="${user.accountStatus == 'STOP' ? '해제' : '정지'}"></button>
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</head>
<body>
<h1>관리자 페이지 로그인</h1>
<form action="#" th:action="@{/admin/login}" method="post">
<form action="#" th:action="@{/manager-service/admin/login}" method="post">
<label for="email">Username:</label>
<input type="text" id="email" name="email" required>
<br>
Expand Down
Loading