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
b8f33b38
Commit
b8f33b38
authored
Jan 22, 2026
by
박민석
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
download button 비활성화 및 버전 선택 버그 테스트
parent
b992efad
Pipeline
#22999
passed with stages
in 5 minutes and 6 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
07-header.js
src/js/07-header.js
+4
-0
header-content.hbs
src/partials/header-content.hbs
+4
-0
page-versions.hbs
src/partials/page-versions.hbs
+1
-1
No files found.
src/js/07-header.js
View file @
b8f33b38
;(
function
()
{
'use strict'
/* 다운로드 버튼 임시 비활성화
var download = document.getElementById('download')
const downloadMobile = document.getElementById('mobile-download')
*/
document
.
addEventListener
(
'scroll'
,
function
()
{
var
navbar
=
document
.
querySelector
(
'.navbar'
)
...
...
@@ -14,6 +16,7 @@
}
})
/* 다운로드 버튼 임시 비활성화
function downloadFile (isMobile) {
var pathname = window.location.pathname
var path = pathname.split('/')
...
...
@@ -45,4 +48,5 @@
// 모바일 다운로드 버튼
downloadMobile.addEventListener('click', () => downloadFile(true))
*/
})()
src/partials/header-content.hbs
View file @
b8f33b38
...
...
@@ -38,6 +38,7 @@
<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 class="navbar-item">
<span class="control">
<a id="download" class="button download" href="#">
...
...
@@ -46,6 +47,7 @@
</a>
</span>
</div>
--}}
</div>
</div>
<ul
class=
"navbar-mobile-menu"
>
...
...
@@ -63,12 +65,14 @@
<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>
{{!-- 다운로드 버튼 임시 비활성화
<li class="mobile-menu-item">
<a id="mobile-download" class="button download" href="#">
<i class="download_icon"></i>
Download
</a>
</li>
--}}
</ul>
</nav>
</header>
src/partials/page-versions.hbs
View file @
b8f33b38
...
...
@@ -5,7 +5,7 @@
<h2
class=
"title"
><a
href=
"
{{{
relativize
./
url
}}}
"
>
{{
page
.
component
.
title
}}
</a></h2>
<button
class=
"version-menu-toggle"
title=
"Show other versions of page"
>
{{#if
(
or
page
.
componentVersion
.
version
(
ne
page
.
componentVersion
.
displayVersion
'default'
))
}}
v
{{
page
.
componentVersion
.
displayVersion
}}{{/if}}
</button>
{{#
with
site
.
components
.[
0
]
}}
{{#
with
page
.
component
}}
<div
class=
"version-menu"
>
{{#
each
./
versions
}}
<a
class=
"version
...
...
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