mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
Put back to space button in sidebar (doc view)
This commit is contained in:
parent
6c71a1f18d
commit
36634be6f5
7 changed files with 27 additions and 24 deletions
|
@ -101,6 +101,10 @@ export default Component.extend(ModalMixin, {
|
|||
},
|
||||
|
||||
actions: {
|
||||
onShowSectionWizard(beforePage) {
|
||||
this.get('onShowSectionWizard')(beforePage);
|
||||
},
|
||||
|
||||
onEdit() {
|
||||
let page = this.get('page');
|
||||
|
||||
|
|
|
@ -59,28 +59,19 @@
|
|||
{{/layout/master-sidebar}}
|
||||
|
||||
{{#layout/master-content}}
|
||||
<div class="grid-container-6-4">
|
||||
<div class="grid-cell-1">
|
||||
{{#link-to "folder.index" folder.id folder.slug class="no-print"}}
|
||||
{{ui/ui-button light=true color=constants.Color.Yellow uppercase=false
|
||||
icon=constants.Icon.ArrowLeft label=folder.name}}
|
||||
{{/link-to}}
|
||||
</div>
|
||||
|
||||
<div class="grid-cell-2 grid-cell-right">
|
||||
{{document/document-toolbar
|
||||
tab=tab
|
||||
roles=roles
|
||||
space=folder
|
||||
spaces=folders
|
||||
document=document
|
||||
versions=versions
|
||||
permissions=permissions
|
||||
refresh=(action "refresh")
|
||||
onSaveTemplate=(action "onSaveTemplate")
|
||||
onSaveDocument=(action "onSaveDocument")
|
||||
onDocumentDelete=(action "onDocumentDelete")}}
|
||||
</div>
|
||||
<div class="text-right">
|
||||
{{document/document-toolbar
|
||||
tab=tab
|
||||
roles=roles
|
||||
space=folder
|
||||
spaces=folders
|
||||
document=document
|
||||
versions=versions
|
||||
permissions=permissions
|
||||
refresh=(action "refresh")
|
||||
onSaveTemplate=(action "onSaveTemplate")
|
||||
onSaveDocument=(action "onSaveDocument")
|
||||
onDocumentDelete=(action "onDocumentDelete")}}
|
||||
</div>
|
||||
|
||||
{{document/document-meta
|
||||
|
|
|
@ -67,5 +67,8 @@ $i: 100;
|
|||
.width-#{$i} {
|
||||
width: #{$i}#{"%"} !important;
|
||||
}
|
||||
.max-width-#{$i} {
|
||||
max-width: #{$i}#{"%"} !important;
|
||||
}
|
||||
$i: $i - 1;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
@import "meta.scss";
|
||||
@import "section.scss";
|
||||
@import "section-editor.scss";
|
||||
@import "sidebar.scss";
|
||||
@import "sidebar-toc.scss";
|
||||
@import "sidebar-attachment.scss";
|
||||
@import "view-activity.scss";
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
font-size: 1.1rem;
|
||||
font-weight: 500;
|
||||
background-color: map-get($red-shades, 700);
|
||||
color: map-get($red-shades, 300);
|
||||
color: map-get($red-shades, 100);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
<div class="document-meta">
|
||||
{{#link-to "folder.index" space.id space.slug class="no-print"}}
|
||||
{{ui/ui-button light=true color=constants.Color.Yellow uppercase=false
|
||||
icon=constants.Icon.ArrowLeft label=space.name stretch=true truncate=true}}
|
||||
{{/link-to}}
|
||||
{{ui/ui-spacer size=200}}
|
||||
|
||||
{{#if (eq appMeta.edition constants.Product.EnterpriseEdition)}}
|
||||
<div class="title">VERSION</div>
|
||||
{{#if (gt versions.length 0)}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue