Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
32a6930e
Commit
32a6930e
authored
Dec 03, 2019
by
Piotr Gawron
Browse files
clear button disappear in the right order
parent
15a15699
Pipeline
#17318
canceled with stage
in 1 minute and 26 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
32a6930e
...
...
@@ -16,6 +16,9 @@ minerva (14.0.5) stable; urgency=medium
#1012)
* Bug fix: after loading/removing too many plugins it was impossible to load
new plugins (#1011)
* Bug fix: CLEAR button disappears after legend, comment checkboxes when
plugin tab used to much space (#976)
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 02 Dec 2019 16:00:00 +0200
...
...
frontend-js/src/main/css/global.css
View file @
32a6930e
...
...
@@ -57,9 +57,7 @@ h5 {
color
:
#ffffff
;
display
:
inline
;
width
:
auto
;
position
:
absolute
;
top
:
0
;
right
:
0
;
float
:
right
;
}
.minerva-header
a
:hover
{
...
...
frontend-js/src/main/js/gui/topMenu/TopMenu.js
View file @
32a6930e
...
...
@@ -102,17 +102,22 @@ TopMenu.prototype._createGui = function () {
showOverviewDiv
.
appendChild
(
showOverviewButton
);
self
.
setControlElement
(
PanelControlElementType
.
MENU_SHOW_OVERVIEW_BUTTON
,
showOverviewButton
);
var
rightHeaderMenuDiv
=
Functions
.
createElement
({
type
:
"
div
"
,
className
:
"
minerva-header-right-menu
"
var
clearButton
=
Functions
.
createElement
({
type
:
"
button
"
,
name
:
"
clearButton
"
,
className
:
"
minerva-overview-button
"
,
style
:
"
float:right
"
,
content
:
"
<i class='fa fa-times' style='font-size:18px; font-weight:300; padding-right:10px;'></i>CLEAR
"
,
xss
:
false
});
self
.
getElement
().
appendChild
(
rightHeaderMenuDiv
);
self
.
getElement
().
appendChild
(
clearButton
);
var
div4checkboxes
=
Functions
.
createElement
({
type
:
"
div
"
,
style
:
"
float:right
"
,
className
:
"
minerva-top-checkbox-div
"
});
rightHeaderMenuDiv
.
appendChild
(
div4checkboxes
);
self
.
getElement
()
.
appendChild
(
div4checkboxes
);
var
legendCheckbox
=
Functions
.
createElement
({
type
:
"
input
"
,
...
...
@@ -149,14 +154,6 @@ TopMenu.prototype._createGui = function () {
div4checkboxes
.
appendChild
(
refreshCommentButton
);
self
.
setControlElement
(
PanelControlElementType
.
MENU_REFRESH_COMMENTS_BUTTON
,
refreshCommentButton
);
var
clearButton
=
Functions
.
createElement
({
type
:
"
button
"
,
name
:
"
clearButton
"
,
className
:
"
minerva-overview-button
"
,
content
:
"
<i class='fa fa-times' style='font-size:18px; font-weight:300; padding-right:10px;'></i>CLEAR
"
,
xss
:
false
});
rightHeaderMenuDiv
.
appendChild
(
clearButton
);
self
.
setControlElement
(
PanelControlElementType
.
MENU_CLEAR_BUTTON
,
clearButton
);
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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