mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Improved settings menu appearance
This commit is contained in:
parent
b0849d4104
commit
0cef611004
@ -4,6 +4,18 @@
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
/**
|
||||
* Authenticated useres
|
||||
*/
|
||||
header .dropdown .fa-gear {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Not authenticated users
|
||||
*/
|
||||
|
||||
/**
|
||||
* Login form
|
||||
*/
|
||||
|
@ -40,7 +40,16 @@ ComunicWeb.components.menuBar.authenticated = {
|
||||
var dropdownButton = createElem("a", dropdown);
|
||||
dropdownButton.className = "dropdown-toggle";
|
||||
dropdownButton.setAttribute("data-toggle", "dropdown");
|
||||
dropdownButton.innerHTML = "Menu";
|
||||
|
||||
//Add dropdown button icon
|
||||
var dropdownButtonIcon = createElem("i", dropdownButton);
|
||||
dropdownButtonIcon.className = "fa fa-gear";
|
||||
|
||||
dropdownButton.innerHTML += " ";
|
||||
|
||||
//Add dropdown button arrow
|
||||
var dropdownButtonArrow = createElem("span", dropdownButton);
|
||||
dropdownButtonArrow.className = "caret";
|
||||
|
||||
//Create dropdown menu content
|
||||
var dropdownContent = createElem("ul", dropdown);
|
||||
|
Loading…
Reference in New Issue
Block a user