Repository navigation
Expand file tree
/
Copy pathformatter.js
More file actions
100 lines (96 loc) · 1.66 KB
/
Copy pathformatter.js
File metadata and controls
100 lines (96 loc) · 1.66 KB
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
const header =
`
<html>
<style>
#wrapper{
width: 620px;
height: 650px;
font-family:sans-serif, verdana;
background: #e7e7e7;
padding: 5px 3px;
border-radius: 5px;
overflow: hidden;
}
.message-box{
width: 100%
height: 320px;
background: #0E6655;
padding: 5px 3px;
text-align: right;
border-radius: 5px;
}
.button{
font-size: 15px;
margin: 2px 1px;
border-radius: 5px;
background-color: #CDCDCD;
border: none;
padding: 12px 25px;
display: inline-block;
}
.text-input{
font-size: 15px;
margin: 2px 1px;
border-radius: 5px;
padding: 12px 25px;
display: inline-block;
}
.chat{
width:560px;
height:565px;
padding-left: 30px;
padding-right: 30px
padding-top: 20px;
}
.user{
text-align:right;
float:right;
background: #3498DB;
}
.bot{
text-align:left;
float:left;
background: #FDFEFE;
}
.message{
border-radius: 5px;
font-size: 18px;
padding-top:5px;
padding-left:5px;
padding-right:5px;
margin: 2px 1px;
width: 300px;
height: 30px;
}
.message-large{
border-radius: 5px;
font-size: 18px;
padding-top:5px;
padding-left:5px;
padding-right:5px;
margin: 2px 1px;
width: 300px;
height: 60px; }
form{
padding-right:15px;
padding-top:9px;
}
</style>
<body>
<div id="wrapper">
<div class="chat">
`
const footer =
`
</div>
<div class="message-box">
<form action="#">
<input type="text" class="text-input" name="userMessage" size="50">
<input type="submit" class="button" value="Send">
</form>
</div>
</div>
</body>
</html>
`
exports.formatter = [header, footer]