-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
59 lines (58 loc) · 2.69 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="title" content="Vim Statusline Generator | tdaly.co.uk">
<meta name="description" content="Vanilla Vim statusline generator - customise your statusline without any plugins">
<title>Vim Statusline Generator | tdaly.co.uk</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<style>
button {
margin-right: 5px;
margin-bottom: 5px;
}
</style>
</head>
<body>
<div class="container">
<h1 style="text-align:center;">Vim Statusline Generator</h1>
<div class="jumbotron">
<div class="panel panel-default" style="text-align:center;">
statusline preview:<br>
<div class="panel-body" style="color: white; background-color:black;">
<span id="leftPreview" style="float:left;"> </span><span id="rightPreview" style="float:right;"> </span>
<br>
</div>
</div>
<hr>
<div>
<span style="float: left; display: inline-block;">
<button id="leftButton" type="button" class="btn btn-secondary">Left Align</button>
<button id="rightButton" type="button" class="btn btn-secondary">Right Align</button>
<button id="defaultButton" type="button" class="btn btn-outline-dark">Powerline-style Statusline</button>
</span>
<span style="float: right; display: inline-block;">
<button id="undoButton" type="button" class="btn btn-outline-danger">Undo</button>
<button id="clearButton" type="button" class="btn btn-danger">Clear</button>
</span>
</div>
<br><br><br>
<div id="options"></div>
<div id="dropdowns" style="text-align: center;"></div>
</div>
<div style="text-align: center;">
.vimrc code:<br>
<textarea type="text" id="output" cols="80" rows="10" value="" style="font-family:monospace;resize:none;" readonly></textarea>
</div>
<p style="text-align: center;">To see what colours your environment can use, run this command in vim <span style="font-family:monospace;">:run syntax/colortest.vim</span></p>
</div>
<br>
<footer style="text-align: center">
<a href="https://github.com/tomdaly/vim-statusline-generator">GitHub Source</a>
| <a href="http://tdaly.co.uk/posts/">tdaly.co.uk</a>
</footer>
<script src="Generator.js"></script>
<script src="DomInit.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</body>
</html>