Change main input type from text to url

This commit is contained in:
Gaël Métais
2014-11-03 17:18:35 +01:00
parent 52b77468f4
commit b3ec3512b9
3 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<h1>Yellow Lab <span class="icon-lab"></span> Tools</h1>
<h2 class="promess">Free online test to help speeding up <b>heavy</b> web pages</h2>
<form method="post" action="/launchTest">
<input type="text" name="url" placeholder="http://www.mysite.com" class="url" />
<input type="url" name="url" placeholder="http://www.mysite.com" class="url" />
<input type="submit" value="Launch test" class="launchBtn" onclick="this.className += ' clicked'" />
</form>
<p>(This is a BETA, your feedback is more than welcome)</p>
+1 -5
View File
@@ -13,14 +13,10 @@ body {
text-align: center;
}
body, input[type=submit], input[type=text], input[type=number], button {
body, input[type=submit], input[type=text], input[type=url], input[type=number], button {
font-family: 'Century Gothic', helvetica, arial, sans-serif;
}
input[type=text] {
}
input[type=submit] {
cursor: pointer;
}
+1
View File
@@ -18,6 +18,7 @@ body {
body,
input[type=submit],
input[type=text],
input[type=url],
input[type=number],
button {
font-family: 'Century Gothic', helvetica, arial, sans-serif;