Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SWLab UI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SWD
SWLab UI
Commits
190c6f9f
Commit
190c6f9f
authored
Jun 04, 2026
by
박민석
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
로그인 관련 잔여 기능 및 UI 제거
parent
4d23a2b1
Pipeline
#23248
passed with stages
in 4 minutes and 33 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
31 deletions
+3
-31
08-chat.js
src/js/08-chat.js
+2
-0
09-check-login.js
src/js/09-check-login.js
+0
-24
10-check-offline.js
src/js/10-check-offline.js
+1
-1
header-content.hbs
src/partials/header-content.hbs
+0
-6
No files found.
src/js/08-chat.js
View file @
190c6f9f
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
'use strict'
'use strict'
const
chatButton
=
document
.
querySelector
(
'.chat-btn'
)
const
chatButton
=
document
.
querySelector
(
'.chat-btn'
)
if
(
!
chatButton
)
return
const
chat
=
document
.
querySelector
(
'.chat'
)
const
chat
=
document
.
querySelector
(
'.chat'
)
const
chatIcon
=
document
.
querySelector
(
'.chat-btn svg'
)
const
chatIcon
=
document
.
querySelector
(
'.chat-btn svg'
)
const
chatTextArea
=
document
.
getElementById
(
'chat-input'
)
const
chatTextArea
=
document
.
getElementById
(
'chat-input'
)
...
...
src/js/09-check-login.js
deleted
100644 → 0
View file @
4d23a2b1
/* eslint-disable no-undef */
const
logo
=
document
.
querySelector
(
'.navbar-brand > a'
)
function
removeSecretNav
()
{
const
elements
=
document
.
getElementsByClassName
(
'secret-nav'
)
while
(
elements
.
length
>
0
)
{
elements
[
0
].
parentNode
.
removeChild
(
elements
[
0
])
}
}
fetch
(
'/web/dms/api/auth/status'
)
.
then
((
response
)
=>
{
if
(
response
.
url
===
'https://swlab.bwg.co.kr/web/dms/login'
)
{
removeSecretNav
()
logo
.
setAttribute
(
'href'
,
'https://swlab.bwg.co.kr'
)
}
else
{
logo
.
setAttribute
(
'href'
,
'https://swlab.bwg.co.kr/web/dms/home'
)
}
})
.
catch
((
error
)
=>
{
console
.
error
(
'Error checking login status:'
,
error
)
removeSecretNav
()
})
src/js/10-check-offline.js
View file @
190c6f9f
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
// 네트워크 상태 확인 및 버튼 제어
// 네트워크 상태 확인 및 버튼 제어
function
checkIfLocalFile
()
{
function
checkIfLocalFile
()
{
if
(
window
.
location
.
protocol
===
'file:'
)
{
if
(
window
.
location
.
protocol
===
'file:'
)
{
chatButton
.
style
.
display
=
'none'
// 오프라인 상태면 chatButton 숨김
if
(
chatButton
)
chatButton
.
style
.
display
=
'none'
topButton
.
style
.
bottom
=
'20px'
topButton
.
style
.
bottom
=
'20px'
menu
.
style
.
display
=
'none'
menu
.
style
.
display
=
'none'
}
}
...
...
src/partials/header-content.hbs
View file @
190c6f9f
...
@@ -30,12 +30,9 @@
...
@@ -30,12 +30,9 @@
<a
class=
"navbar-link"
href=
"#"
>
Products
</a>
<a
class=
"navbar-link"
href=
"#"
>
Products
</a>
<div
class=
"navbar-dropdown"
>
<div
class=
"navbar-dropdown"
>
<a
class=
"navbar-item"
href=
"https://swlab.bwg.co.kr/web/docs/bxm/swlab-docs-bxm/current/index.html"
>
BXM
</a>
<a
class=
"navbar-item"
href=
"https://swlab.bwg.co.kr/web/docs/bxm/swlab-docs-bxm/current/index.html"
>
BXM
</a>
<a
class=
"navbar-item secret-nav"
href=
"https://swlab.bwg.co.kr/web/docs/bxm/swlab-docs-bxm-s/current/concepts/overview.html"
>
BXM Internal
</a>
<a
class=
"navbar-item"
href=
"https://swlab.bwg.co.kr/web/docs/bxcm/swlab-docs-bxcm/current/index.html"
>
BXCM
</a>
<a
class=
"navbar-item"
href=
"https://swlab.bwg.co.kr/web/docs/bxcm/swlab-docs-bxcm/current/index.html"
>
BXCM
</a>
<a
class=
"navbar-item secret-nav"
href=
"https://swlab.bwg.co.kr/web/docs/bxcm/swlab-docs-bxcm-s/current/concepts/overview.html"
>
BXCM Internal
</a>
<a
class=
"navbar-item"
href=
"https://swlab.bwg.co.kr/web/docs/bxcp/swlab-docs-bxcp/current/index.html"
>
BXCP
</a>
<a
class=
"navbar-item"
href=
"https://swlab.bwg.co.kr/web/docs/bxcp/swlab-docs-bxcp/current/index.html"
>
BXCP
</a>
<a
class=
"navbar-item"
href=
"https://swlab.bwg.co.kr/web/docs/bxi/swlab-docs-bxi/current/index.html"
>
BXI
</a>
<a
class=
"navbar-item"
href=
"https://swlab.bwg.co.kr/web/docs/bxi/swlab-docs-bxi/current/index.html"
>
BXI
</a>
<a
class=
"navbar-item secret-nav"
href=
"https://swlab.bwg.co.kr/web/docs/swlab-docs/current/ready-to-write/text-editor.html"
>
Manual Guide
</a>
</div>
</div>
</div>
</div>
{{!-- 다운로드 버튼 임시 비활성화
{{!-- 다운로드 버튼 임시 비활성화
...
@@ -58,12 +55,9 @@
...
@@ -58,12 +55,9 @@
</li>
</li>
<ul
class=
"mobile-product-link"
>
<ul
class=
"mobile-product-link"
>
<li
class=
"product-link"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxm/swlab-docs-bxm/current/concepts/overview.html'"
>
BXM
</li>
<li
class=
"product-link"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxm/swlab-docs-bxm/current/concepts/overview.html'"
>
BXM
</li>
<li
class=
"product-link secret-nav"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxm/swlab-docs-bxm-s/current/concepts/overview.html'"
>
BXM Internal
</li>
<li
class=
"product-link"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxcm/swlab-docs-bxcm/current/concepts/overview.html'"
>
BXCM
</li>
<li
class=
"product-link"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxcm/swlab-docs-bxcm/current/concepts/overview.html'"
>
BXCM
</li>
<li
class=
"product-link secret-nav"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxcm/swlab-docs-bxcm-s/current/concepts/overview.html'"
>
BXCM Internal
</li>
<li
class=
"product-link"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxcp/swlab-docs-bxcp/current/concepts/overview.html'"
>
BXCP
</li>
<li
class=
"product-link"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxcp/swlab-docs-bxcp/current/concepts/overview.html'"
>
BXCP
</li>
<li
class=
"product-link"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxi/swlab-docs-bxi/current/concepts/overview.html'"
>
BXI
</li>
<li
class=
"product-link"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/bxi/swlab-docs-bxi/current/concepts/overview.html'"
>
BXI
</li>
<li
class=
"product-link secret-nav"
onclick=
"window.location.href='https://swlab.bwg.co.kr/web/docs/swlab-docs/current/ready-to-write/text-editor.html'"
>
Manual Guide
</li>
</ul>
</ul>
{{!-- 다운로드 버튼 임시 비활성화
{{!-- 다운로드 버튼 임시 비활성화
<li class="mobile-menu-item">
<li class="mobile-menu-item">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment