feature: add drive on project
This commit is contained in:
parent
89db25fa85
commit
6c2e57383b
11
src/page-project-drive.pug
Normal file
11
src/page-project-drive.pug
Normal 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'
|
||||||
|
)
|
@ -7,6 +7,8 @@
|
|||||||
include page-project-edit.pug
|
include page-project-edit.pug
|
||||||
#project-create
|
#project-create
|
||||||
include page-project-create.pug
|
include page-project-create.pug
|
||||||
|
#project-drive
|
||||||
|
include page-project-drive.pug
|
||||||
nav.jsRightMenu(role='navigation')
|
nav.jsRightMenu(role='navigation')
|
||||||
sib-router(default-route='project-chat')
|
sib-router(default-route='project-chat')
|
||||||
ul
|
ul
|
||||||
@ -18,6 +20,9 @@ nav.jsRightMenu(role='navigation')
|
|||||||
sib-route(name='project-profile', use-id)
|
sib-route(name='project-profile', use-id)
|
||||||
li
|
li
|
||||||
a Information
|
a Information
|
||||||
|
sib-route(name='project-drive', use-id)
|
||||||
|
li
|
||||||
|
a Drive
|
||||||
sib-route(name='project-edit', use-id)
|
sib-route(name='project-edit', use-id)
|
||||||
//- li
|
//- li
|
||||||
//- a Edit
|
//- a Edit
|
||||||
|
@ -122,6 +122,11 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.drive {
|
||||||
|
width: 100%;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.backlink {
|
.backlink {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
margin: 2rem 0 0 2rem;
|
margin: 2rem 0 0 2rem;
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
height: calc(100vh - 84px);
|
height: calc(100vh - 84px);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
> sib-chat {
|
> sib-chat {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -92,6 +92,10 @@
|
|||||||
&[name$='profile']>li {
|
&[name$='profile']>li {
|
||||||
@include ci('information');
|
@include ci('information');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&[name$='drive']>li {
|
||||||
|
@include ci('file');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user