Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
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
ops
jumpserver
Commits
4d7fbcc4
Commit
4d7fbcc4
authored
Mar 14, 2018
by
q4speed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复文字过长bug
parent
3822d518
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
jumpserver.css
apps/static/css/jumpserver.css
+6
-0
index.html
apps/templates/index.html
+6
-5
No files found.
apps/static/css/jumpserver.css
View file @
4d7fbcc4
...
...
@@ -432,4 +432,10 @@ div.dataTables_wrapper div.dataTables_filter {
font-size
:
12px
!important
;
}
.ellipsis
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
apps/templates/index.html
View file @
4d7fbcc4
...
...
@@ -125,9 +125,9 @@
{% for data in week_asset_hot_ten %}
<div
class=
"timeline-item"
>
<div
class=
"row"
>
<div
class=
"col-xs-5 date"
>
<div
class=
"col-xs-5 date
ellipsis
"
>
<i
class=
"fa fa-info-circle"
></i>
<strong>
{{ data.asset }}
</strong>
<strong
data-toggle=
"tooltip"
title=
"{{ data.asset }}"
>
{{ data.asset }}
</strong>
<br/>
<small
class=
"text-navy"
>
{{ data.total }}次
</small>
</div>
...
...
@@ -213,9 +213,9 @@
{% for data in week_user_hot_ten %}
<div
class=
"timeline-item"
>
<div
class=
"row"
>
<div
class=
"col-xs-5 date"
>
<div
class=
"col-xs-5 date
ellipsis
"
>
<i
class=
"fa fa-info-circle"
></i>
<strong>
{{ data.user }}
</strong>
<strong
data-toggle=
"tooltip"
title=
"{{ data.user }}"
>
{{ data.user }}
</strong>
<br/>
<small
class=
"text-navy"
>
{{ data.total }}次
</small>
</div>
...
...
@@ -245,7 +245,8 @@ $(document).ready(function(){
$
(
'#show'
).
click
(
function
(){
$
(
'#show'
).
css
(
'display'
,
'none'
);
$
(
'#more'
).
css
(
'display'
,
'block'
);
})
});
$
(
"[data-toggle='tooltip']"
).
tooltip
();
});
require
.
config
({
paths
:
{
...
...
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