Mobile theme W.I.P.:

- Add delete button for infolog edit
This commit is contained in:
Hadi Nategh 2016-02-02 11:14:53 +00:00
parent 6fd2ceb742
commit e29aed662e

View File

@ -136,9 +136,9 @@
<hbox span="all" width="100%"> <hbox span="all" width="100%">
<button statustext="Saves this entry" id="button[save]" image="save" background_image="1"/> <button statustext="Saves this entry" id="button[save]" image="save" background_image="1"/>
<button statustext="Apply the changes" id="button[apply]" image="apply" background_image="1"/> <button statustext="Apply the changes" id="button[apply]" image="apply" background_image="1"/>
<button statustext="leave without saveing the entry" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/> <button align="right" statustext="delete this entry" id="button[delete]" onclick="if($cont[info_anz_subs]) return $cont[info_anz_subs]; et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" background_image="1" span="all"/>
<buttononly statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/> <buttononly statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/>
<checkbox toggle_on="on" toggle_off="off" label="notification" id="no_notifications"/> <checkbox label="notification" id="no_notifications"/>
</hbox> </hbox>
</row> </row>
<row disabled="!@showsearchbuttons" class="dialogHeadbar"> <row disabled="!@showsearchbuttons" class="dialogHeadbar">