-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d7e7b4f
Showing
6 changed files
with
651 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
// IntelliSense を使用して利用可能な属性を学べます。 | ||
// 既存の属性の説明をホバーして表示します。 | ||
// 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "chrome", | ||
"request": "launch", | ||
"name": "index.htmlをChromeで起動", | ||
"file": "${workspaceFolder}/index.html" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": "." | ||
} | ||
], | ||
"settings": { | ||
"files.autoSave": "afterDelay", | ||
"editor.renderWhitespace": "all", | ||
"files.trimTrailingWhitespace": true, | ||
"editor.formatOnSave": true, | ||
"html.format.endWithNewline": true | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 ta-kon | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
<!DOCTYPE html> | ||
<html lang="ja"> | ||
|
||
<head> | ||
<meta charset="utf-8" lang="ja"> | ||
<meta http-equiv="content-language" content="ja"> | ||
<meta name="author" content="ta-kon"> | ||
<meta name="description" content="作業時間の計算を行います。"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<!-- bootstrap css--> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.1.1/superhero/bootstrap.min.css"> | ||
<!-- jquery --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | ||
|
||
<!-- datetimepicker --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-datetimepicker/2.7.1/css/bootstrap-material-datetimepicker.min.css"> | ||
<script src="http://momentjs.com/downloads/moment-with-locales.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-datetimepicker/2.7.1/js/bootstrap-material-datetimepicker.min.js"></script> | ||
|
||
<!-- 計算用js --> | ||
<script defer src="kintaroModel.js"></script> | ||
<script defer src="kintaroCalc.js"></script> | ||
|
||
<!-- Created: 2018/06/13 21:13 --> | ||
<title>勤太郎</title> | ||
</head> | ||
|
||
<body style="padding-top: 120px;"> | ||
<div class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark"> | ||
<a class="navbar-brand" href="#">勤太郎</a> | ||
|
||
<div class="container"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item active"> | ||
現在時間 | ||
<span class="nav-link" id="menu-nowDate">Not Runnning javascript</span> | ||
</li> | ||
</ul> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item active"> | ||
作業時間 | ||
<span class="nav-link" id="menu-realTime">Not Runnning javascript</span> | ||
</li> | ||
</ul> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item active"> | ||
作業時間 (10進表記) | ||
<span class="nav-link" id="menu-realTime-dec">Not Runnning javascript</span> | ||
</li> | ||
</ul> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item active"> | ||
デバッグ | ||
<span class="nav-link" id="debug">Not Runnning javascript</span> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<h2>作業</h2> | ||
<table class="table table-hover"> | ||
<thead> | ||
<tr> | ||
<th>名称</th> | ||
<th>開始</th> | ||
<th>終了</th> | ||
<th>時間</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
|
||
<tr> | ||
<td> | ||
実作業 | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="09:00" id="real-start">09:00</button> | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" id="real-end"></button> | ||
</td> | ||
<td id="real"></td> | ||
</tr> | ||
<tr> | ||
<td>定時</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="09:00" id="workTime-start">09:00</button> | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="18:00" id="workTime-end">18:00</button> | ||
</td> | ||
<td id="workTime"></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<h2>休憩</h2> | ||
<table class="table table-hover" id="breakTimeTable"> | ||
<tbody> | ||
<tr> | ||
<td id="breakTime1-name">昼休憩</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="12:00" id="breakTime1-start">12:00</button> | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="13:00" id="breakTime1-end">13:00</button> | ||
</td> | ||
<td id="breakTime1"></td> | ||
</tr> | ||
<tr> | ||
<td id="breakTime2-name">夕休憩</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="18:00" id="breakTime2-start">18:00</button> | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="18:30" id="breakTime2-end">18:30</button> | ||
</td> | ||
<td id="breakTime2"></td> | ||
</tr> | ||
|
||
<tr> | ||
<td id="breakTime3-name">夜休憩</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="20:15" id="breakTime3-start">20:15</button> | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="20:30" id="breakTime3-end">20:30</button> | ||
</td> | ||
<td id="breakTime3"></td> | ||
</tr> | ||
|
||
<tr> | ||
<td id="breakTime4-name">深夜休憩</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="22:15" id="breakTime4-start">22:15</button> | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" value="22:30" id="breakTime4-end">22:30</button> | ||
</td> | ||
<td id="breakTime4"></td> | ||
</tr> | ||
|
||
<tr> | ||
<td id="breakTime-other1-name">その他1</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" id="breakTime-other1-start"></button> | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" id="breakTime-other1-end"></button> | ||
</td> | ||
<td id="breakTime-other1"></td> | ||
</tr> | ||
|
||
<tr> | ||
<td id="breakTime-other2-name">その他2</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" id="breakTime-other2-start"></button> | ||
</td> | ||
<td> | ||
<button type="button" class="btn btn-secondary input-time" id="breakTime-other2-end"></button> | ||
</td> | ||
<td id="breakTime-other2"></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.