-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
168 lines (136 loc) · 4.97 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Demo Chat App</title>
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type='text/css'>
<!-- Custom CSS -->
<link href="assets/css/custom.css" rel="stylesheet" type='text/css'>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Login Div -->
<div id="login" class="page_div">
<div class="app_logo">
<img src="images/logo.png">
<h2>HereNear</h2>
</div>
<form class="form-horizontal" role="form" method="POST" action="">
<div class="form-group">
<label class="col-md-4 control-label">E-Mail Address</label>
<div class="col-md-6">
<input type="username" class="form-control username" name="username" value="">
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label">Password</label>
<div class="col-md-6">
<input type="password" class="form-control password" name="password">
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<div class="radio">
<label>
<input type="radio" name="user_type" value="dealer"> Dealer
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="user_type" value="user"> User
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary login_button">Login</button>
</div>
</div>
</form>
</div>
<!-- /.Login Div -->
<!-- Message List -->
<div id="message_list" class="page_div">
<div class="app_header">
<div class="app_header_logo">
<button class="back">Back</button>
<img src="images/logo.png">
<h4>HERENEAR</h4>
</div>
<div class="user_details">
<img class="chat_face" src="images/user.jpg" alt="user image">
<span></span>
</div>
</div>
<div class="participants">
<div class="row" data-chatroom="3">
<div class="col-xs-2">
<img class="chat_face" src="images/user.jpg" alt="user image">
</div>
<div class="col-xs-8">
<span class="chat_participant" data-participantid="1"><strong>Raghav</strong></span> <br>
<span class="bid_description">Need 50 bags of Acc Cement</span>
<span class="badge">2</span>
</div>
</div>
<div class="row" data-chatroom="3">
<div class="col-xs-2">
<img class="chat_face" src="images/user.jpg" alt="user image">
</div>
<div class="col-xs-8">
<span class="chat_participant" data-participantid="1"><strong>Raghav</strong></span> <br>
<span class="bid_description">Need 50 bags of Acc Cement</span>
<span class="badge"></span>
</div>
</div>
</div>
</div>
<!-- /.Message List -->
<!-- Chatroom -->
<div id="chatroom" class="page_div chat_wrapper">
<div class="chat_outer_wrapper">
<div class="chat_inner_wrapper" data-chatroom="{{ $chat_room_message->first()->chatroom_id }}">
<div class="chat_header">
<button class="back">Back</button>
<h4 class="chat_user_name">{{ $in_chat_dealers[$key]['name'] }}</h4>
<h5 class="chat_requirement_desc">Need 50 bags of Acc Cement</h5>
</div>
<div class="chat_box">
<div class="row chat_individual_me">
<div class="col-sm-8 chat_individual_text chat_me">
<p>{{ $message->chat_message }}</p>
</div>
</div>
<div class="row chat_individual_you">
<div class="col-sm-8 chat_individual_text chat_you">
<p>{{ $message->chat_message }}</p>
</div>
</div>
</div>
</div>
</div>
<!-- /.chat_box ends -->
<div class="chat_new_text">
<div class="input-group">
<textarea class="form-control custom-control" rows="3" id="chat_new_message"></textarea>
<span class="input-group-addon btn btn-primary btn_send">Send</span>
</div>
</div>
</div>
<!-- /.Chatroom -->
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.2/moment.min.js"></script>
<!-- chat.js -->
<script src="assets/js/chat.js"></script>
</body>
</html>