Compare commits
1 Commits
a199114453
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 355798a506 |
@@ -195,6 +195,8 @@
|
|||||||
/* ===================== 공지사항(📢) 페이지 ===================== */
|
/* ===================== 공지사항(📢) 페이지 ===================== */
|
||||||
/* 작성/수정 공용 폼 */
|
/* 작성/수정 공용 폼 */
|
||||||
.ann-form { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--border-soft); border-radius: 12px; padding: 16px; }
|
.ann-form { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--border-soft); border-radius: 12px; padding: 16px; }
|
||||||
|
/* hidden 속성이 켜져 있으면 확실히 숨긴다 (display:flex 가 [hidden] 기본 규칙을 이겨 수정폼이 항상 보이던 버그 방지). */
|
||||||
|
.ann-form[hidden] { display: none; }
|
||||||
.ann-form-new { margin-bottom: 24px; }
|
.ann-form-new { margin-bottom: 24px; }
|
||||||
.ann-input-title, .ann-input-body {
|
.ann-input-title, .ann-input-body {
|
||||||
width: 100%; box-sizing: border-box; font-family: inherit; font-size: 14px; color: var(--fg);
|
width: 100%; box-sizing: border-box; font-family: inherit; font-size: 14px; color: var(--fg);
|
||||||
|
|||||||
@@ -53,11 +53,7 @@
|
|||||||
<%- icon("book", { size: 15 }) %><span>매뉴얼</span>
|
<%- icon("book", { size: 15 }) %><span>매뉴얼</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<% if (user.isAdmin) { %>
|
<!-- 알림(🔔) 종 — 관리자 뱃지 왼쪽. 목록/배지는 app.js(notifications.js)가 fetch 로 채운다. -->
|
||||||
<span class="admin-pill"><%- icon("lock", { size: 11 }) %>관리자</span>
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
<!-- 알림(🔔) 종 — 프로필 왼쪽. 목록/배지는 app.js(notifications.js)가 fetch 로 채운다. -->
|
|
||||||
<div class="notif">
|
<div class="notif">
|
||||||
<button class="icon-btn notif-btn" id="notifBtn" type="button" aria-haspopup="true" aria-expanded="false" title="알림" aria-label="알림">
|
<button class="icon-btn notif-btn" id="notifBtn" type="button" aria-haspopup="true" aria-expanded="false" title="알림" aria-label="알림">
|
||||||
<%- icon("bell", { size: 16 }) %>
|
<%- icon("bell", { size: 16 }) %>
|
||||||
@@ -75,6 +71,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- 관리자 뱃지 — 프로필 바로 왼쪽 -->
|
||||||
|
<% if (user.isAdmin) { %>
|
||||||
|
<span class="admin-pill"><%- icon("lock", { size: 11 }) %>관리자</span>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
<div class="usermenu">
|
<div class="usermenu">
|
||||||
<button class="usermenu-btn" id="userMenuBtn" type="button" aria-haspopup="true" aria-expanded="false">
|
<button class="usermenu-btn" id="userMenuBtn" type="button" aria-haspopup="true" aria-expanded="false">
|
||||||
<span class="who"><%= user.sabun %></span>
|
<span class="who"><%= user.sabun %></span>
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
<div class="section-head">
|
<div class="section-head">
|
||||||
<div class="section-titlewrap">
|
<div class="section-titlewrap">
|
||||||
<h2 class="section-title">공지사항</h2>
|
<h2 class="section-title">공지사항</h2>
|
||||||
<span class="section-sub">관리자 공지 모아보기</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user