- Fix timestamp & encrypt button positioning

- Clean up the footer buttons a little
This commit is contained in:
nathan 2021-09-13 11:50:36 -06:00
parent b7e34ed779
commit d22847a503
3 changed files with 25 additions and 18 deletions

View File

@ -64,15 +64,17 @@ button.infologExtraButton {
height: 24px; height: 24px;
} }
button.infologExtraButton:hover { button.infologExtraButton:hover {
background-size: 16px; background-size: 16px;
} }
div.et2_hbox.tab_toolbar {
position: relative; .tab_toolbar {
position: relative;
} }
button#infolog-edit_encrypt { button#infolog-edit_encrypt {
position: absolute; position: absolute;
right: 0px; right: 0px;
top: 3px; top: 3px;
} }
td.infologTimestamp { td.infologTimestamp {
position: relative; position: relative;

View File

@ -229,17 +229,22 @@
</et2-hbox> </et2-hbox>
</row> </row>
<row class="dialogFooterToolbar"> <row class="dialogFooterToolbar">
<hbox span="6"> <hbox span="all">
<button statustext="Saves this entry" label="Save" id="button[save]" image="save" background_image="1"/> <button statustext="Saves this entry" label="Save" id="button[save]" image="save"
<et2-button statustext="Apply the changes" label="Apply" id="button[apply]" image="apply" background_image="1"></et2-button> background_image="1"/>
<button statustext="leave without saveing the entry" label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/> <button statustext="Apply the changes" label="Apply" id="button[apply]" image="apply"
<menulist> background_image="1"></button>
<menupopup statustext="Execute a further action for this entry" id="action" onchange="app.infolog.edit_actions()" options="Actions..."/> <button statustext="leave without saveing the entry" label="Cancel" id="button[cancel]"
</menulist> onclick="window.close();" image="cancel" background_image="1"/>
<checkbox label="Do not notify" id="no_notifications" statustext="Do not notify of these changes"/> <select statustext="Execute a further action for this entry" id="action"
</hbox> onchange="app.infolog.edit_actions()" empty_label="Actions..."/>
<button align="right" statustext="delete this entry" label="Delete" 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"/> <checkbox label="Do not notify" id="no_notifications"
</row> statustext="Do not notify of these changes"/>
<button align="right" statustext="delete this entry" label="Delete" 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"/>
</hbox>
</row>
</rows> </rows>
</grid> </grid>
</template> </template>

View File

@ -132,7 +132,7 @@ button.infologExtraButton {
button.infologExtraButton:hover { button.infologExtraButton:hover {
background-size: 16px; background-size: 16px;
} }
div.et2_hbox.tab_toolbar { .tab_toolbar {
position: relative; position: relative;
} }
button#infolog-edit_encrypt { button#infolog-edit_encrypt {