Files
site/res/templates/form-mask.html
2025-12-27 21:59:58 +08:00

323 lines
16 KiB
HTML

{{template "components/header.html" .}}
{{template "components/preloader.html" .}}
<div id="main-wrapper">
<!-- Sidebar Start -->
{{template "components/sidebar.html" .}}
<!-- Sidebar End -->
<div class="page-wrapper">
<!-- Header Start -->
{{template "components/topbar.html" .}}
<!-- Header End -->
<div class="body-wrapper">
<div class="container-fluid">
<div class="card bg-info-subtle shadow-none position-relative overflow-hidden mb-4">
<div class="card-body px-4 py-3">
<div class="row align-items-center">
<div class="col-9">
<h4 class="fw-semibold mb-8">Mask</h4>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a class="text-muted text-decoration-none" href="../main/index.html">Home</a>
</li>
<li class="breadcrumb-item" aria-current="page">Mask</li>
</ol>
</nav>
</div>
<div class="col-3">
<div class="text-center mb-n5">
<img src="../assets/images/breadcrumb/ChatBc.png" alt="modernize-img" class="img-fluid mb-n4" />
</div>
</div>
</div>
</div>
</div>
<div class="card">
<div class="border-bottom title-part-padding">
<h4 class="card-title mb-0">Input masks</h4>
</div>
<div class="card-body">
<div class="mb-3">
<label class="form-label">Date Mask
<small class="text-muted ms-2">dd/mm/yyyy</small>
</label>
<input type="text" class="form-control date-inputmask" id="date-mask" placeholder="Enter Date" />
</div>
<div class="mb-3">
<label class="form-label">Phone
<small class="text-muted ms-2">(999) 999-9999</small>
</label>
<input type="text" class="form-control phone-inputmask" id="phone-mask" placeholder="Enter Phone Number" />
</div>
<div class="mb-3">
<label class="form-label">International Number
<small class="text-muted ms-2">+19 999 999 999</small>
</label>
<input type="text" class="form-control international-inputmask" id="international-mask" placeholder="International Phone Number" />
</div>
<div class="mb-3">
<label class="form-label">Phone / xEx
<small class="text-muted ms-2">(999) 999-9999 / x999999</small>
</label>
<input type="text" class="form-control xphone-inputmask" id="xphone-mask" placeholder="Enter Phone Number" />
</div>
<div class="mb-3">
<label class="form-label">Purchase Order
<small class="text-muted ms-2">aaaa 9999-****</small>
</label>
<input type="text" class="form-control purchase-inputmask" id="purchase-mask" placeholder="Enter Purchase Order" />
</div>
<div class="mb-3">
<label class="form-label">Credit Card Number
<small class="text-muted ms-2">9999 9999 9999 9999</small>
</label>
<input type="text" class="form-control cc-inputmask" id="cc-mask" placeholder="Enter Credit Card Number" />
</div>
<div class="mb-3">
<label class="form-label">SSN <small class="text-muted ms-2">999-99-9999</small>
</label>
<input type="text" class="form-control ssn-inputmask" id="ssn-mask" placeholder="Enter Social Security Number" />
</div>
<div class="mb-3">
<label class="form-label">ISBN
<small class="text-muted ms-2">999-99-999-9999-9</small>
</label>
<input type="text" class="form-control isbn-inputmask" id="isbn-mask" placeholder="Enter ISBN" />
</div>
<div class="mb-3">
<label class="form-label">Percentage <small class="text-muted ms-2">99%</small>
</label>
<input type="text" class="form-control percentage-inputmask" id="percentage-mask" placeholder="Enter Value in %" />
</div>
<div class="mb-3">
<label class="form-label">Currency<small class="text-muted ms-2">$9999</small>
</label>
<input type="text" class="form-control currency-inputmask" id="currency-mask" placeholder="Enter Currency in USD" />
</div>
<div class="mb-3">
<label class="form-label">Decimal using RadixPoint<small class="text-muted ms-2">123.654658</small>
</label>
<input type="text" class="form-control decimal-inputmask text-end" id="decimal-mask" placeholder="Enter Decimal Value">
</div>
<div class="mb-3">
<label class="form-label">Email<small class="text-muted ms-2">xxx@xxx.xxx</small>
</label>
<input type="text" class="form-control email-inputmask" id="email-mask" placeholder="Enter Email Address" />
</div>
<div class="mb-3">
<label class="form-label">Optional masks<small class="text-muted ms-2">(99) 9999[9]-9999</small>
</label>
<input type="text" class="form-control optional-inputmask" id="optional-mask" placeholder="With Optional Mask" />
</div>
<div class="mb-3">
<label class="form-label">RTL attribute<small class="text-muted ms-2">dd/mm/yyyy</small>
</label>
<input type="text" class="form-control date-inputmask text-end" id="date-mask-rtl" placeholder="Enter Date">
</div>
<div class="mb-3">
<label class="form-label">3 Number and 3 Lettter<small class="text-muted ms-2">123-ABC</small>
</label>
<input class="form-control" id="num-letter" data-inputmask-clearmaskonlostfocus="false" placeholder="Enter First 3 number and after that 3 letter" />
</div>
<div class="mb-3">
<label class="form-label">Date and Time in Once<small class="text-muted ms-2">yyyy-mm-dd'T'HH:MM:ss</small>
</label>
<input class="form-control" id="date-time-once" data-inputmask-clearmaskonlostfocus="false" data-inputmask="'alias': 'datetime'" />
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Search Bar -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-lg">
<div class="modal-content rounded-1">
<div class="modal-header border-bottom">
<input type="search" class="form-control fs-3" placeholder="Search here" id="search" />
<a href="javascript:void(0)" data-bs-dismiss="modal" class="lh-1">
<i class="ti ti-x fs-5 ms-3"></i>
</a>
</div>
<div class="modal-body message-body" data-simplebar="">
<h5 class="mb-0 fs-5 p-1">Quick Page Links</h5>
<ul class="list mb-0 py-2">
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Modern</span>
<span class="text-muted d-block">/dashboards/dashboard1</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Dashboard</span>
<span class="text-muted d-block">/dashboards/dashboard2</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Contacts</span>
<span class="text-muted d-block">/apps/contacts</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Posts</span>
<span class="text-muted d-block">/apps/blog/posts</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Detail</span>
<span class="text-muted d-block">/apps/blog/detail/streaming-video-way-before-it-was-cool-go-dark-tomorrow</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Shop</span>
<span class="text-muted d-block">/apps/ecommerce/shop</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Modern</span>
<span class="text-muted d-block">/dashboards/dashboard1</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Dashboard</span>
<span class="text-muted d-block">/dashboards/dashboard2</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Contacts</span>
<span class="text-muted d-block">/apps/contacts</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Posts</span>
<span class="text-muted d-block">/apps/blog/posts</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Detail</span>
<span class="text-muted d-block">/apps/blog/detail/streaming-video-way-before-it-was-cool-go-dark-tomorrow</span>
</a>
</li>
<li class="p-1 mb-1 bg-hover-light-black">
<a href="javascript:void(0)">
<span class="d-block">Shop</span>
<span class="text-muted d-block">/apps/ecommerce/shop</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Shopping Cart -->
<div class="offcanvas offcanvas-end shopping-cart" tabindex="-1" id="offcanvasRight" aria-labelledby="offcanvasRightLabel">
<div class="offcanvas-header justify-content-between py-4">
<h5 class="offcanvas-title fs-5 fw-semibold" id="offcanvasRightLabel">
Shopping Cart
</h5>
<span class="badge bg-primary rounded-4 px-3 py-1 lh-sm">5 new</span>
</div>
<div class="offcanvas-body h-100 px-4 pt-0" data-simplebar>
<ul class="mb-0">
<li class="pb-7">
<div class="d-flex align-items-center">
<img src="../assets/images/products/product-1.jpg" width="95" height="75" class="rounded-1 me-9 flex-shrink-0" alt="modernize-img" />
<div>
<h6 class="mb-1">Supreme toys cooker</h6>
<p class="mb-0 text-muted fs-2">Kitchenware Item</p>
<div class="d-flex align-items-center justify-content-between mt-2">
<h6 class="fs-2 fw-semibold mb-0 text-muted">$250</h6>
<div class="input-group input-group-sm w-50">
<button class="btn border-0 round-20 minus p-0 bg-success-subtle text-success" type="button" id="add1">
-
</button>
<input type="text" class="form-control round-20 bg-transparent text-muted fs-2 border-0 text-center qty" placeholder="" aria-label="Example text with button addon" aria-describedby="add1" value="1" />
<button class="btn text-success bg-success-subtle p-0 round-20 border-0 add" type="button" id="addo2">
+
</button>
</div>
</div>
</div>
</div>
</li>
<li class="pb-7">
<div class="d-flex align-items-center">
<img src="../assets/images/products/product-2.jpg" width="95" height="75" class="rounded-1 me-9 flex-shrink-0" alt="modernize-img" />
<div>
<h6 class="mb-1">Supreme toys cooker</h6>
<p class="mb-0 text-muted fs-2">Kitchenware Item</p>
<div class="d-flex align-items-center justify-content-between mt-2">
<h6 class="fs-2 fw-semibold mb-0 text-muted">$250</h6>
<div class="input-group input-group-sm w-50">
<button class="btn border-0 round-20 minus p-0 bg-success-subtle text-success" type="button" id="add2">
-
</button>
<input type="text" class="form-control round-20 bg-transparent text-muted fs-2 border-0 text-center qty" placeholder="" aria-label="Example text with button addon" aria-describedby="add2" value="1" />
<button class="btn text-success bg-success-subtle p-0 round-20 border-0 add" type="button" id="addon34">
+
</button>
</div>
</div>
</div>
</div>
</li>
<li class="pb-7">
<div class="d-flex align-items-center">
<img src="../assets/images/products/product-3.jpg" width="95" height="75" class="rounded-1 me-9 flex-shrink-0" alt="modernize-img" />
<div>
<h6 class="mb-1">Supreme toys cooker</h6>
<p class="mb-0 text-muted fs-2">Kitchenware Item</p>
<div class="d-flex align-items-center justify-content-between mt-2">
<h6 class="fs-2 fw-semibold mb-0 text-muted">$250</h6>
<div class="input-group input-group-sm w-50">
<button class="btn border-0 round-20 minus p-0 bg-success-subtle text-success" type="button" id="add3">
-
</button>
<input type="text" class="form-control round-20 bg-transparent text-muted fs-2 border-0 text-center qty" placeholder="" aria-label="Example text with button addon" aria-describedby="add3" value="1" />
<button class="btn text-success bg-success-subtle p-0 round-20 border-0 add" type="button" id="addon3">
+
</button>
</div>
</div>
</div>
</div>
</li>
</ul>
<div class="align-bottom">
<div class="d-flex align-items-center pb-7">
<span class="text-dark fs-3">Sub Total</span>
<div class="ms-auto">
<span class="text-dark fw-semibold fs-3">$2530</span>
</div>
</div>
<div class="d-flex align-items-center pb-7">
<span class="text-dark fs-3">Total</span>
<div class="ms-auto">
<span class="text-dark fw-semibold fs-3">$6830</span>
</div>
</div>
<a href="../main/eco-checkout.html" class="btn btn-outline-primary w-100">Go to shopping cart</a>
</div>
</div>
</div>
</div>
{{template "components/footer.html" .}}
<script src="../assets/libs/inputmask/dist/jquery.inputmask.min.js"></script>
<script src="../assets/js/forms/mask.init.js"></script>