Move button for event import to the toolbar in order to make the UI consistent with the address book (#1655)
This commit is contained in:
parent
5aae0e674b
commit
6a7b0f8714
6 changed files with 19 additions and 2 deletions
|
@ -253,6 +253,14 @@ pre {
|
||||||
background-position: -64px -32px;
|
background-position: -64px -32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#calendartoolbar a.import {
|
||||||
|
background-position: -168px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#calendartoolbar a.importSel {
|
||||||
|
background-position: -168px -32px;
|
||||||
|
}
|
||||||
|
|
||||||
#calendartoolbar a.export {
|
#calendartoolbar a.export {
|
||||||
background-position: -128px 0;
|
background-position: -128px 0;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 15 KiB |
|
@ -36,7 +36,6 @@
|
||||||
<li><roundcube:button command="calendar-edit" label="calendar.edit" classAct="active" /></li>
|
<li><roundcube:button command="calendar-edit" label="calendar.edit" classAct="active" /></li>
|
||||||
<li><roundcube:button command="calendar-remove" label="calendar.remove" classAct="active" /></li>
|
<li><roundcube:button command="calendar-remove" label="calendar.remove" classAct="active" /></li>
|
||||||
<li><roundcube:button command="calendar-showurl" label="calendar.showurl" classAct="active" /></li>
|
<li><roundcube:button command="calendar-showurl" label="calendar.showurl" classAct="active" /></li>
|
||||||
<li><roundcube:button command="events-import" label="calendar.importevents" classAct="active" /></li>
|
|
||||||
<roundcube:if condition="env:calendar_driver == 'kolab'" />
|
<roundcube:if condition="env:calendar_driver == 'kolab'" />
|
||||||
<li class="separator_above"><roundcube:button command="folders" task="settings" type="link" label="managefolders" classAct="active" /></li>
|
<li class="separator_above"><roundcube:button command="folders" task="settings" type="link" label="managefolders" classAct="active" /></li>
|
||||||
<roundcube:endif />
|
<roundcube:endif />
|
||||||
|
@ -159,6 +158,7 @@
|
||||||
<div id="calendartoolbar">
|
<div id="calendartoolbar">
|
||||||
<roundcube:button command="addevent" type="link" class="buttonPas addevent" classAct="button addevent" classSel="button addeventSel" title="calendar.new_event" content=" " />
|
<roundcube:button command="addevent" type="link" class="buttonPas addevent" classAct="button addevent" classSel="button addeventSel" title="calendar.new_event" content=" " />
|
||||||
<roundcube:button command="print" type="link" class="buttonPas print" classAct="button print" classSel="button printSel" title="calendar.print" content=" " />
|
<roundcube:button command="print" type="link" class="buttonPas print" classAct="button print" classSel="button printSel" title="calendar.print" content=" " />
|
||||||
|
<roundcube:button command="events-import" type="link" class="buttonPas import" classAct="button import" classSel="button importSel" title="calendar.importevents" content=" " />
|
||||||
<roundcube:button command="export" type="link" class="buttonPas export" classAct="button export" classSel="button exportSel" title="calendar.export" content=" " />
|
<roundcube:button command="export" type="link" class="buttonPas export" classAct="button export" classSel="button exportSel" title="calendar.export" content=" " />
|
||||||
<roundcube:container name="toolbar" id="calendartoolbar" />
|
<roundcube:container name="toolbar" id="calendartoolbar" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -275,6 +275,7 @@ pre {
|
||||||
top: -6px;
|
top: -6px;
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
#calendartoolbar a.button {
|
#calendartoolbar a.button {
|
||||||
|
@ -286,9 +287,17 @@ pre {
|
||||||
}
|
}
|
||||||
|
|
||||||
#calendartoolbar a.button.export {
|
#calendartoolbar a.button.export {
|
||||||
|
min-width: 50px;
|
||||||
|
max-width: 55px;
|
||||||
background-position: center -40px;
|
background-position: center -40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#calendartoolbar a.button.import {
|
||||||
|
min-width: 50px;
|
||||||
|
max-width: 55px;
|
||||||
|
background-position: center -440px;
|
||||||
|
}
|
||||||
|
|
||||||
#calendartoolbar a.button.print {
|
#calendartoolbar a.button.print {
|
||||||
background-position: center -80px;
|
background-position: center -80px;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 8.6 KiB |
|
@ -14,6 +14,7 @@
|
||||||
<div id="calendartoolbar" class="toolbar">
|
<div id="calendartoolbar" class="toolbar">
|
||||||
<roundcube:button command="addevent" type="link" class="button addevent disabled" classAct="button addevent" classSel="button addevent pressed" label="calendar.new_event" title="calendar.new_event" />
|
<roundcube:button command="addevent" type="link" class="button addevent disabled" classAct="button addevent" classSel="button addevent pressed" label="calendar.new_event" title="calendar.new_event" />
|
||||||
<roundcube:button command="print" type="link" class="button print disabled" classAct="button print" classSel="button print pressed" label="calendar.print" title="calendar.printtitle" />
|
<roundcube:button command="print" type="link" class="button print disabled" classAct="button print" classSel="button print pressed" label="calendar.print" title="calendar.printtitle" />
|
||||||
|
<roundcube:button command="events-import" type="link" class="button import disabled" classAct="button import" classSel="button import pressed" label="import" title="calendar.importevents" />
|
||||||
<roundcube:button command="export" type="link" class="button export disabled" classAct="button export" classSel="button export pressed" label="calendar.export" title="calendar.exporttitle" />
|
<roundcube:button command="export" type="link" class="button export disabled" classAct="button export" classSel="button export pressed" label="calendar.export" title="calendar.exporttitle" />
|
||||||
<roundcube:container name="toolbar" id="calendartoolbar" />
|
<roundcube:container name="toolbar" id="calendartoolbar" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,7 +51,6 @@
|
||||||
<li><roundcube:button command="calendar-edit" label="calendar.edit" classAct="active" /></li>
|
<li><roundcube:button command="calendar-edit" label="calendar.edit" classAct="active" /></li>
|
||||||
<li><roundcube:button command="calendar-remove" label="calendar.remove" classAct="active" /></li>
|
<li><roundcube:button command="calendar-remove" label="calendar.remove" classAct="active" /></li>
|
||||||
<li><roundcube:button command="calendar-showurl" label="calendar.showurl" classAct="active" /></li>
|
<li><roundcube:button command="calendar-showurl" label="calendar.showurl" classAct="active" /></li>
|
||||||
<li><roundcube:button command="events-import" label="calendar.importevents" classAct="active" /></li>
|
|
||||||
<roundcube:if condition="env:calendar_driver == 'kolab'" />
|
<roundcube:if condition="env:calendar_driver == 'kolab'" />
|
||||||
<li class="separator_above"><roundcube:button command="folders" task="settings" type="link" label="managefolders" classAct="active" /></li>
|
<li class="separator_above"><roundcube:button command="folders" task="settings" type="link" label="managefolders" classAct="active" /></li>
|
||||||
<roundcube:endif />
|
<roundcube:endif />
|
||||||
|
|
Loading…
Add table
Reference in a new issue