Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
web_log
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b08ea6b2
authored
Jan 04, 2021
by
lichenggang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复文件多时html显示不全
parent
e1e29920
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
web/views/index.html
web/views/innnerip.html
web/views/server_direc.html
web/views/index.html
View file @
b08ea6b2
...
...
@@ -10,8 +10,9 @@
<div
style=
"font-size: 20px"
>
选择服务器
</div>
<div
id=
"files"
style=
"display: none"
>
{{ . }}
</div>
<div
id=
"show"
></div>
<div
id=
"show"
style=
"overflow-y: scroll;"
></div>
<script>
$
(
"#show"
).
height
(
document
.
documentElement
.
scrollHeight
-
50
)
files
=
document
.
getElementById
(
"files"
).
innerHTML
snsArr
=
files
.
split
(
"~~"
);
snsArr
.
forEach
((
item
,
index
)
=>
{
...
...
web/views/innnerip.html
View file @
b08ea6b2
...
...
@@ -9,8 +9,10 @@
<body>
<div
style=
"font-size: 20px"
>
选择服务
</div>
<div
id=
"files"
style=
"display: none"
>
{{ . }}
</div>
<div
id=
"show"
></div>
<div
id=
"show"
style=
"overflow-y: scroll;"
></div>
<script>
$
(
"#show"
).
height
(
document
.
documentElement
.
scrollHeight
-
50
)
files
=
document
.
getElementById
(
"files"
).
innerHTML
snsArr
=
files
.
split
(
"~~"
);
snsArr
.
forEach
((
item
,
index
)
=>
{
...
...
web/views/server_direc.html
View file @
b08ea6b2
...
...
@@ -9,8 +9,10 @@
<body>
<div
style=
"font-size: 20px"
>
选择日志文件
</div>
<div
id=
"files"
style=
"display: none"
>
{{ . }}
</div>
<div
id=
"show"
></div>
<div
id=
"show"
style=
"overflow-y: scroll;"
></div>
<script>
$
(
"#show"
).
height
(
document
.
documentElement
.
scrollHeight
-
50
)
files
=
document
.
getElementById
(
"files"
).
innerHTML
snsArr
=
files
.
split
(
"~~"
);
snsArr
.
forEach
((
item
,
index
)
=>
{
...
...
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