(html) Adapt templates to new breakpoints

This commit is contained in:
Francis Lachapelle
2015-12-09 16:52:54 -05:00
parent 9389957b5f
commit 52fd2174b8
13 changed files with 17 additions and 16 deletions
@@ -6,7 +6,7 @@
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label"
>
<md-dialog flex="60" flex-sm="100">
<md-dialog flex="60" flex-sm="80" flex-xs="100">
<md-toolbar>
<md-icon class="material-icons sg-icon-toolbar-bg">link</md-icon>
<div class="md-toolbar-tools">
@@ -443,7 +443,7 @@
<!-- modal for cards import -->
<script type="text/ng-template" id="UIxContactsImportDialog">
<md-dialog flex="40" flex-sm="100" label:aria-label="Import Cards">
<md-dialog flex="40" flex-sm="80" flex-xs="100" label:aria-label="Import Cards">
<md-toolbar>
<div class="md-toolbar-tools">
<md-icon class="material-icons sg-icon-toolbar-bg">import_export</md-icon>
@@ -6,7 +6,7 @@
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label"
xmlns:uix="OGo:uix">
<md-dialog flex="50" flex-sm="100">
<md-dialog flex="50" flex-sm="80" flex-xs="100">
<md-toolbar>
<div class="md-toolbar-tools">
<div class="sg-md-title md-flex"><var:string label:value="Subscribe to a shared folder"/></div>
@@ -6,7 +6,7 @@
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label"
>
<md-dialog flex="30" flex-sm="100">
<md-dialog flex="30" flex-sm="80" flex-xs="100">
<md-toolbar>
<div class="md-toolbar-tools">
<md-icon class="material-icons sg-icon-toolbar-bg">folder_shared</md-icon>
@@ -7,7 +7,7 @@
xmlns:label="OGo:label"
xmlns:rsrc="OGo:url"
xmlns:uix="OGo:uix"><var:string var:value="doctype" const:escapeHTML="NO" />
<md-dialog flex="50" flex-sm="100">
<md-dialog flex="50" flex-sm="80" flex-xs="100">
<md-toolbar>
<div class="md-toolbar-tools">
<md-icon class="material-icons sg-icon-toolbar-bg">account_box</md-icon>
@@ -7,7 +7,7 @@
xmlns:label="OGo:label"
xmlns:rsrc="OGo:url"
xmlns:uix="OGo:uix"><var:string var:value="doctype" const:escapeHTML="NO" />
<md-dialog flex="50" flex-sm="100">
<md-dialog flex="50" flex-sm="80" flex-xs="100">
<form name="mainForm" ng-submit="filterEditor.save(mainForm)">
<md-toolbar>
<div class="md-toolbar-tools">
@@ -357,7 +357,7 @@
<md-content class="md-padding">
<div layout="column" flex="100">
<md-list layout="row" layout-wrap="layout-wrap">
<md-list-item flex="50" flex-sm="100"
<md-list-item flex="50" flex-xs="100"
ng-repeat="item in
app.preferences.defaults.SOGoCalendarCategories
track by $index">
@@ -4,7 +4,7 @@
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label">
<md-dialog flex="60" flex-md="80" flex-sm="100">
<md-dialog flex="60" flex-sm="80" flex-xs="100">
<form name="eventForm" ng-submit="editor.save(eventForm)">
<md-toolbar ng-class="editor.component.getClassName('bg')">
<div class="md-toolbar-tools">
@@ -178,7 +178,8 @@
</div>
<!-- end repeat -->
<div layout="row" layout-align="start end">
<div ng-show="editor.component.repeat.frequency != 'never'">
<div flex="50" flex-xs="100"
ng-show="editor.component.repeat.frequency != 'never'">
<md-input-container>
<label><var:string label:value="End Repeat"/></label>
<md-select ng-model="editor.component.repeat.end"
@@ -7,7 +7,7 @@
xmlns:label="OGo:label"
>
<md-dialog flex="60" flex-sm="100">
<md-dialog flex="60" flex-sm="80" flex-xs="100">
<md-toolbar>
<md-icon class="material-icons sg-icon-toolbar-bg">link</md-icon>
<div class="md-toolbar-tools">
@@ -6,7 +6,7 @@
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label"
>
<md-dialog flex-sm="100">
<md-dialog flex-xs="100">
<md-toolbar ng-class="properties.calendar.getClassName('bg')">
<div class="md-toolbar-tools">
@@ -27,7 +27,7 @@
<div class="pseudo-input-container layout-padding" layout="row" layout-align="center center">
<label class="pseudo-input-label"><var:string label:value="On"/></label>
<md-grid-list md-cols="7" md-row-height="2em" md-gutter="0.5em"
flex="50" flex-md="80" flex-sm="100"
flex="50" flex-sm="80" flex-xs="100"
sg-toggle-grid="editor.component.repeat.days"
sg-toggle-grid-attr="day">
<var:foreach list="shortWeekDaysList" item="item">
@@ -52,7 +52,7 @@
</md-radio-button>
<div layout="row" layout-align="start center">
<md-grid-list md-cols="7" md-row-height="2em" md-gutter="0.5em"
flex="50" flex-md="80" flex-sm="100"
flex="50" flex-sm="80" flex-xs="100"
sg-toggle-grid="editor.component.repeat.monthdays">
<md-grid-tile value="1">1</md-grid-tile>
<md-grid-tile value="2">2</md-grid-tile>
@@ -120,7 +120,7 @@
</div>
<div layout="row" layout-align="start center">
<md-grid-list md-cols="6" md-row-height="2em" md-gutter="0.5em"
flex="50" flex-md="80" flex-sm="100"
flex="50" flex-sm="80" flex-xs="100"
sg-toggle-grid="editor.component.repeat.months">
<var:foreach list="yearlyMonthList" item="item">
<md-grid-tile var:value="valueForYearlyMonth"><var:string value="item"/></md-grid-tile>
@@ -4,7 +4,7 @@
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label">
<md-dialog flex="60" flex-sm="100">
<md-dialog flex="60" flex-sm="80" flex-xs="100">
<form name="eventForm" ng-submit="editor.save(eventForm)">
<md-toolbar ng-class="editor.component.getClassName('bg')">
<div class="md-toolbar-tools">
+1 -1
View File
@@ -6,7 +6,7 @@
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label"
>
<md-dialog flex="50" flex-sm="100">
<md-dialog flex="50" flex-sm="80" flex-xs="100">
<md-toolbar>
<div class="md-toolbar-tools">
<md-icon class="material-icons sg-icon-toolbar-bg">folder_shared</md-icon>