Skip to content
Snippets Groups Projects

navbar: moved logout to user drop-down and added a new power drop-down

Closed Sunil Mohan Adapa requested to merge JoKeyser:playOnOff into master

Created by: JoKeyser

This should fix issue #834 (closed). The on/off symbol would get a drop-down menu for restart/shutdown, and the previous logout function can be found in the user drop-down menu (screenshots below). Without JavaScript, the power button links to the existing power page, offering the same choice between restart and shutdown (and the already existing logout-button still appears for easy logout).

(Note I've also cleaned up some of the code style, to match with the style in the same file, above.)

Screenshots of PR, with JS enabled: new_userdropdown new_powerdropdown

Merge request reports

Approval is optional
Ready to merge by members who can write to the target branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading