mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-12-23 11:29:00 +00:00
improve options
This commit is contained in:
parent
925448daeb
commit
18e7cb4c06
@ -7,12 +7,28 @@
|
|||||||
description="COM_PATCHTESTER_COMPONENT_DESC"
|
description="COM_PATCHTESTER_COMPONENT_DESC"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<field
|
||||||
|
name="repository"
|
||||||
|
type="list"
|
||||||
|
label="COM_PATCHTESTER_FIELD_REPOSITORY_LABEL"
|
||||||
|
description="COM_PATCHTESTER_FIELD_REPOSITORY_DESC"
|
||||||
|
default="joomla:joomla-cms"
|
||||||
|
onchange="if (jQuery(this).val() != 'custom') { var parts = jQuery(this).val().split(':'); } else { var parts = ['', '']; } document.getElementById('jform_org').value = parts[0]; document.getElementById('jform_repo').value = parts[1];"
|
||||||
|
>
|
||||||
|
<option value="joomla:joomla-cms">COM_PATCHTESTER_FIELD_REPOSITORY_OPTION_JOOMLA_CMS</option>
|
||||||
|
<option value="joomla-extensions:patchtester">COM_PATCHTESTER_FIELD_REPOSITORY_OPTION_PATCHTESTER</option>
|
||||||
|
<option value="joomla-extensions:install-from-web-client">COM_PATCHTESTER_FIELD_REPOSITORY_OPTION_INSTALL_FROM_WEB</option>
|
||||||
|
<option value="custom">COM_PATCHTESTER_FIELD_REPOSITORY_CUSTOM</option>
|
||||||
|
</field>
|
||||||
|
|
||||||
<field
|
<field
|
||||||
name="org"
|
name="org"
|
||||||
type="text"
|
type="text"
|
||||||
label="COM_PATCHTESTER_FIELD_ORG_LABEL"
|
label="COM_PATCHTESTER_FIELD_ORG_LABEL"
|
||||||
description="COM_PATCHTESTER_FIELD_ORG_DESC"
|
description="COM_PATCHTESTER_FIELD_ORG_DESC"
|
||||||
default="joomla"
|
default="joomla"
|
||||||
|
id="org"
|
||||||
|
showon="repository:custom"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<field
|
<field
|
||||||
@ -21,14 +37,37 @@
|
|||||||
label="COM_PATCHTESTER_FIELD_REPO_LABEL"
|
label="COM_PATCHTESTER_FIELD_REPO_LABEL"
|
||||||
description="COM_PATCHTESTER_FIELD_REPO_DESC"
|
description="COM_PATCHTESTER_FIELD_REPO_DESC"
|
||||||
default="joomla-cms"
|
default="joomla-cms"
|
||||||
|
id="repo"
|
||||||
|
showon="repository:custom"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset
|
||||||
|
name="component"
|
||||||
|
label="COM_PATCHTESTER_COMPONENT_AUTH_LABEL"
|
||||||
|
description="COM_PATCHTESTER_COMPONENT_AUTH_DESC"
|
||||||
|
>
|
||||||
|
|
||||||
|
<field
|
||||||
|
name="gh_auth"
|
||||||
|
type="list"
|
||||||
|
label="COM_PATCHTESTER_FIELD_GH_AUTH_LABEL"
|
||||||
|
description="COM_PATCHTESTER_FIELD_GH_AUTH_DESC"
|
||||||
|
default=""
|
||||||
|
>
|
||||||
|
<option value="">JNONE</option>
|
||||||
|
<option value="credentials">COM_PATCHTESTER_FIELD_GH_AUTH_OPTION_CREDENTIALS</option>
|
||||||
|
<option value="token">COM_PATCHTESTER_FIELD_GH_AUTH_OPTION_TOKEN</option>
|
||||||
|
</field>
|
||||||
|
|
||||||
<field
|
<field
|
||||||
name="gh_user"
|
name="gh_user"
|
||||||
type="text"
|
type="text"
|
||||||
label="COM_PATCHTESTER_FIELD_GH_USER_LABEL"
|
label="COM_PATCHTESTER_FIELD_GH_USER_LABEL"
|
||||||
description="COM_PATCHTESTER_FIELD_GH_USER_DESC"
|
description="COM_PATCHTESTER_FIELD_GH_USER_DESC"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
showon="gh_auth:credentials"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<field
|
<field
|
||||||
@ -36,7 +75,9 @@
|
|||||||
type="password"
|
type="password"
|
||||||
label="COM_PATCHTESTER_FIELD_GH_PASSWORD_LABEL"
|
label="COM_PATCHTESTER_FIELD_GH_PASSWORD_LABEL"
|
||||||
description="COM_PATCHTESTER_FIELD_GH_PASSWORD_DESC"
|
description="COM_PATCHTESTER_FIELD_GH_PASSWORD_DESC"
|
||||||
|
default=""
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
showon="gh_auth:credentials"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<field
|
<field
|
||||||
@ -44,6 +85,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
label="COM_PATCHTESTER_FIELD_GH_TOKEN_LABEL"
|
label="COM_PATCHTESTER_FIELD_GH_TOKEN_LABEL"
|
||||||
description="COM_PATCHTESTER_FIELD_GH_TOKEN_DESC"
|
description="COM_PATCHTESTER_FIELD_GH_TOKEN_DESC"
|
||||||
|
showon="gh_auth:token"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
Loading…
Reference in New Issue
Block a user