Created project view

This commit is contained in:
Alexandre Bourlier
2018-04-23 16:35:00 +02:00
parent 4fd629a21b
commit 44fe4b91f9
7 changed files with 58 additions and 182 deletions

View File

@ -3,7 +3,7 @@
<ldp-route name="member-chat">
<i class="fa fa-comment-o" aria-hidden="true"></i>
</ldp-route>
<ldp-route name="member-profile">
<ldp-route name="member-detail">
<i class="fa fa-user" aria-hidden="true"></i>
</ldp-route>
</ldp-router>
@ -19,22 +19,24 @@
data-room-jid="anonymous@conference.nomnom.im">
</hd-chat-window>
<ldp-display
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, email, number"
widget-avatar="ldp-display-img"
widget-email="ldp-display-mailto"
widget-number="ldp-display-tel"
bind-resources
></ldp-display>
<div id="member-detail" style="display: none">
<ldp-display
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, email, number"
widget-avatar="ldp-display-img"
widget-email="ldp-display-mailto"
widget-number="ldp-display-tel"
bind-resources
></ldp-display>
<span>Skills here</span>
<!--<ldp-display -->
<!--id="member-skills" -->
<!--id-suffix="skills"-->
<!--bind-resources-->
<!--></ldp-display>-->
<!-- ></ldp-display>-->
</div>
</div>

View File

@ -16,6 +16,7 @@
<ldp-route class="nav-item d-none" name="member" id-prefix="http://localhost:8000/members/">
Membre
</ldp-route>
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch text-center text-md-left" name="projects">
<i class="fa fa-tasks" aria-hidden="true"></i>
<span class="d-none d-md-inline"> Projets</span>
@ -23,6 +24,7 @@
<ldp-route class="nav-item d-none" name="project" id-prefix="http://localhost:8000/projects/">
Projet
</ldp-route>
<ldp-route class="nav-item pl-4 pr-4 pb-2 align-self-stretch text-center text-md-left" name="groups">
<i class="fa fa-comments" aria-hidden="true"></i>
<span class="d-none d-md-inline"> Groupes</span>

View File

@ -1,33 +1,35 @@
<div id="project" style="display: none">
<div class="page-header">
<h1>Project</h1>
</div>
<div id="project" class="view-with-vertical-menu" style="display: none">
<ldp-router id="project-page-router" class="vertical-menu border-left" default-route="profile-chat">
<ldp-route name="project-chat">
<i class="fa fa-comment-o" aria-hidden="true"></i>
</ldp-route>
<ldp-route name="project-detail">
<i class="fa fa-user" aria-hidden="true"></i>
</ldp-route>
</ldp-router>
<ldp-display
id="projectTitle"
set-label="number, label-separator, name"
value-label-separator="&nbsp;-&nbsp;"
data-fields="label"
bind-resource
></ldp-display>
<hd-chat-window
id="project-chat"
data-authentication="anonymous"
data-auto-login="true"
data-bosh-service-url="https://conversejs.org/http-bind/"
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>
<div id="projectDiv" style="display: none;">
<div class="container-fluid" id="projectContainer">
<div class="row">
<div class="col-md-9" id="projectLeftCol">
<div class="chat-box">
<img src=".\img\chat_image.PNG" alt="Chat box">
</div>
</div>
<div class="col-md-3" id="projectRightCol">
<ldp-display id="projectDetail" data-fields="right-panel" set-right-panel="quotation-div, income-div, nextBill" set-quotation-div="quotation, euro" set-income-div="income, euro" value-euro="&#160€"></ldp-display>
<button id="projectDivBackButton" type="button" class="btn btn-primary">Back</button>
</div>
<!-- <button id="projectDivBackButton" type="button" class="btn btn-primary"><i class="material-icons">reply</i></button> -->
</div>
</div>
<div id="project-detail" style="display: none">
<ldp-display
id="project-detail"
set-label="project, number, label-separator, name"
value-project="Projet n°"
value-label-separator="&nbsp;:&nbsp;"
data-fields="label"
bind-resources
></ldp-display>
<div>Client description here</div>
<div>Team here</div>
</div>
</div>