29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-29 00:23:41 +00:00

[4.0] Remove unused classes (#22151)

* [4.0] Remove unused classes

This pr removes a set of classes - mainly input-??? as they are not needed and are not even present in the css

* Delete package-lock.json

* Revert "Delete package-lock.json"

This reverts commit b76f94efc2.

* ,
This commit is contained in:
Brian Teeman 2018-09-13 00:51:23 +01:00 committed by George Wilson
parent 7d29f87dad
commit eb9ac2f1c6
36 changed files with 5 additions and 55 deletions

View File

@ -96,7 +96,6 @@
name="limit"
type="limitbox"
default="25"
class="input-mini"
onchange="this.form.submit();"
/>
</fields>

View File

@ -15,7 +15,6 @@
name="name"
type="text"
label="COM_BANNERS_FIELD_NAME_LABEL"
class="input-xxlarge input-large-text"
size="40"
required="true"
/>
@ -314,14 +313,14 @@
name="width"
type="number"
label="COM_BANNERS_FIELD_WIDTH_LABEL"
class="input-mini validate-numeric"
class="validate-numeric"
/>
<field
name="height"
type="number"
label="COM_BANNERS_FIELD_HEIGHT_LABEL"
class="input-mini validate-numeric"
class="validate-numeric"
/>
<field

View File

@ -14,7 +14,6 @@
name="name"
type="text"
label="COM_BANNERS_FIELD_NAME_LABEL"
class="input-xxlarge input-large-text"
size="40"
required="true"
/>

View File

@ -91,7 +91,6 @@
<field
name="limit"
type="limitbox"
class="input-mini custom-select"
default="25"
onchange="this.form.submit();"
/>

View File

@ -69,7 +69,6 @@
name="title"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge"
size="40"
required="true"
/>

View File

@ -16,7 +16,6 @@
name="name"
type="text"
label="COM_CONTACT_FIELD_NAME_LABEL"
class="input-xxlarge input-large-text"
size="40"
required="true"
/>

View File

@ -20,7 +20,6 @@
name="title"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge"
size="40"
required="true" />

View File

@ -126,7 +126,6 @@
<field
name="limit"
type="limitbox"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>

View File

@ -44,7 +44,6 @@
name="title"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge"
size="40"
required="true"
/>
@ -212,7 +211,6 @@
type="text"
label="COM_FIELDS_FIELD_PLACEHOLDER_LABEL"
description="COM_FIELDS_FIELD_PLACEHOLDER_DESC"
class="input-xxlarge"
size="40"
/>
@ -221,7 +219,6 @@
type="textarea"
label="COM_FIELDS_FIELD_RENDER_CLASS_LABEL"
description="COM_FIELDS_FIELD_RENDER_CLASS_DESC"
class="input-xxlarge"
size="40"
/>
@ -230,7 +227,6 @@
type="textarea"
label="COM_FIELDS_FIELD_CLASS_LABEL"
description="COM_FIELDS_FIELD_CLASS_DESC"
class="input-xxlarge"
size="40"
/>

View File

@ -27,7 +27,6 @@
name="title"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge input-large-text"
size="40"
required="true"
/>

View File

@ -15,7 +15,6 @@
name="title"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge input-large-text"
size="40"
id="title"
required="true"

View File

@ -74,7 +74,6 @@
<field
name="limit"
type="limitbox"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>

View File

@ -15,7 +15,6 @@
name="title"
type="text"
label="COM_MENUS_ITEM_FIELD_TITLE_LABEL"
class="input-xxlarge"
size="40"
required="true"
/>
@ -41,7 +40,6 @@
type="link"
label="COM_MENUS_ITEM_FIELD_LINK_LABEL"
readonly="true"
class="input-xxlarge"
size="50"
/>
@ -60,7 +58,6 @@
name="type"
type="menutype"
label="COM_MENUS_ITEM_FIELD_TYPE_LABEL"
class="input-medium"
required="true"
size="40"
/>

View File

@ -15,7 +15,6 @@
name="title"
type="text"
label="COM_MENUS_ITEM_FIELD_TITLE_LABEL"
class="input-xxlarge input-large-text"
size="40"
required="true"
/>
@ -42,7 +41,6 @@
type="link"
label="COM_MENUS_ITEM_FIELD_LINK_LABEL"
readonly="true"
class="input-xxlarge"
size="50"
/>
@ -61,7 +59,6 @@
name="type"
type="menutype"
label="COM_MENUS_ITEM_FIELD_TYPE_LABEL"
class="input-medium"
required="true"
size="40"
/>

View File

@ -87,7 +87,7 @@ if ($clientId === 1)
<label for="menus_title_translation"><?php echo Text::sprintf('COM_MENUS_TITLE_TRANSLATION', $lang); ?></label>
</div>
<div class="controls">
<input id="menus_title_translation" class="form-control input-xlarge" value="<?php echo Text::_($this->item->title); ?>" readonly="readonly" type="text">
<input id="menus_title_translation" class="form-control" value="<?php echo Text::_($this->item->title); ?>" readonly="readonly" type="text">
</div>
</div>
</div>

View File

@ -101,7 +101,6 @@
type="limitbox"
label="COM_MODULES_LIST_LIMIT"
description="JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>

View File

@ -13,7 +13,6 @@
name="title"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge input-large-text"
size="40"
maxlength="100"
required="true"

View File

@ -13,7 +13,6 @@
name="title"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge input-large-text"
size="40"
maxlength="100"
required="true"

View File

@ -16,7 +16,6 @@
name="name"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge input-large-text"
size="40"
required="true"
/>

View File

@ -16,7 +16,6 @@
type="text"
label="COM_REDIRECT_FIELD_OLD_URL_LABEL"
description="COM_REDIRECT_FIELD_OLD_URL_DESC"
class="input-xxlarge"
size="50"
required="true"
/>
@ -26,7 +25,6 @@
type="text"
label="COM_REDIRECT_FIELD_NEW_URL_LABEL"
description="COM_REDIRECT_FIELD_NEW_URL_DESC"
class="input-xxlarge"
size="50"
required="true"
/>
@ -98,7 +96,6 @@
label="COM_REDIRECT_FIELD_REDIRECT_STATUS_CODE_LABEL"
description="COM_REDIRECT_FIELD_REDIRECT_STATUS_CODE_DESC"
default="301"
class="input-xlarge"
/>
</fieldset>
</form>

View File

@ -62,7 +62,6 @@
name="title"
type="text"
label="JGLOBAL_TITLE"
class="input-xxlarge"
size="40"
required="true"
/>

View File

@ -33,7 +33,6 @@
name="title"
type="text"
label="COM_TEMPLATES_FIELD_TITLE_LABEL"
class="input-xxlarge"
size="50"
required="true"
/>

View File

@ -72,7 +72,6 @@
<field
name="limit"
type="limitbox"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>

View File

@ -46,7 +46,6 @@
name="subject"
type="text"
label="COM_USERS_MAIL_FIELD_SUBJECT_LABEL"
class="input-xlarge"
maxlength="150"
size="30"
/>
@ -55,7 +54,6 @@
name="message"
type="textarea"
label="COM_USERS_MAIL_FIELD_MESSAGE_LABEL"
class="input-full vert"
cols="70"
rows="20"
/>

View File

@ -16,7 +16,6 @@
type="user"
label="COM_USERS_FIELD_USER_ID_LABEL"
size="50"
class="input-medium"
required="true"
/>

View File

@ -63,7 +63,6 @@
type="calendar"
label="COM_MODULES_FIELD_PUBLISH_UP_LABEL"
filter="user_utc"
class="input-medium"
translateformat="true"
showtime="true"
size="22"
@ -74,7 +73,6 @@
type="calendar"
label="COM_MODULES_FIELD_PUBLISH_DOWN_LABEL"
filter="user_utc"
class="input-medium"
translateformat="true"
showtime="true"
size="22"

View File

@ -129,7 +129,6 @@
label="COM_CONTACT_LIST_LIMIT"
description="COM_CONTACT_LIST_LIMIT_DESC"
default="25"
class="input-mini"
onchange="this.form.submit();"
/>
</fields>

View File

@ -130,7 +130,6 @@
type="limitbox"
label="COM_CONTENT_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="inputbox input-mini"
default="25"
onchange="this.form.submit();"
/>

View File

@ -93,7 +93,6 @@
type="limitbox"
label="COM_FIELDS_LIST_LIMIT"
description="COM_FIELDS_LIST_LIMIT_DESC"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>

View File

@ -87,7 +87,6 @@
type="limitbox"
label="COM_MENUS_LIST_LIMIT"
description="COM_MENUS_LIST_LIMIT_DESC"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>

View File

@ -72,7 +72,6 @@
type="limitbox"
label="COM_MODULES_LIST_LIMIT"
description="JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>

View File

@ -54,7 +54,6 @@
name="path"
type="uploaddirs"
label="PLG_TINY_FIELD_CUSTOM_PATH_LABEL"
class="input-xxlarge"
showon="drag_drop:1"
/>
@ -121,7 +120,6 @@
type="text"
label="PLG_TINY_FIELD_CUSTOM_CSS_LABEL"
description="PLG_TINY_FIELD_CUSTOM_CSS_DESC"
class="input-xxlarge"
/>
<field
@ -161,7 +159,6 @@
label="PLG_TINY_FIELD_PROHIBITED_LABEL"
showon="use_config_textfilters:0"
default="script,applet,iframe"
class="input-xxlarge"
/>
<field
@ -170,7 +167,6 @@
label="PLG_TINY_FIELD_VALIDELEMENTS_LABEL"
description="PLG_TINY_FIELD_VALIDELEMENTS_DESC"
showon="use_config_textfilters:0"
class="input-xxlarge"
/>
<field
@ -178,7 +174,6 @@
type="text"
label="PLG_TINY_FIELD_ELEMENTS_LABEL"
showon="use_config_textfilters:0"
class="input-xxlarge"
/>
<!-- Extra plugins -->
@ -264,13 +259,11 @@
name="custom_plugin"
type="text"
label="PLG_TINY_FIELD_CUSTOMPLUGIN_LABEL"
class="input-xxlarge"
/>
<field
name="custom_button"
type="text"
label="PLG_TINY_FIELD_CUSTOMBUTTON_LABEL"
class="input-xxlarge"
/>
</form>

View File

@ -35,7 +35,6 @@
name="class"
type="textarea"
label="COM_FIELDS_FIELD_CLASS_LABEL"
class="input-xxlarge"
size="40"
default="btn-group"
/>

View File

@ -22,7 +22,7 @@ $app = Factory::getApplication();
<?php echo Text::_('PLG_INSTALLER_FOLDERINSTALLER_TEXT'); ?>
</label>
<div class="controls">
<input type="text" id="install_directory" name="install_directory" class="form-control input-xlarge"
<input type="text" id="install_directory" name="install_directory" class="form-control"
value="<?php echo $app->input->get('install_directory', $app->get('tmp_path')); ?>">
</div>
</div>

View File

@ -19,7 +19,7 @@ use Joomla\CMS\Language\Text;
<?php echo Text::_('PLG_INSTALLER_URLINSTALLER_TEXT'); ?>
</label>
<div class="controls">
<input type="text" id="install_url" name="install_url" class="form-control input-xlarge" placeholder="https://">
<input type="text" id="install_url" name="install_url" class="form-control" placeholder="https://">
</div>
</div>
<hr>

View File

@ -45,7 +45,6 @@
type="textarea"
label="PLG_CACHE_FIELD_EXCLUDE_LABEL"
description="PLG_CACHE_FIELD_EXCLUDE_DESC"
class="input-xxlarge"
rows="15"
filter="raw"
default=""