mirror of
https://github.com/documize/community.git
synced 2025-08-10 07:55:25 +02:00
nav button home
This commit is contained in:
parent
50b769f84e
commit
80505a7ea2
7 changed files with 26 additions and 19 deletions
14
app/app/components/layout/button-home.js
Normal file
14
app/app/components/layout/button-home.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// You can operate outside the AGPL restrictions by purchasing
|
||||
// Documize Enterprise Edition and obtaining a commercial license
|
||||
// by contacting <sales@documize.com>.
|
||||
//
|
||||
// https://documize.com
|
||||
|
||||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Component.extend({});
|
|
@ -3,14 +3,7 @@
|
|||
{{layout/zone-navigation}}
|
||||
|
||||
{{#layout/zone-header title="Documize Settings" message="General options, space management, user management"}}
|
||||
<div class="pull-right">
|
||||
{{#link-to 'folders.folder' folder.id folder.slug}}
|
||||
<div class="regular-button button-white">
|
||||
<i class="material-icons">arrow_back</i>
|
||||
<div class="name">space</div>
|
||||
</div>
|
||||
{{/link-to}}
|
||||
</div>
|
||||
{{layout/button-home}}
|
||||
{{/layout/zone-header}}
|
||||
|
||||
{{#layout/zone-sidebar}}
|
||||
|
|
|
@ -3,14 +3,7 @@
|
|||
{{layout/zone-navigation}}
|
||||
|
||||
{{#layout/zone-header title=session.user.fullname message="Your Documize profile"}}
|
||||
<div class="pull-right">
|
||||
{{#link-to 'folders.folder' folder.id folder.slug}}
|
||||
<div class="regular-button button-white">
|
||||
<i class="material-icons">arrow_back</i>
|
||||
<div class="name">home</div>
|
||||
</div>
|
||||
{{/link-to}}
|
||||
</div>
|
||||
{{layout/button-home}}
|
||||
{{/layout/zone-header}}
|
||||
|
||||
{{#layout/zone-sidebar}}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
{{layout/zone-navigation}}
|
||||
|
||||
{{#layout/zone-header title=session.appMeta.title message=session.appMeta.message}}
|
||||
{{layout/button-home}}
|
||||
{{/layout/zone-header}}
|
||||
|
||||
<div class="page-search">
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
|
||||
> .file {
|
||||
font-size: 1rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
6
app/app/templates/components/layout/button-home.hbs
Normal file
6
app/app/templates/components/layout/button-home.hbs
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{#link-to 'application'}}
|
||||
<div class="regular-button button-white">
|
||||
<i class="material-icons">arrow_back</i>
|
||||
<div class="name">home</div>
|
||||
</div>
|
||||
{{/link-to}}
|
|
@ -6,13 +6,13 @@
|
|||
<i class="material-icons">apps</i>
|
||||
</div>
|
||||
{{else}}
|
||||
{{#link-to 'folders.folder' folder.id folder.slug title=session.appMeta.title}}
|
||||
{{#link-to 'application' title=session.appMeta.title}}
|
||||
<div class="header-button">
|
||||
<i class="material-icons">apps</i>
|
||||
</div>
|
||||
{{/link-to}}
|
||||
{{/if}}
|
||||
{{#link-to 'folders.folder' folder.id folder.slug class="title"}}
|
||||
{{#link-to 'application' class="title"}}
|
||||
<div>{{session.appMeta.title}}</div>
|
||||
{{/link-to}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue