-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
146 lines (127 loc) · 5.45 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="node_modules/bootstrap/compiler/bootstrap.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="node_modules/bootstrap/compiler/style.css">
<title>FTNow - Home</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand" href="index.html"><img src="img/logo.png" alt="FTNow"></a>
<button class="navbar-toggler" type="button" data-toggler="collapse" data-target="#navMenu">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navMenu">
<ul class="navbar-nav ml-auto">
<li class="nav-item ml-3">
<a class="nav-link" href="demo.html">Demo</a>
</li>
<li class="nav-item ml-3">
<a class="nav-link" href="contact.html">Contact</a>
</li>
<li class="nav-item ml-3">
<a class="nav-link" href="aboutUs.html">About Us</a>
</li>
<li class="nav-item ml-3">
<a class="nav-link" href="privacy.html">Privacy</a>
</li>
</ul>
</div>
</div>
</nav>
<main>
<div class="centerStage container">
<div class="row">
<div class="col-12 text-center">
<h1><img src="img/title.png"></h1>
<p>FTNow is your online text formatter.
To format your text you just need to insert it in the left-side field,
select a format option and click ‘Format’.</p>
</div>
</div>
<div class="row my-2">
<div class="col-6">
<form>
<div class="form-group">
<div class="form-control" id="inputText" placeholder="Input your text here...." contenteditable="true"></div>
</div>
</form>
</div>
<div class="col-6">
<form>
<div class="form-group">
<div class="form-control output" id="outputText" placeholder="Formatted text comes here..." disabled></div>
</div>
</form>
</div>
</div>
<div class="row my-1">
<div class="col-6 text-center">
<button type="button" class="btn btn-primary" onclick="javascript:eraseText();">Clear</button>
</div>
<div class="col-6 text-center">
<button type="button" class="btn btn-primary" onclick="javascript:copyText();">Copy</button>
</div>
</div>
<hr class="my-4"/>
<div class="row">
<div class="col-6 my-3">
<h2 class="second-title">Formatting Options</h2>
<div class="checkbox">
<label><input type="checkbox" value="Lowercase" id="op1" >Lowercase
</label>
</div>
<div class="checkbox">
<label><input type="checkbox" value="Uppercase" id="op2" >Uppercase
</label>
</div>
<div class="checkbox">
<label><input type="checkbox" value="Bold" id="op3" >Bold
</label>
</div>
<div class="checkbox">
<label><input type="checkbox" value="Italic" id="op4" >Italic
</label>
</div>
</div>
<div class="col-6 my-3">
<h2 class="second-title">Filter text sections</h2>
<form>
<div class="form-group">
<textarea class="form-control output" name="comment"
rows="3" placeholder="Input you text here...(separate using comma)" id="filterTA" ></textarea>
</div>
</form>
</div>
</div>
<hr/>
<div class="row">
<div class="col-12 text-center my-3">
<button type="button" class="btn btn-success" onclick="javascript:formatText();">Format</button>
</div>
</div>
</div>
</main>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-12 text-center">
<p>Copyright ©2020 Format Text Now - All rights reserved</p>
</div>
</div>
</div>
</footer>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/popper.js/dist/umd/popper.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.js"></script>
<script src="node_modules/js/script.js"></script>
</body>
</html>