-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (57 loc) · 3.49 KB
/
index.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
<!DOCTYPE html>
<html lang="ja" ng-app="interview">
<head>
<meta charset="utf8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="社員インタビュー">
<meta name="chromesniffer" id="chromesniffer_meta" content="{'jQuery':'1.11.3'}">
<title>社員インタビュー</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
<script type="text/javascript" src="./js/default.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<link rel="stylesheet" href="./css/default.css" />
</head>
<body style="padding: 70px 0px;">
<div ng-controller="MainController as $ctrl">
<div class="container" id="interview">
<div ng-repeat="conversation in $ctrl.target.conversations" ng-switch="conversation[0]">
<div style="width: 80%;" class=" pull-right" ng-switch-when="Q">
<span class="well well-sm pull-right" ng-bind="conversation[1]"></span>
</div>
<div style="width: 80%;" class=" pull-left" ng-switch-when="A">
<span class="alert alert-info pull-left" ng-bind="conversation[1]"></span>
</div>
<div class="clearfix"></div>
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-top" style="height: 60px; padding: 5px;">
<div class="container-fluid">
<img alt="{{$ctrl.target.name}}" ng-src="./image/{{$ctrl.target.picture}}" width=50>
<div class="dropdown pull-right">
<button type="button" class="btn btn-lg btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-align-justify"></span></button>
<ul class="dropdown-menu">
<li ng-repeat="staff in $ctrl.staffs"><a ng-click="$ctrl.changeStaff(staff)"><div ng-bind="staff.name"></div></a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Help</a></li>
</ul>
</div>
</div>
</nav>
<nav class="navbar navbar-default navbar-fixed-bottom" style="height: 60px; padding: 5px;">
<div class="container-fluid">
<div class="input-group input-group-lg">
<input type="text" class="form-control" placeholder="インタビューしよう" ng-model="::$ctrl.question" ng-keyup="$ctrl.sendQuestionWithEnter($event)" ng-disabled="$ctrl.pending">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="$ctrl.sendQuestion()"><span class="glyphicon glyphicon-share-alt"></span></button>
</span>
</div>
</div>
</nav>
</div>
</div>
</body>
</html>