|
|
Linha 7: |
Linha 7: |
| } | | } |
| | | |
− | importScript('MediaWiki:Contact_form.js');
| + | (function () { |
| + | |
| + | var myElement = document.getElementById('mw-contact-form'); |
| + | myElement.innerHTML = '<form class="cd-form floating-labels"> |
| + | <fieldset> |
| + | <legend>Account Info</legend> |
| + | |
| + | <div class="error-message"> |
| + | <p>Please enter a valid email address</p> |
| + | </div> |
| + | |
| + | <div class="icon"> |
| + | <label class="cd-label" for="cd-name">Name</label> |
| + | <input class="user" type="text" name="cd-name" id="cd-name" required> |
| + | </div> |
| + | |
| + | <!-- ... --> |
| + | </fieldset> |
| + | |
| + | <fieldset> |
| + | <legend>Project Info</legend> |
| + | |
| + | <div> |
| + | <h4>Budget</h4> |
| + | |
| + | <p class="cd-select icon"> |
| + | <select class="budget"> |
| + | <option value="0">Select Budget</option> |
| + | <option value="1">< $5000</option> |
| + | <option value="2">$5000 - $10000</option> |
| + | <option value="3">> $10000</option> |
| + | </select> |
| + | </p> |
| + | </div> |
| + | |
| + | <div> |
| + | <h4>Project type</h4> |
| + | |
| + | <ul class="cd-form-list"> |
| + | <li> |
| + | <input type="radio" name="radio-button" id="cd-radio-1" checked> |
| + | <label for="cd-radio-1">Choice 1</label> |
| + | </li> |
| + | |
| + | <li> |
| + | <input type="radio" name="radio-button" id="cd-radio-2"> |
| + | <label for="cd-radio-2">Choice 2</label> |
| + | </li> |
| + | |
| + | <li> |
| + | <input type="radio" name="radio-button" id="cd-radio-3"> |
| + | <label for="cd-radio-3">Choice 3</label> |
| + | </li> |
| + | </ul> |
| + | </div> |
| + | |
| + | <!-- ... --> |
| + | |
| + | <div class="icon"> |
| + | <label class="cd-label" for="cd-textarea">Project description</label> |
| + | <textarea class="message" name="cd-textarea" id="cd-textarea" required></textarea> |
| + | </div> |
| + | |
| + | <div> |
| + | <input type="submit" value="Send Message"> |
| + | </div> |
| + | </fieldset> |
| + | </form>'; |
| + | |
| + | }()); |
Revisão das 13h35min de 18 de setembro de 2016
/** Códigos Javascript aqui colocados serão carregados por todos aqueles que acederem à WikiSporting.com **/
/** Tynt Tracking **/
if(document.location.protocol=='http:'){
var Tynt=Tynt||[];Tynt.push('czzJj69Myr4ly6acwqm_6l');Tynt.i={"ap":"Ler mais:"};
(function(){var s=document.createElement('script');s.async="async";s.type="text/javascript";s.src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);})();
}
(function () {
var myElement = document.getElementById('mw-contact-form');
myElement.innerHTML = '<form class="cd-form floating-labels">
<fieldset>
<legend>Account Info</legend>
<div class="error-message">
<p>Please enter a valid email address</p>
</div>
<div class="icon">
<label class="cd-label" for="cd-name">Name</label>
<input class="user" type="text" name="cd-name" id="cd-name" required>
</div>
<!-- ... -->
</fieldset>
<fieldset>
<legend>Project Info</legend>
<div>
<h4>Budget</h4>
<p class="cd-select icon">
<select class="budget">
<option value="0">Select Budget</option>
<option value="1">< $5000</option>
<option value="2">$5000 - $10000</option>
<option value="3">> $10000</option>
</select>
</p>
</div>
<div>
<h4>Project type</h4>
<ul class="cd-form-list">
<li>
<input type="radio" name="radio-button" id="cd-radio-1" checked>
<label for="cd-radio-1">Choice 1</label>
</li>
<li>
<input type="radio" name="radio-button" id="cd-radio-2">
<label for="cd-radio-2">Choice 2</label>
</li>
<li>
<input type="radio" name="radio-button" id="cd-radio-3">
<label for="cd-radio-3">Choice 3</label>
</li>
</ul>
</div>
<!-- ... -->
<div class="icon">
<label class="cd-label" for="cd-textarea">Project description</label>
<textarea class="message" name="cd-textarea" id="cd-textarea" required></textarea>
</div>
<div>
<input type="submit" value="Send Message">
</div>
</fieldset>
</form>';
}());