mirror of
https://github.com/documize/community.git
synced 2025-07-28 01:29: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: {
|
actions: {
|
||||||
|
onShowSectionWizard(beforePage) {
|
||||||
|
this.get('onShowSectionWizard')(beforePage);
|
||||||
|
},
|
||||||
|
|
||||||
onEdit() {
|
onEdit() {
|
||||||
let page = this.get('page');
|
let page = this.get('page');
|
||||||
|
|
||||||
|
|
|
@ -59,15 +59,7 @@
|
||||||
{{/layout/master-sidebar}}
|
{{/layout/master-sidebar}}
|
||||||
|
|
||||||
{{#layout/master-content}}
|
{{#layout/master-content}}
|
||||||
<div class="grid-container-6-4">
|
<div class="text-right">
|
||||||
<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
|
{{document/document-toolbar
|
||||||
tab=tab
|
tab=tab
|
||||||
roles=roles
|
roles=roles
|
||||||
|
@ -81,7 +73,6 @@
|
||||||
onSaveDocument=(action "onSaveDocument")
|
onSaveDocument=(action "onSaveDocument")
|
||||||
onDocumentDelete=(action "onDocumentDelete")}}
|
onDocumentDelete=(action "onDocumentDelete")}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
{{document/document-meta
|
{{document/document-meta
|
||||||
tab=tab
|
tab=tab
|
||||||
|
|
|
@ -67,5 +67,8 @@ $i: 100;
|
||||||
.width-#{$i} {
|
.width-#{$i} {
|
||||||
width: #{$i}#{"%"} !important;
|
width: #{$i}#{"%"} !important;
|
||||||
}
|
}
|
||||||
|
.max-width-#{$i} {
|
||||||
|
max-width: #{$i}#{"%"} !important;
|
||||||
|
}
|
||||||
$i: $i - 1;
|
$i: $i - 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
@import "meta.scss";
|
@import "meta.scss";
|
||||||
@import "section.scss";
|
@import "section.scss";
|
||||||
@import "section-editor.scss";
|
@import "section-editor.scss";
|
||||||
@import "sidebar.scss";
|
|
||||||
@import "sidebar-toc.scss";
|
@import "sidebar-toc.scss";
|
||||||
@import "sidebar-attachment.scss";
|
@import "sidebar-attachment.scss";
|
||||||
@import "view-activity.scss";
|
@import "view-activity.scss";
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
background-color: map-get($red-shades, 700);
|
background-color: map-get($red-shades, 700);
|
||||||
color: map-get($red-shades, 300);
|
color: map-get($red-shades, 100);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
<div class="document-meta">
|
<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)}}
|
{{#if (eq appMeta.edition constants.Product.EnterpriseEdition)}}
|
||||||
<div class="title">VERSION</div>
|
<div class="title">VERSION</div>
|
||||||
{{#if (gt versions.length 0)}}
|
{{#if (gt versions.length 0)}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue