Fixed preferences module wrt recent changes
This commit is contained in:
parent
e756053f8b
commit
5b674abcf1
|
@ -37,14 +37,33 @@
|
||||||
<div id="viewer" ui-view="preferences"> </div>
|
<div id="viewer" ui-view="preferences"> </div>
|
||||||
</div>
|
</div>
|
||||||
-->
|
-->
|
||||||
<section layout="row" flex="flex">
|
<main class="view md-layout-fill" ui-view="preferences" layout="row"
|
||||||
|
ng-controller="navController"><!-- preferences --> </main>
|
||||||
|
|
||||||
<md-sidenav class="md-sidenav-left md-whiteframe-z1" md-component-id="left" md-is-locked-open="$media('gt-md')" layout="column">
|
<script type="text/ng-template" id="preferences.html">
|
||||||
|
|
||||||
|
<md-sidenav id="left-sidenav" class="md-sidenav-left md-whiteframe-z1" md-component-id="left" md-is-locked-open="$media('gt-md')" layout="column">
|
||||||
|
|
||||||
<md-toolbar class="md-tall" layout-align="end start">
|
<md-toolbar class="md-tall" layout-align="end start">
|
||||||
<h2 class="md-toolbar-tools md-toolbar-tools-bottom">
|
<h2 class="md-toolbar-tools md-toolbar-tools-bottom">
|
||||||
<span class="md-flex">{{activeUser.identification}}</span>
|
<span class="md-flex">{{activeUser.identification}}</span>
|
||||||
|
<md-button class="iconButton sg-button-navicon" ng-click="openBottomSheet()">
|
||||||
|
<i class="md-icon-apps"><!--icon--></i>
|
||||||
|
</md-button>
|
||||||
|
<span class="sg-logo"><!--logo.svg--></span>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
<div class="md-toolbar-tools" layout="row">
|
||||||
|
<div layout="column">
|
||||||
|
<p class="sg-md-title">{{activeUser.identification}}</p>
|
||||||
|
<!--fixme: implement this with the proper model and actions -->
|
||||||
|
<md-select class="sg-logout" ng-model="accounts.options" label:placeholder="sogo1@inverse.ca">
|
||||||
|
<md-option >sogo1@inverse.ca</md-option>
|
||||||
|
<md-option >connect an other account</md-option>
|
||||||
|
<md-option >logout</md-option>
|
||||||
|
</md-select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</md-toolbar>
|
</md-toolbar>
|
||||||
|
|
||||||
<md-content md-scroll-y="md-scroll-y" class="md-padding md-flex">
|
<md-content md-scroll-y="md-scroll-y" class="md-padding md-flex">
|
||||||
|
@ -82,7 +101,7 @@
|
||||||
|
|
||||||
<!-- TOP RIGHT TOOLBAR -->
|
<!-- TOP RIGHT TOOLBAR -->
|
||||||
<md-toolbar layout="row" layout-align="space-between start" class="md-tall">
|
<md-toolbar layout="row" layout-align="space-between start" class="md-tall">
|
||||||
<div class="md-toolbar-tools" ng-controller="toggleCtrl">
|
<div class="md-toolbar-tools" ng-controller="navController">
|
||||||
<span flex="flex">
|
<span flex="flex">
|
||||||
<md-button ng-click="toggleLeft()" class="md-primary" hide-gt-md="hide-gt-md">
|
<md-button ng-click="toggleLeft()" class="md-primary" hide-gt-md="hide-gt-md">
|
||||||
<span class="icon-ic_menu_24px"></span>
|
<span class="icon-ic_menu_24px"></span>
|
||||||
|
@ -97,10 +116,6 @@
|
||||||
</div>
|
</div>
|
||||||
</md-toolbar>
|
</md-toolbar>
|
||||||
|
|
||||||
|
|
||||||
<div ui-view="preferences"><!-- view --></div>
|
|
||||||
|
|
||||||
<script type="text/ng-template" id="preferences.html">
|
|
||||||
<form name="preferencesForm"
|
<form name="preferencesForm"
|
||||||
ng-submit="save()">
|
ng-submit="save()">
|
||||||
<div ui-view="module"><!-- view --></div>
|
<div ui-view="module"><!-- view --></div>
|
||||||
|
@ -108,9 +123,11 @@
|
||||||
<var:string label:value="Save" />
|
<var:string label:value="Save" />
|
||||||
</md-button>
|
</md-button>
|
||||||
</form>
|
</form>
|
||||||
</script>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
GENERAL PREFERENCE PANEL
|
GENERAL PREFERENCE PANEL
|
||||||
-->
|
-->
|
||||||
|
@ -903,5 +920,4 @@
|
||||||
</var:if>
|
</var:if>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</section>
|
|
||||||
</var:component>
|
</var:component>
|
||||||
|
|
Loading…
Reference in a new issue