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
|
||||
#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
|
||||
|
@ -122,6 +122,11 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
.drive {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.backlink {
|
||||
font-size: 1.5rem;
|
||||
margin: 2rem 0 0 2rem;
|
||||
|
@ -5,6 +5,7 @@
|
||||
padding: 0;
|
||||
height: calc(100vh - 84px);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
> sib-chat {
|
||||
position: absolute;
|
||||
|
@ -92,6 +92,10 @@
|
||||
&[name$='profile']>li {
|
||||
@include ci('information');
|
||||
}
|
||||
|
||||
&[name$='drive']>li {
|
||||
@include ci('file');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user