Adopt header's buttons in mobile templates

This commit is contained in:
Hadi Nategh 2023-02-21 13:39:50 +01:00
parent 68fdb1b985
commit 369bddef2f
5 changed files with 13 additions and 15 deletions

View File

@ -299,11 +299,11 @@
<rows>
<row disabled="@hidebuttons" class="dialogHeadbar" >
<et2-hbox span="all">
<et2-button id="button[save]"></et2-button>
<et2-button id="button[apply]"></et2-button>
<et2-button-icon id="button[save]"></et2-button-icon>
<et2-button-icon id="button[apply]"></et2-button-icon>
<et2-button-icon statustext="Use wizard to detect or verify configuration" id="button[wizard]" image="magicwand"></et2-button-icon>
<et2-button id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this account','Delete')"></et2-button>
<et2-button label="Delete identity" id="button[delete_identity]" onclick="et2_dialog.confirm(widget,'Delete identity','Delete')" image="delete"></et2-button>
<et2-button-icon id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this account','Delete')"></et2-button-icon>
<et2-button-icon label="Delete identity" id="button[delete_identity]" onclick="et2_dialog.confirm(widget,'Delete identity','Delete')" image="delete"></et2-button-icon>
</et2-hbox>
</row>
<row disabled="!@accounts" class="dialogHeader">

View File

@ -193,9 +193,9 @@
<rows>
<row disabled="@hidebuttons" class="dialogHeadbar" >
<et2-hbox span="all" width="100%">
<et2-button statustext="Apply the changes" id="button[apply]" image="apply"></et2-button>
<et2-button statustext="delete this entry" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" span="all"></et2-button>
<et2-button statustext="Find free timeslots where the selected participants are available for the given timespan" id="freetime" label="Freetime" onclick="app.calendar.freetime_search" image="add" noSubmit="true"></et2-button>
<et2-button-icon statustext="Apply the changes" id="button[apply]" image="apply"></et2-button-icon>
<et2-button-icon statustext="delete this entry" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" span="all"></et2-button-icon>
<et2-button-icon statustext="Find free timeslots where the selected participants are available for the given timespan" id="freetime" label="Freetime" onclick="app.calendar.freetime_search" image="add" noSubmit="true"></et2-button-icon>
<et2-checkbox id="no_notifications" class="notification_check" toggleOn=" " toggleOff=" "></et2-checkbox>
<et2-textbox type="hidden" id="delete_exceptions"></et2-textbox>
</et2-hbox>

View File

@ -185,8 +185,8 @@
<rows>
<row disabled="@hidebuttons" class="dialogHeadbar" >
<et2-hbox span="all" width="100%">
<et2-button statustext="Saves this entry" id="button[save]" image="save"></et2-button>
<et2-button statustext="Apply the changes" id="button[apply]" image="apply"></et2-button>
<et2-button-icon statustext="Saves this entry" id="button[save]" image="save"></et2-button-icon>
<et2-button-icon statustext="Apply the changes" id="button[apply]" image="apply"></et2-button-icon>
</et2-hbox>
</row>
<row disabled="!@showsearchbuttons" class="dialogHeadbar">

6
package-lock.json generated
View File

@ -6739,8 +6739,7 @@
"version": "1.10.11",
"resolved": "https://registry.npmjs.org/@interactjs/core/-/core-1.10.11.tgz",
"integrity": "sha512-aJ50ccVeszpJt7wPH7Yfqm7f1aG1SA94qd90P0NaESh5/QUXn4CESO6igobo4DFHQ5z+1Rfdl8aphP4JxlH4gw==",
"dev": true,
"requires": {}
"dev": true
},
"@interactjs/dev-tools": {
"version": "1.10.11",
@ -11177,8 +11176,7 @@
"version": "7.5.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz",
"integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==",
"dev": true,
"requires": {}
"dev": true
},
"yallist": {
"version": "4.0.0",

View File

@ -135,8 +135,8 @@
<rows>
<row class="dialogHeadbar" >
<et2-hbox>
<et2-button id="button[apply]" image="apply"></et2-button>
<et2-button id="button[delete]" onclick="et2_dialog.confirm(widget,'Do you really want to delete this resource?','Delete')" image="delete"></et2-button>
<et2-button-icon id="button[apply]" image="apply"></et2-button-icon>
<et2-button-icon id="button[delete]" onclick="et2_dialog.confirm(widget,'Do you really want to delete this resource?','Delete')" image="delete"></et2-button-icon>
<et2-number id="res_id" readonly="true" class="entry_id" precision="0"></et2-number>
</et2-hbox>
</row>