Skip to content

Commit

Permalink
[UPD] Save Button on teams eleve
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Nov 12, 2024
1 parent 7606d73 commit a52ef92
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"server": "https://qlf-macarte.ign.fr/",
"server-0": "https://macarte.ign.fr/",
"server-1": "https://macarte.mut-dev.ign.fr/",
"server-2": "https://localhost.ign.fr/macartegpf-api/",
"viewer": "https://ignf-ma-carte.github.io/mcviewer/?map=$ID&$NOTITLE",
Expand Down
9 changes: 9 additions & 0 deletions src/edugeo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[data-user-role="ROLE_EDUGEO_ELEVE ROLE_USER"] .fi-save,
[data-user-role="ROLE_EDUGEO_ELEVE ROLE_USER"] .fi-open {
display: none;
}

[data-user-role="ROLE_EDUGEO_ELEVE ROLE_USER"][data-team-role="editor"] .fi-save,
[data-user-role="ROLE_EDUGEO_ELEVE ROLE_USER"][data-team-role="editor"] .fi-open {
display: block;
}
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import story from './story'
import './unload'

import './index.css'
import './edugeo.css'

import './tools/tools'
import './menu/menu'
Expand Down

0 comments on commit a52ef92

Please sign in to comment.