Fix some site configuration bugs

- some config templates had vertical size set too small resulting in unwanted scrollbars
- fix load loop in tracker site config due to missing tracker select option
This commit is contained in:
nathan 2022-11-02 10:49:48 -06:00
parent ad34029932
commit b9f585d9b0

View File

@ -80,58 +80,49 @@
<template id="infolog.config.notification" template="" lang="" group="0" version=""> <template id="infolog.config.notification" template="" lang="" group="0" version="">
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column/> <column/>
<column/> <column/>
</columns> </columns>
<rows> <rows>
<row> <row>
<menulist> <menulist>
<menupopup label="Type" id="notification_type" onchange="1"/> <menupopup label="Type" id="notification_type" onchange="1"/>
</menulist> </menulist>
<checkbox label="Use custom notification message" id="notification[use_custom]"/> <checkbox label="Use custom notification message" id="notification[use_custom]"/>
</row> </row>
<row> <row>
<htmlarea id="notification[message]" height="180px" width="100%" toolbar="false" span="all"/> <htmlarea id="notification[message]" height="180px" width="100%" toolbar="false" span="all"/>
</row> </row>
<row> <row>
<description value="Full list of placeholder names" href="infolog.infolog_merge.show_replacements" extra_link_target="_blank"/> <description value="Full list of placeholder names" href="infolog.infolog_merge.show_replacements"
<description/> extra_link_target="_blank"/>
</row> <description/>
</rows> </row>
</grid> </rows>
</template> </grid>
<template id="infolog.config" template="" lang="" group="0" version="1.9.001"> </template>
<grid width="100%"> <template id="infolog.config" template="" lang="" group="0" version="1.9.001">
<columns> <vbox>
<column width="100%"/> <description id="msg" span="all" class="message"/>
</columns> <tabbox id="configuration|notification">
<rows> <tabs>
<row> <tab id="configuration" label="Configuration"/>
<description id="msg" span="all" class="message"/> <tab id="notification" label="Notification"/>
</row> </tabs>
<row valign="top" height="350px"> <tabpanels>
<tabbox id="configuration|notification"> <template id="infolog.config.configuration"/>
<tabs> <template id="infolog.config.notification"/>
<tab id="configuration" label="Configuration"/> </tabpanels>
<tab id="notification" label="Notification"/> </tabbox>
</tabs> <hbox class="dialogFooterToolbar">
<tabpanels> <button statustext="Save the changes made" label="Save" id="save"/>
<template id="infolog.config.configuration"/> <button statustext="apply the changes" label="Apply" id="apply"/>
<template id="infolog.config.notification"/> <button statustext="Exit without saving" label="Cancel" id="cancel"/>
</tabpanels> </hbox>
</tabbox> </vbox>
</row> <styles>select {
<row> min-width: 30em;
<hbox span="all"> }
<button label="Save" id="button[save]"/> </styles>
<button label="Apply" id="button[apply]"/> </template>
<button label="Cancel" id="button[cancel]"/>
</hbox>
</row>
</rows>
</grid>
<styles>select {
min-width: 30em;
}</styles>
</template>
</overlay> </overlay>