mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-22 17:00:24 +00:00
Edited the PHP combiner and .htaccess logic to accommodate this change, as well as allowing manifest files to use a "../" when referencing files, which will be handy when adding themes that don't include structural files yet. Modified all HTML files to point to /themes/default for their theme.
54 lines
No EOL
1.5 KiB
HTML
54 lines
No EOL
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>jQuery Mobile Framework - Datepicker</title>
|
|
<link rel="stylesheet" href="../../themes/default" />
|
|
<script type="text/javascript" src="../../js/all"></script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div data-role="page">
|
|
<link rel="stylesheet" href="jquery.ui.datepicker.css" />
|
|
<script type="text/javascript" src="jquery.ui.datepicker.js"></script>
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
/* datepicker workaround */
|
|
$('input[type=date]').hide().after( $('<div />').datepicker() );
|
|
$('.ui-datepicker-header').addClass('ui-body-c ui-corner-top').removeClass('ui-corner-all');
|
|
$('.ui-datepicker-prev').buttonMarkup({iconpos: 'notext', icon: 'arrow-l', shadow: true, corners: true});
|
|
$('.ui-datepicker-next').buttonMarkup({iconpos: 'notext', icon: 'arrow-r', shadow: true, corners: true});
|
|
$('.ui-datepicker-calendar thead').remove();
|
|
$('.ui-datepicker-calendar .ui-btn-text span').attr('class','');
|
|
$('.ui-datepicker-calendar td').addClass('ui-btn-up-c');
|
|
$('.ui-datepicker-calendar a').buttonMarkup({corners: false, shadow: false});
|
|
/* // datepicker workaround */
|
|
});
|
|
</script>
|
|
|
|
<div data-role="header">
|
|
<h1>Datepicker Styled for mobile</h1>
|
|
|
|
</div>
|
|
|
|
<div data-role="content">
|
|
|
|
|
|
<form action="#" method="get">
|
|
|
|
<div data-role="fieldcontain">
|
|
<label for="date">Date Input (non-functional):</label>
|
|
<input type="date" name="date" id="date" value="" />
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
</html> |