Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
57a6f29f
Verified
Commit
57a6f29f
authored
6 years ago
by
Alex ORLUC
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #8636 update css profile menu with v2
parent
26990aa0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/maarch_entreprise/template/header.html
+24
-25
24 additions, 25 deletions
apps/maarch_entreprise/template/header.html
with
24 additions
and
25 deletions
apps/maarch_entreprise/template/header.html
+
24
−
25
View file @
57a6f29f
...
...
@@ -40,32 +40,31 @@
<?php
$strUserInfos = '<i class="fa fa-user fa-2x" style="padding-right:5px;"></i> ' . $_SESSION['user']['FirstName'][0].". ".$_SESSION['user']['LastName'];
echo $strUserInfos; ?>
<div
id=
"profilenav"
class=
"menunav"
style=
"left: -135px;display:none;"
>
<div
class=
"footer_menu"
>
<span
style=
"color:white;float:left;"
>
Groupes
</span>
<div
style=
"clear:both;"
></div>
</div>
<div
class=
"header_menu_blank"
>
</div>
<ul
style=
"color:#666;"
>
<?php
$userGroups = \User\models\UserModel::getGroupsByUserId(['userId'=> $_SESSION['user']['UserId']]);
if(!empty($userGroups)){
for($i=0;$i<count($userGroups);$i++){
$strGrpInfos .= '<li>'.$userGroups[$i]['group_desc'].'</li>';
<div
id=
"profilenav"
class=
"menunav"
style=
"left: -135px;display:none;background: #135f7f;"
>
<canvas
class=
"header-bg"
width=
"250"
height=
"70"
style=
"width: 100%;background-image: url('static.php?filename=login-banner.jpg');background-size:cover;border-bottom: solid 1px white;"
></canvas>
<i
title=
"<?php echo _MY_INFO;?>"
onclick=
"triggerAngular('#/profile')"
style=
"cursor:pointer;z-index:1;color:white;position: absolute;left: 85px;top: 17px;background-image: url('static.php?filename=logo_only.svg');width: 70px;height: 70px;background-size: cover;background-position: top center;border-radius: 50%;border: solid white;background-color:white;"
></i>
<div
class=
"content"
style=
"padding-top:10px;color:#666;max-height:250px;overflow-y:auto;overflow-x:hidden;"
>
<p
routerLink=
"/profile"
class=
"text-center"
style=
"margin-top:10px;cursor:pointer;color:white;"
>
<?php echo $_SESSION['user']['FirstName'].". ".$_SESSION['user']['LastName'];?>
</p>
<h3
style=
"padding: 5px;margin-top:10px;color:white;text-align:left;"
>
Groupes
</h3>
<ul
style=
"color:white;padding: 10px;text-align:left;opacity: 0.5;"
>
<?php
$userGroups = \User\models\UserModel::getGroupsByUserId(['userId'=> $_SESSION['user']['UserId']]);
if(!empty($userGroups)){
for($i=0;$i<count($userGroups);$i++){
$strGrpInfos .= '<li style="padding-bottom:20px;">'.$userGroups[$i]['group_desc'].'</li>';
}
}
}
echo $strGrpInfos;
?>
</ul>
<div
class=
"header_menu_blank"
>
</div>
<div
class=
"footer_menu"
>
<a
onclick=
"triggerAngular('#/profile')"
style=
"cursor: pointer;color:white;float:left;"
>
<?php echo _MY_INFO;?>
</a>
<a
href=
"index.php?display=true&page=logout&logout=true"
style=
"cursor: pointer;color:white;float:right;"
>
<?php echo _LOGOUT;?>
</a>
<div
style=
"clear:both;"
></div>
echo $strGrpInfos;
?>
</ul>
</div>
<div
style=
"display:flex;"
>
<div
class=
"footer_menu"
>
<a
onclick=
"triggerAngular('#/profile')"
style=
"cursor: pointer;color:white;float:left;"
>
<?php echo _MY_INFO;?>
</a>
<a
href=
"index.php?display=true&page=logout&logout=true"
style=
"cursor: pointer;color:white;float:right;"
>
<?php echo _LOGOUT;?>
</a>
<div
style=
"clear:both;"
></div>
</div>
</div>
</div>
</span>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment