diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-05 12:15:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-05 12:15:19 +0100 |
commit | 1424b3021355c6d1f8949c18bf02d47ab910f4ba (patch) | |
tree | e32588516189d917ebccba46bffc4de4cb0671ce /settings | |
parent | 0225ea1b9ae59182d93edcc7fc9c09a75914d56b (diff) | |
parent | f94b53e8ddc7195346fcc4213f7d7d7ac4829f4d (diff) | |
download | nextcloud-server-1424b3021355c6d1f8949c18bf02d47ab910f4ba.tar.gz nextcloud-server-1424b3021355c6d1f8949c18bf02d47ab910f4ba.zip |
Merge pull request #8135 from coliff/patch-3
Use correct input type for website url
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.scss | 2 | ||||
-rw-r--r-- | settings/templates/settings/personal/personal.info.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/css/settings.scss b/settings/css/settings.scss index d2dd973e887..59f32cc7131 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -137,7 +137,7 @@ input { } .personal-settings-setting-box input { - &[type="text"], &[type="email"], &[type="tel"] { + &[type="text"], &[type="email"], &[type="tel"], &[type="url"] { width: 100%; } } diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php index c2dd0b64644..9f1f83621d2 100644 --- a/settings/templates/settings/personal/personal.info.php +++ b/settings/templates/settings/personal/personal.info.php @@ -240,7 +240,7 @@ vendor_style('jcrop/css/jquery.Jcrop'); </div> </div> <?php } ?> - <input type="text" name="website" id="website" value="<?php p($_['website']); ?>" + <input type="url" name="website" id="website" value="<?php p($_['website']); ?>" placeholder="<?php p($l->t('Link https://…')); ?>" autocomplete="on" autocapitalize="none" autocorrect="off" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> |