Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • m4lab_landing_page m4lab_landing_page
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • m4lab_landing_pagem4lab_landing_page
  • Merge requests
  • !116
An error occurred while fetching the assigned milestone of the selected merge_request.

fixed display issues with cookie banner

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Wolfgang Knopki requested to merge MLAB-547-fix into testing 3 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Display properties not correctly set on cookie banner lead to it being transparent yet still accessible for clicks -> changed class logic to completely block display when cookieSeen is set.

  • Wolfgang Knopki @knopkiwg assigned to @knopkiwg 3 years ago

    assigned to @knopkiwg

  • Wolfgang Knopki @knopkiwg mentioned in commit 3cfd80f6 3 years ago

    mentioned in commit 3cfd80f6

  • Wolfgang Knopki @knopkiwg merged 3 years ago

    merged

  • Loading
  • Loading
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • testing (base)

and
  • latest version
    c4289aab
    1 commit, 3 years ago

2 files
+ 6
- 1

    Preferences

    File browser
    Compare changes
c‎ss‎
m4la‎b.css‎ +4 -0
j‎s‎
headf‎oot.js‎ +2 -1
css/m4lab.css
+ 4
- 0
  • View file @ c4289aab

  • Edit in single-file editor

  • Open in Web IDE


@@ -597,3 +597,7 @@ justify-content:space-evenly;}
width: 80%;
height: 20%;
}
.hidden{
display:none;
}
js/headfoot.js
+ 2
- 1
  • View file @ c4289aab

  • Edit in single-file editor

  • Open in Web IDE


@@ -225,7 +225,7 @@ function foot() {
// cookiebanner
let cookiediv = document.createElement("div");
cookiediv.classList.add("alert", "alert-info", "alert-dismissible", "fade", "cookie-banner" );
cookiediv.classList.add("alert", "alert-info", "alert-dismissible", "hidden", "cookie-banner" );
cookiediv.style = "text-align:center;";
cookiediv.id="cookiediv";
cookiediv.innerHTML="<strong>Cookie-Benachrichtigung</strong><br/> Diese Webseite nutzt technisch notwendige Session-Cookies und gegebenenfalls Cookies zur Authentifizierung. Mit der Benutzung der Webseite erklären Sie sich damit einverstanden. <br/> Weitere Informationen finden Sie in unserer <a href='https://www.hft-stuttgart.de/datenschutz'> Datenschutzerklärung </a>"
@@ -243,6 +243,7 @@ function foot() {
function setCookieSeen(){
if (localStorage.getItem("cookieSeen") != "shown") {
document.getElementById("cookiediv").classList.remove("hidden");
document.getElementById("cookiediv").classList.add("show");
localStorage.setItem("cookieSeen","shown")
};
Assignee
Wolfgang Knopki's avatar
Wolfgang Knopki
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: MLAB-547-fix

Menu

Explore Projects Groups Snippets

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal