Skip to content

Instantly share code, notes, and snippets.

@bobbyjam99-zz
Created February 5, 2016 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobbyjam99-zz/55b5d6d61837b3c58dc9 to your computer and use it in GitHub Desktop.
Save bobbyjam99-zz/55b5d6d61837b3c58dc9 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
</head>
<body>
<h3>タスク入力</h3>
<p>タスクと時間を入力</p>
<form action="xxx.php" method="post" class="form-inline">
<label>タスク</label>
<input type="text" name="task" class="form-control" placeholder="タスク">
<label>時間</label>
<input type="date" name="date" class="form-control">
<input type="time" name="time"> ~ <input type="time" name="time">
<input type="submit" value="登録" class="btn btn-primary">
</form>
</body>
</html>
CREATE TABLE TASK(
id bigint auto_increment,
task char not null,
start_time timestamp not null,
ending_time timestamp not null
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment