Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
cooperatic-foodcoops
third-party
Commits
2e70b732
Commit
2e70b732
authored
Jul 26, 2021
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enhance action buttons style
parent
2f35b724
Pipeline
#1259
failed with stage
in 1 minute 23 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
13 deletions
+7
-13
oders_helper_style.css
orders/static/css/oders_helper_style.css
+1
-8
orders_helper.js
orders/static/js/orders_helper.js
+1
-1
helper.html
templates/orders/helper.html
+5
-4
No files found.
orders/static/css/oders_helper_style.css
View file @
2e70b732
...
...
@@ -127,17 +127,13 @@
#actions_buttons_wrapper
{
position
:
relative
;
margin-
lef
t
:
5px
;
margin-
righ
t
:
5px
;
}
#toggle_action_buttons
{
width
:
250px
;
border
:
1px
solid
black
;
position
:
relative
;
}
#toggle_action_buttons
:hover
{
background-color
:
#c7cace
;
}
.toggle_action_buttons_icon
{
position
:
absolute
;
...
...
@@ -157,9 +153,6 @@
.action_button
{
width
:
100%
;
min-height
:
45px
;
border-color
:
black
;
border-style
:
solid
;
border-width
:
0
1px
1px
1px
;
}
/* -- Order data */
...
...
orders/static/js/orders_helper.js
View file @
2e70b732
...
...
@@ -715,7 +715,7 @@ function generate_inventory() {
$
(
'#toggle_action_buttons'
).
notify
(
"Inventaire créé !"
,
{
elementPosition
:
"bottom
right
"
,
elementPosition
:
"bottom
center
"
,
className
:
"success"
,
}
);
...
...
templates/orders/helper.html
View file @
2e70b732
...
...
@@ -41,11 +41,9 @@
<i
class=
"fas fa-arrow-left"
></i>
Retour
</button>
<div
class=
"right_action_buttons"
>
<a
class=
'btn--success link_as_button'
id=
"access_metabase"
style=
"display:none;"
href=
"{{metabase_url}}"
target=
"_blank"
>
Stats Métabase
</a>
<div
id=
"actions_buttons_wrapper"
>
<button
type=
"button"
class=
'btn'
id=
"toggle_action_buttons"
>
<button
type=
"button"
class=
'btn
--primary
'
id=
"toggle_action_buttons"
>
<span
class=
"button_content"
>
Actions
</span>
...
...
@@ -62,6 +60,9 @@
</button>
</div>
</div>
<a
class=
'btn--warning link_as_button'
id=
"access_metabase"
style=
"display:none;"
href=
"{{metabase_url}}"
target=
"_blank"
>
Stats Métabase
</a>
</div>
</div>
...
...
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