Moved forward on member page

This commit is contained in:
Alexandre Bourlier
2018-04-20 08:58:30 +02:00
parent b0b24baa20
commit e0ff0d1792
9 changed files with 118 additions and 28 deletions

View File

@ -1,21 +1,34 @@
<div id="member" style="display: none">
<div id="member" class="view-with-vertical-menu" style="display: none">
<ldp-router id="member-page-router" class="vertical-menu border-left" default-route="member-chat">
<ldp-route name="member-chat">
<i class="fa fa-comment-o" aria-hidden="true"></i>
</ldp-route>
<ldp-route name="member-profile">
<i class="fa fa-user" aria-hidden="true"></i>
</ldp-route>
</ldp-router>
<hd-chat-window
id="member-chat"
data-authentication="anonymous"
data-auto-login="true"
data-bosh-service-url="https://conversejs.org/http-bind/"
data-debug="true"
data-debug="false"
data-jid="nomnom.im"
data-locales-url="http://hd-app.local/dist/lib/xmpp-chat-component/node_modules/converse.js/locale/{{{locale}}}/LC_MESSAGES/converse.json",
data-room-jid="anonymous@conference.nomnom.im">
</hd-chat-window>
<ldp-display
id="profile"
id="member-profile"
set-name="firstname, name-separator, lastname"
value-name-separator="&nbsp;"
set-location="city, city-separator, country"
value-city-separator=",&nbsp;"
data-fields="avatar, name, location"
data-fields="avatar, name, location, email, number"
widget-avatar="ldp-display-img"
widget-email="ldp-display-mailto"
widget-number="ldp-display-tel"
bind-resources
></ldp-display>
</div>

View File

@ -1,6 +1,6 @@
<div id="members" class="view" style="display: none">
<ldp-display
id="profilesList"
id="profiles-list"
data-src="http://localhost:8000/members/"
set-name="firstname, name-separator, lastname"
value-name-separator="&nbsp;"

View File

@ -1,9 +1,9 @@
<nav class="navbar bg-white fixed-top border-bottom pb-0 d-md-flex" id="navbar">
<div id="menu-title" class="col-4 col-md-2 pb-2">HAPPY APP</div>
<ldp-router id="navbar-router" class="navbar-nav d-flex flex-row justify-content-between align-self-end col-8 col-md-10" root="ldp-root" default-route="members">
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch w-25 text-center text-md-left" name="home">
<i class="fa fa-home" aria-hidden="true"></i>
<ldp-router id="navbar-router" class="navbar-nav d-flex flex-row justify-content-between align-self-end col-8 col-md-10" default-route="members">
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch w-25 text-center text-md-left" name="search">
<i class="fa fa-search" aria-hidden="true"></i>
<span class="d-none d-md-inline"> Home</span>
</ldp-route>
<ldp-route class="nav-item pl-4 pr-4 pb-2 active align-self-stretch w-25 text-center text-md-left" name="members">