-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
201 lines (184 loc) · 12.9 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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!DOCTYPE html>
<html lang="en">
<head>
<title>Steam Review Editor - Edit and Preview in Realtime</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Steam Review Editor allows you to easily create and modify your reviews in real-time without having to manually apply steam markup tags. Simply type your review, hit "Copy to Clipboard", and paste it in Steam!">
<meta name="keywords" content="Steam, review, editor, markup, realtime, writing, responsive">
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon">
<!--Stylesheets-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.snow.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
<link rel="stylesheet" href="assets/style.min.css">
</head>
<body>
<!--Header section-->
<a class="github-fork-ribbon" href="https://github.com/dons20/Steam-Review-Editor" target="_blank" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
<div class="container-fluid">
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-4">Steam Review Editor</h1>
</div>
</div>
</div>
<!--Introductory banner div-->
<div id="help" class="container mb-5 fade">
<div class="row">
<div class="col tutorial">
<a id="closeBtn" class="btn bg-inverse" role="button" data-toggle="tooltip" data-animation="false" data-placement="right" title="Close"><i class="fa fa-lg fa-close" aria-hidden="true"></i></a>
<p>Steam Review Editor allows you to easily create and modify your reviews in real-time without having to manually apply steam markup tags. Simply type your review, hit "Copy to Clipboard", and paste it in Steam!</p>
</div>
</div>
</div>
<!-- Text Editor Window -->
<div id="editorWindow" class="container mb-5 p-0 fade">
<div id="toolbar">
<span class="ql-formats">
<select class="ql-header">
<option value="1"></option>
<option value="2"></option>
<option value="3"></option>
<option selected></option>
</select>
</span>
<span class="ql-formats">
<button class="ql-bold" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Bold"></button>
<button class="ql-italic" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Italics"></button>
<button class="ql-underline" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Underline"></button>
</span>
<span class="ql-formats">
<button class="ql-strike" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Strikethrough"></button>
<button class="ql-spoiler fa fa-lg fa-low-vision" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Spoiler"></button>
<button class="ql-blockquote" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Blockquote"></button>
<button class="ql-code" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="In-line ("No-parse") Text"></button>
<button class="ql-code-block" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Pre-formatted Text"></button>
<button class="ql-divider fa fa-lg fa-minus" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Divider"></button>
</span>
<span class="ql-formats">
<button class="ql-header" type="button" value="1" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Heading 1"></button>
<button class="ql-header" type="button" value="2" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Heading 2"></button>
<button class="ql-header" type="button" value="3" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Heading 3"></button>
</span>
<span class="ql-formats">
<button class="ql-list" type="button" value="ordered" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Ordered List"></button>
<button class="ql-list" type="button" value="bullet" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Bulleted List"></button>
</span>
<span class="ql-formats">
<button class="ql-clean" data-toggle="tooltip" data-animation="false" data-placement="bottom" title="Clear Formatting"></button>
</span>
</div>
<div id="editor">
</div>
</div>
<!--Show preview & Copy Markup Buttons-->
<div class="container fade">
<div class="row justify-content-md-center mb-4">
<div class="col-md-6">
<button id="showBtn" class="btn btn-block btn-primary" type="button" data-toggle="collapse" data-target="#previewCollapse">Show Preview</button>
</div>
</div>
<div class="row justify-content-md-center mb-5">
<div class="col-md-6">
<button id="copyBtn" class="btn btn-block btn-success" type="button" >Copy Markup to Clipboard</button>
</div>
</div>
</div>
<!--Keeps both preview areas hidden with a toggle-->
<div id="previewCollapse" class="collapse px-4 px-lg-5">
<div class="container-fluid">
<div class="row">
<div class="col-12 col-lg-6 mb-sm-3 mb-xl-0">
<div class="row">
<div class="col"><h1 class="lead brighter">Store Preview</h1></div>
</div>
<div class="my-review-container">
<div class="ml-2 ml-md-0 avatar-and-username">
<div class="user-avatar">
<span class="fa-stack fa-2x">
<i class="fa fa-square fa-stack-2x fa-inverse hide" aria-hidden="true"></i>
<i class="fa fa-question-circle fa-stack-1x" aria-hidden="true"></i>
</span>
</div>
<div class="username-and-review-count">
<span class="mb-0 pr-2 font-weight-bold name">Your Username</span>
<span class="px-2 px-md-0 review-count">1 review</span>
</div>
</div>
<div class="mb-3 mb-md-0 recommended-and-hours-on-record">
<div class="thumbs-up-icon">
<span class="fa-stack fa-2x">
<i class="fa fa-square fa-stack-2x fa-inverse hide" aria-hidden="true"></i>
<i class="fa fa-thumbs-up fa-stack-2x fa-flip-horizontal" aria-hidden="true"></i>
</span>
</div>
<div style="display: grid;">
<span class="mb-0 recommended">Recommended</span>
<span class="mb-0 hours">0.0 hrs on record</span>
</div>
</div>
<div class="ml-2 ml-md-0 mt-2 mb-1 pl-0 text-uppercase posted-date">
<span>Posted: <span class="current-date"></span></span>
</div>
<div class="col-12 ml-2 ml-md-0 p-0 preview-container">
<div class="preview pr-3 py-1" id="preview"></div>
</div>
</div>
</div>
<div class="col pt-3 pt-lg-0">
<div class="row">
<div class="col"><h1 class="lead brighter">Markup Preview</h1></div>
</div>
<pre id="markup" class="markup m-lg-0 p-3"></pre>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div id="changelogModal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Changelog Modal" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content p-3">
<h3>Latest Changes</h3>
<br />
<h5>Beta version 0.3 (30/07/2024) <span class="badge badge-success">New</span></h5>
<strong>Changes</strong>
<ul>
<li>We've added support for additional header tags as well as a horizontal divider</li>
<li>Spoiler tags now function like regular inline text. Use it just like bold, italics, etc!</li>
<li>Lots of bugfixes have been made for the markup preview</li>
<li>Refined the appearance of the store preview as well</li>
</ul>
<hr />
<em>Note: Going forward, this changelog will only have a change summary for the latest release. For a more detailed change history please check the <a href="https://github.com/dons20/steam-review-editor/releases" target="_blank">releases page</a>. Thank you!</em>
</div>
</div>
</div>
<!--Keeps the footer at the very bottom of the screen without sticky-->
<div class="push"></div>
<!--Social Links, License & Disclaimers-->
<footer id="footer" class="easy-footer fade">
<div class="container">
<a class="mr-2" href="http://twitter.com/kcinnovations" target="_none"><i data-toggle="tooltip" data-animation="false" data-placement="top" title="Twitter" class="fa fa-3x fa-twitter-square" aria-hidden="true"></i></a>
<a href="#changelogModal" role="button" data-toggle="modal"><i data-toggle="tooltip" data-animation="false" data-placement="top" title="Changelog" class="fa fa-3x fa-question" aria-hidden="true"></i></a>
<!--<button type="button" class="btn" data-toggle="modal" data-target="#changelogModal"><i class="fa fa-3x fa-question" aria-hidden="true"></i></button>-->
<p>Copyright © <script>document.write(Date().split` `[3])</script> Keno Clayton, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, Version 2.0</a>
<br>
This website is <strong>not</strong> associated with Valve Corporation</p>
</div>
</footer>
<!--Javascript-->
<!--Bootstrap 4-->
<script async src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script async src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
<script async src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.7/js/tether.min.js" integrity="sha512-X7kCKQJMwapt5FCOl2+ilyuHJp+6ISxFTVrx+nkrhgplZozodT9taV2GuGHxBgKKpOJZ4je77OuPooJg9FJLvw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<!--Font Awesome-->
<script async src="https://use.fontawesome.com/8be862904e.js"></script>
<!--Text Editor Quill-->
<script async src="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.min.js"></script>
<!--Local Scripts-->
<script async src="assets/scripts.min.js"></script>
</body>
</html>