mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
105 lines
5.8 KiB
HTML
105 lines
5.8 KiB
HTML
<!doctype html>
|
|
<html class="is-loading" lang="en" data-page="page">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Form | Locomotive Boilerplate</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
<link rel="manifest" href="site.webmanifest">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicons/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicons/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicons/favicon-16x16.png">
|
|
<link rel="mask-icon" href="assets/images/favicons/safari-pinned-tab.svg" color="#000000">
|
|
|
|
<link id="main-css" rel="stylesheet" href="assets/styles/main.css" media="print" onload="this.media='all'; this.onload=null; this.isLoaded=true">
|
|
</head>
|
|
<body data-module-load>
|
|
<div data-load-container>
|
|
<div data-module-scroll="main">
|
|
<header>
|
|
<a href="/"><h1>Locomotive Boilerplate</h1></a>
|
|
<nav>
|
|
<ul>
|
|
<li><a href="images.html">Images</a></li>
|
|
<li><a href="form.html" data-load="customTransition">Form</a></li>
|
|
<li><a href="grid.html">Grid</a></li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main>
|
|
<div class="o-container">
|
|
<h1 class="c-heading -h1">Page</h1>
|
|
|
|
<div class="o-layout">
|
|
<div class="o-layout_item u-1/2@from-small">
|
|
|
|
<form class="c-form">
|
|
<div class="c-form_item">
|
|
<label class="c-form_label" for="input">Input</label>
|
|
<input class="c-form_input" type="text" id="input">
|
|
</div>
|
|
<div class="c-form_item">
|
|
<div class="o-layout -gutter">
|
|
<div class="o-layout_item u-1/2">
|
|
<input class="c-form_checkbox" type="checkbox" id="checkbox">
|
|
<label class="c-form_checkboxLabel" for="checkbox">Checkbox</label>
|
|
</div>
|
|
<div class="o-layout_item u-1/2">
|
|
<input class="c-form_checkbox" type="checkbox" id="checkbox2">
|
|
<label class="c-form_checkboxLabel" for="checkbox2">Checkbox 2</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="c-form_item">
|
|
<div class="o-layout -gutter">
|
|
<div class="o-layout_item u-1/2">
|
|
<input class="c-form_radio" type="radio" name="radio" id="radio">
|
|
<label class="c-form_radioLabel" for="radio">Radio</label>
|
|
</div>
|
|
<div class="o-layout_item u-1/2">
|
|
<input class="c-form_radio" type="radio" name="radio" id="radio2">
|
|
<label class="c-form_radioLabel" for="radio2">Radio 2</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="c-form_item">
|
|
<label class="c-form_label" for="select">Select</label>
|
|
<div class="c-form_select">
|
|
<select class="c-form_select_input" id="select">
|
|
<option value="option">Option</option>
|
|
<option value="option2">Option 2</option>
|
|
<option value="option3">Option 3</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="c-form_item">
|
|
<label class="c-form_label" for="textarea">Textarea</label>
|
|
<textarea class="c-form_textarea" id="textarea"></textarea>
|
|
</div>
|
|
<button class="c-button" type="submit">
|
|
Submit
|
|
</button>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<footer>
|
|
<p>Made with <a href="https://github.com/locomotivemtl/locomotive-boilerplate" title="Locomotive Boilerplate" target="_blank" rel="noopener">🚂</a></p>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
|
|
<script nomodule src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.6.0/polyfill.min.js" crossorigin="anonymous"></script>
|
|
|
|
<script src="assets/scripts/vendors.js" defer></script>
|
|
<script src="assets/scripts/app.js" defer></script>
|
|
</body>
|
|
</html>
|