Created
March 31, 2021 10:56
-
-
Save ka215/72cfc07da6d813842b9113e898260892 to your computer and use it in GitHub Desktop.
Source Codes of jQuery.Timeline CRUD System Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>jQuery.Timeline Sample - CRUD System</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ka215/jquery.timeline@main/dist/jquery.timeline.min.css"> | |
<link rel="stylesheet" href="./dist/jqtl-crud.css?1"> | |
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> | |
</head> | |
<body class="d-flex-col"> | |
<nav role="banner"> | |
<div class="d-flex-row"> | |
<h1 id="page-title"><span class="jqtl-icon"></span> CRUD System for jQuery.Timeline</h1> | |
<label> | |
<select id="links"> | |
<option value="">Other Samples</option> | |
<option value="./sample.html" >sample.html</option> | |
<option value="./sample1.html">sample1.html</option> | |
<option value="./sample2.html">sample2.html</option> | |
<option value="./sample3.html">sample3.html</option> | |
<option value="./sample4.html">sample4.html</option> | |
<option value="./sample5.html">sample5.html</option> | |
</select> | |
</label> | |
</div> | |
<div id="controller" class="d-flex-row" role="form"> | |
<div class="d-flex-row"> | |
<div class="d-flex-col"> | |
<label for="change-mode" class="text-caption">Change Mode:</label> | |
<select id="change-mode"> | |
<option value="read" >Default</option> | |
<option value="create">Create Event</option> | |
<option value="update">Update Event</option> | |
<option value="delete">Delete Event</option> | |
</select> | |
</div> | |
<div id="mode-description">This is the normal readonly mode.</div> | |
</div> | |
<div class="d-flex-col"> | |
<label for="import-events" class="text-caption">Import Events:</label> | |
<!-- form name="import-form" class="btn-upload" --> | |
<div class="btn-upload"> | |
Import File | |
<input type="file" id="import-events" accept="application/json,.json"> | |
</div> | |
</div> | |
<div class="d-flex-col"> | |
<label for="import-events" class="text-caption">Export Events:</label> | |
<button type="button" id="export-events" disabled>Export File</button> | |
</div> | |
<div class="d-flex-col"> | |
<label for="number-event" class="text-caption">Auto Put Events:</label> | |
<div> | |
<input type="number" id="number-event" min="1" max="20" value="10" class="text-small"> | |
<button type="button" id="put-events">Put Events</button> | |
</div> | |
</div> | |
<div class="d-flex-col"> | |
<label for="change-type" class="text-caption">View Type:</label> | |
<select id="change-type"> | |
<option value="bar" >Bar</option> | |
<option value="point">Point</option> | |
<option value="mixed">Mixed</option> | |
</select> | |
</div> | |
<div class="d-flex-col"> | |
<button type="button" id="reload" class="no-label">Reload</button> | |
</div> | |
</div> | |
</nav> | |
<main role="main"> | |
<div class="occupy-advance"></div> | |
<div id="crud-timeline"></div> | |
</main> | |
<footer role="contentinfo"> | |
<p>© 2020 Monaural Sound <a href="https://ka2.org/">ka2.org</a>, Powered by MAGIC METHODS</p> | |
</footer> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> | |
<script defer src="https://cdn.jsdelivr.net/gh/ka215/jquery.timeline@main/dist/jquery.timeline.min.js"></script> | |
<script src="./dist/jqtl-crud.js?1"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jqtl-crud.js: