Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
phundament
app
Commits
c7be21fb
Commit
c7be21fb
authored
May 11, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated navbar for new pages version
parent
06826902
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
_navbar.php
src/views/layouts/_navbar.php
+18
-2
No files found.
src/views/layouts/_navbar.php
View file @
c7be21fb
...
...
@@ -49,10 +49,23 @@ echo Nav::widget(
[
'options'
=>
[
'class'
=>
'navbar-nav'
],
'encodeLabels'
=>
false
,
'items'
=>
\dmstr\modules\pages\models\Tree
::
getMenuItems
(
'root
_'
.
\Yii
::
$app
->
language
),
'items'
=>
\dmstr\modules\pages\models\Tree
::
getMenuItems
(
'root
'
),
]
);
?>
<ul
class=
"nav navbar-nav pull-right"
>
<li
class=
"dropdown"
id=
"menuLogin"
>
<a
class=
"dropdown-toggle"
href=
"#"
data-toggle=
"dropdown"
id=
"navLogin"
>
Login
</a>
<div
class=
"dropdown-menu"
style=
"padding:17px;"
>
<form
class=
"form"
id=
"formLogin"
>
<input
name=
"username"
id=
"username"
type=
"text"
placeholder=
"Username"
>
<input
name=
"password"
id=
"password"
type=
"password"
placeholder=
"Password"
><br>
<button
type=
"button"
id=
"btnLogin"
class=
"btn"
>
Login
</button>
</form>
</div>
</li>
</ul>
<?php
echo
Nav
::
widget
(
[
'options'
=>
[
'class'
=>
'navbar-nav navbar-right'
],
...
...
@@ -61,4 +74,7 @@ echo Nav::widget(
]
);
NavBar
::
end
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment