mirror of
https://github.com/documize/community.git
synced 2025-08-05 21:45:28 +02:00
Change Search & Profile views to use new UX/UI
This commit is contained in:
parent
0ec0c65002
commit
8a654fcf3d
10 changed files with 113 additions and 103 deletions
|
@ -10,9 +10,8 @@
|
|||
// https://documize.com
|
||||
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
import Controller from '@ember/controller';
|
||||
import { isPresent } from '@ember/utils';
|
||||
import Controller from '@ember/controller';
|
||||
|
||||
export default Controller.extend({
|
||||
userService: service('user'),
|
||||
|
|
|
@ -1,18 +1,11 @@
|
|||
{{#layout/top-bar}}
|
||||
{{/layout/top-bar}}
|
||||
{{#layout/master-sidebar}}
|
||||
{{/layout/master-sidebar}}
|
||||
|
||||
{{#layout/middle-zone}}
|
||||
{{#layout/middle-zone-content}}
|
||||
{{user/user-profile model=model save=(action "save")}}
|
||||
{{/layout/middle-zone-content}}
|
||||
{{#layout/master-content}}
|
||||
{{layout/logo-heading
|
||||
title=session.user.fullname
|
||||
desc="Manage you profile and password"
|
||||
icon=constants.Icon.Person}}
|
||||
|
||||
{{#layout/middle-zone-sidebar}}
|
||||
<div id="sidebar" class="sidebar sidebar-center">
|
||||
<h1>{{session.user.fullname}}</h1>
|
||||
<div class="avatar-large my-3">{{session.user.initials}}</div>
|
||||
</div>
|
||||
{{/layout/middle-zone-sidebar}}
|
||||
{{/layout/middle-zone}}
|
||||
|
||||
{{#layout/bottom-bar}}
|
||||
{{/layout/bottom-bar}}
|
||||
{{user/user-profile model=model save=(action "save")}}
|
||||
{{/layout/master-content}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue