feature: add drive on project

This commit is contained in:
Jean-Baptiste Pasquier 2019-06-05 11:45:41 +02:00
parent 89db25fa85
commit 6c2e57383b
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
5 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,11 @@
sib-widget(name='hd-drive')
template
iframe.drive.chat-view(
src='https://drive.google.com/embeddedfolderview?id=${value}'
)
.content-box.full-width.chat-view
sib-display(
bind-resources=""
data-fields="driveID"
widget-driveID='hd-drive'
)

View File

@ -7,6 +7,8 @@
include page-project-edit.pug
#project-create
include page-project-create.pug
#project-drive
include page-project-drive.pug
nav.jsRightMenu(role='navigation')
sib-router(default-route='project-chat')
ul
@ -18,6 +20,9 @@ nav.jsRightMenu(role='navigation')
sib-route(name='project-profile', use-id)
li
a Information
sib-route(name='project-drive', use-id)
li
a Drive
sib-route(name='project-edit', use-id)
//- li
//- a Edit

View File

@ -122,6 +122,11 @@ a {
}
}
.drive {
width: 100%;
border: 0;
}
.backlink {
font-size: 1.5rem;
margin: 2rem 0 0 2rem;

View File

@ -5,6 +5,7 @@
padding: 0;
height: calc(100vh - 84px);
position: relative;
overflow: hidden;
> sib-chat {
position: absolute;

View File

@ -92,6 +92,10 @@
&[name$='profile']>li {
@include ci('information');
}
&[name$='drive']>li {
@include ci('file');
}
}
}
}