Adjusted user management menu icon to desktop header

This commit is contained in:
Benjamin Barth committed 2015-12-08 16:44:08 +01:00
1 parent 1dfc7a21a9
commit cc7204cea2
3 files changed
+67 -3

No files matched your search

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Ebene_1"
x="0px"
y="0px"
viewBox="0 0 40 30"
style="enable-background:new 0 0 40 30;"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="loggedout.svg"><metadata
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
id="defs13" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1600"
inkscape:window-height="838"
id="namedview11"
showgrid="false"
inkscape:zoom="7.8666667"
inkscape:cx="-21.440678"
inkscape:cy="15"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="Ebene_1" /><style
type="text/css"
id="style3">
.st0{fill:#49639F;}
.st1{fill:#DC4A38;}
.st2{fill:#F0AB00;}
.st3{fill-rule:evenodd;clip-rule:evenodd;fill:#333333;}
.st4{fill:#FFFFFF;}
</style><g
id="g5"
style="fill:#f6f9fc;fill-opacity:1"><path
class="st2"
d="M12.8,15c2.2,0,4-1.8,4-4c0-2.2-1.8-4-4-4s-4,1.8-4,4C8.8,13.2,10.6,15,12.8,15z M12.8,17c-2.7,0-8,1.3-8,4v2 h16v-2C20.8,18.3,15.5,17,12.8,17z"
id="path7"
style="fill:#f6f9fc;fill-opacity:1" /><polygon
class="st2"
points="35.2,12.5 30.2,17.5 25.2,12.5 "
id="polygon9"
style="fill:#f6f9fc;fill-opacity:1" /></g></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

@@ -109,7 +109,10 @@
width: 3rem;
height: 3rem;
vertical-align: middle;
background: url('images/home/loggedin.svg') no-repeat center;
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
background-image: url('images/home/loggedout.svg');
margin-left: 1rem;
cursor: pointer;
}
@@ -16,7 +16,6 @@ import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.impl.HyperlinkImpl;
@@ -32,6 +31,7 @@ import com.sap.sailing.gwt.home.shared.places.searchresult.SearchResultPlace;
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace;
import com.sap.sailing.gwt.home.shared.places.solutions.SolutionsPlace.SolutionsNavigationTabs;
import com.sap.sailing.gwt.home.shared.places.start.StartPlace;
import com.sap.sailing.gwt.home.shared.usermanagement.LoggedInUserInfo;
import com.sap.sailing.gwt.home.shared.usermanagement.UserManagementFlyover;
import com.sap.sse.gwt.client.mvp.PlaceChangedEvent;
@@ -136,7 +136,7 @@ public class Header extends Composite {
} else {
userManagementFlyover.show();
// FIXME: Temporary dummy content for user management flyover
userManagementFlyover.setWidget(new Label("TODO User Management"));
userManagementFlyover.setWidget(new LoggedInUserInfo());
}
}