1 |
<!-- |
2 |
Copyright 2015-2016 Hippo B.V. (http://www.onehippo.com) |
3 |
|
4 |
Licensed under the Apache License, Version 2.0 (the "License"); |
5 |
you may not use this file except in compliance with the License. |
6 |
You may obtain a copy of the License at |
7 |
|
8 |
http://www.apache.org/licenses/LICENSE-2.0 |
9 |
|
10 |
Unless required by applicable law or agreed to in writing, software |
11 |
distributed under the License is distributed on an "AS IS" BASIS, |
12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 |
See the License for the specific language governing permissions and |
14 |
limitations under the License. |
15 |
--> |
16 |
|
17 |
<md-toolbar class="qa-toolbar"> |
18 |
<div class="md-toolbar-tools"> |
19 |
<md-button aria-label="{{ 'TOOLBAR_BUTTON_PAGES' | translate }}"> |
20 |
{{ 'TOOLBAR_BUTTON_PAGES' | translate }} |
21 |
</md-button> |
22 |
<span flex></span> |
23 |
<h5>{{ 'TOOLBAR_SWITCH_VIEWER_MODE_PREVIEW' | translate }}</h5> |
24 |
<md-switch ng-model="channelCtrl.isEditMode" aria-label="{{ 'TOOLBAR_SWITCH_VIEWER_MODE' | translate }}" style="margin-left: 10px;"></md-switch> |
25 |
<h5>{{ 'TOOLBAR_SWITCH_VIEWER_MODE_EDIT' | translate }}</h5> |
26 |
</div> |
27 |
</md-toolbar> |
28 |
|
29 |
<hippo-iframe flex layout="row" |
30 |
path="channelCtrl.iframeUrl" |
31 |
mount-id="channelCtrl.getMountId()" |
32 |
on-channel-switch="channelCtrl.switchToChannel(mountId)"></hippo-iframe> |