changing user menu. not yet working

This commit is contained in:
nek0 2016-05-04 05:07:16 +02:00
parent eaa80952a6
commit cc21c96b9e

View file

@ -1,24 +1,36 @@
<nav id="header"> <nav id="header">
<div .row> <div .row>
<div .col-md-9> <div .col-md-9>
<ul id="user-nav" .nav .nav-pills> <ul #user-nav .nav .nav-pills>
<li role="presentation"> <li role="presentation">
<a href=@{HomeR}>Home <a href=@{HomeR}>
Home
$maybe su <- msu $maybe su <- msu
<li role="presentation"> <li .dropdown role="presentation">
<a href=@{UserR username}>#{slug}<br> <a .dropdown-toggle data-toggle="dropdown" role="button"
<li role="presentation"> aria-haspopup="true" aria-expanded="false">
<a href=@{LogoutR}>Logout #{slug} <span class="caret"></span>
<li role="presentation"> <ul .dropdown-menu>
<a href=@{NewAlbumR}>Create album <li>
<li role="presentation"> <a href=@{UserR username}>
<a href=@{UploadR}>Upload images Your Profile
<li >
<a href=@{NewAlbumR}>
Create album
<li >
<a href=@{UploadR}>
Upload images
<li >
<a href=@{LogoutR}>
Logout
$nothing $nothing
<li role="presentation"> <li role="presentation">
<a href=@{LoginR}>Login <a href=@{LoginR}>
Login
$if block == False $if block == False
<li role="presentation"> <li role="presentation">
<a href=@{SignupR}>Signup <a href=@{SignupR}>
Signup
<div .col-md-3 #search> <div .col-md-3 #search>
^{pageBody searchWidget} ^{pageBody searchWidget}