-
Notifications
You must be signed in to change notification settings - Fork 0
/
review.html
139 lines (128 loc) · 4.69 KB
/
review.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/header.css">
<style>
.icon-inline-star,
.icon-inline-star-i {
margin: 0;
padding-left: 0.5em;
}
.icon-inline-star-r,
.icon-inline-star-r-i {
margin: 0;
padding-left: 0.3em;
}
.hide {
display: none;
}
#user {
margin: 20px 0;
}
#review .jumbotron {
background: url('img/dammyman-big.jpg') center center;
background-size: cover;
border-radius: 4px 4px 0 0;
}
#review {
margin-bottom: 20px;
}
#template {
display: none;
}
</style>
<title>ちえぴったん | レビュー</title>
</head>
<body>
<div class="container" id="header">
<div class="row" id="header-wrapper">
<div class="col-xs-4 col-md-4 col-lg-4" id="icon-notice">
<a href="home.html"><img src="img/icon/notice.png" alt="notice_icon" /></a>
</div>
<div class="col-xs-4 col-md-4 col-lg-4" id="logo-img">
<div class="centering">
<a href="home.html"><img src="img/logo-02.png" alt="logo" /></a>
</div>
</div>
<div class="col-xs-4 col-md-4 col-lg-4" id="icons">
<a href="create.html"><img src="img/icon/ticket.png" alt="ticket_icon" /></a>
<a href="search.html"><img src="img/icon/search.png" alt="search_icon" /></a>
</div>
</div>
</div>
<main class="container" id="main">
<div id="user" class="row">
<div class="col-xs-10 col-xs-offset-1">
<div class="row">
<img src="" alt="user icon" id="user-img" class="img-circle img-responsive col-xs-4" width="96px" height="96px">
<div class="col-xs-8">
<h4 class="color-red h4 no-margiin" id="last-first-name"></h4>
<h5 class="color-red h5 no-margin" id="user-name"></h5>
<h6>
<span class="score" id="user-evaluation">
</span>
<span class="points color-red" id="star-number"></span>
</h6>
</div>
</div>
</div>
</div>
<div id="review">
<div class="rounded z-depth-1 bg-color-white" style="margin-bottom: 20px; padding-bottom: 10px;">
<div id="ticketImage" class="jumbotron">
<h3 id="ticketTitle" class="text-center h3 color-white">{title}</h3>
</div>
<div>
<h5 class="text-center color-red h5">評価</h5>
<p id="reviewScoreUi" class="text-center h3">
<span class="icon-inline-star-i" data-id="1"></span>
<span class="icon-inline-star-i" data-id="2"></span>
<span class="icon-inline-star-i" data-id="3"></span>
<span class="icon-inline-star-i" data-id="4"></span>
<span class="icon-inline-star-i" data-id="5"></span>
</p>
<input type="hidden" id="reviewScore" value=0>
<hr>
<h5 class="text-center color-red h5">ひとこと</h5>
<textarea id="reviewComment" class="input-field color-blue center-block" rows="4" style="width: 95%;" placeholder="ありがとうございました。"></textarea>
</div>
</div>
<button type="button" id="submit" class="btn btn-block color-red">レビューを送る</button>
</div>
</main>
<div id="template">
<div class="review">
<h4 class="text-color-red h4 title">{title}</h4>
<div class="media rounded z-depth-1 color-white">
<div class="media-left media-middle">
<img src="img/user-icon.jpg" alt="user icon" class="img-circle" width="64px" height="64px">
<small class="userName">{userName}</small>
</div>
<div class="media-body">
<p class="media-heading h6 score">{score}</p>
<p class="message no-margin">{message}</p>
<p class="no-margin pull-right color-text-hint">
<small class="time">{time}</small>
</p>
</div>
</div>
</div>
<div class="score">
<span class="icon-inline-star-r inc"></span>
<span class="icon-inline-star-r-i dsc"></span>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/vue.min.js"></script>
<script src="js/common.js"></script>
<script src="js/review.js"></script>
</body>
</html>