-
Notifications
You must be signed in to change notification settings - Fork 0
/
report.html
73 lines (69 loc) · 2.55 KB
/
report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>営業日報</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/clipboard@1/dist/clipboard.min.js"></script>
<style>
.btn {
margin-top: 2px;
margin-bottom: 2px;
}
body {
background: #e5e5e5;
}
input[type=date] {
border: 1px solid #c4c4c4;
border-radius: 5px;
background-color: #fff;
padding: 3px 5px;
box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1);
}
textarea[name=report] {
white-space: pre;
overflow-wrap: normal;
overflow-x: scroll;
}
.row {
padding-left: 16px;
padding-right: 16px;
}
</style>
</head>
<body>
<form class="container-fluid" method="post">
<h4 class="text-center">営業日報 【@name@】</h4>
<div class="row">
<input type="date" name="date" value="@date@">
<button name="show" class="btn btn-primary">
<span class="glyphicon glyphicon-search"></span>
表示
</button>
</div>
<div class="row">
<span class="btn btn-primary" id="copy" data-clipboard-target="#report">
<span class="glyphicon glyphicon-copy"></span>
コピー
</span>
<button name="send" class="btn btn-danger pull-right" disabled id="send">
<span class="glyphicon glyphicon-envelope"></span>
メール送信
</button>
</div>
<label>Cyberメールユーザ: @from@</label>
<label>パスワード<input type="password" class="pull-right" name="password"
oninput="$('#send').attr('disabled', !this.value)"></label>
<input type="text" class="form-control" name="subject" value="@subject@">
<textarea name="report" id="report" class="form-control" rows="12">@report@</textarea>
<label>TO</label><input type="text" class="form-control" name="to" value="@to@">
<label>CC</label><input type="text" class="form-control" name="cc" value="@cc@">
</form>
<script>
console.log(new Clipboard('#copy'));
</script>
</body>
</html>