Reorganize project structure and finalize Bootstrap 5 cleanup
- Create demo folder and move test files with proper naming - Rename test.html/js/php to demo/index.html/demo.js/demo.php - Update Gruntfile.js to Bootstrap 5 only configuration - Clean up package.json dependencies (remove unused webpack/popper.js) - Remove non-Bootstrap 5 dist directories - Update webpack config to use demo files - Fix demo paths and ensure fully functional demo
This commit is contained in:
68
demo/index.html
Normal file
68
demo/index.html
Normal file
@@ -0,0 +1,68 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="stylesheet" href="./dist/bootstrap5-editable/css/bootstrap-editable.css">
|
||||
<!-- <script src="./dist/bootstrap5-editable/js/bootstrap-editable.js"></script>-->
|
||||
<!-- <script src="./dist/jquery.js"></script>-->
|
||||
<script src="./dist/app.js" type="module"></script>
|
||||
|
||||
<title>Bootstrap 5.3.3 Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 class="text-primary">jQuery 3.7.1 & Bootstrap 5.3.3 Test</h1>
|
||||
</div>
|
||||
|
||||
<form id="test-form" action="demo/demo.php" method="post">
|
||||
|
||||
<div class="container mb-3">
|
||||
<h3>Test X-Editable Yes/No Switch - AJAX Source</h3>
|
||||
<p>Click on the text below to toggle Yes/No:</p>
|
||||
|
||||
<a
|
||||
href="#"
|
||||
id="yes-no-switch"
|
||||
class="editable editable-click"
|
||||
data-pk="101"
|
||||
>
|
||||
Yes
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="container mb-3">
|
||||
<h3>Test X-Editable Static Source - JSON Source</h3>
|
||||
<p>Click on the text below (uses static array, not AJAX):</p>
|
||||
<a
|
||||
href="#"
|
||||
id="yes-no-switch-json"
|
||||
class="editable editable-click"
|
||||
data-type="select"
|
||||
data-pk="102"
|
||||
data-title="Select Yes/No"
|
||||
>
|
||||
Yes
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<h3>Test X-Editable Datepicker</h3>
|
||||
<p>Click to select a date:</p>
|
||||
|
||||
<a
|
||||
href="#"
|
||||
id="datepicker"
|
||||
class="editable editable-click"
|
||||
data-type="date"
|
||||
data-pk="103"
|
||||
data-title="Select Date"
|
||||
>
|
||||
Click to select date
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user