beautify html
This commit is contained in:
parent
b65bf920be
commit
d76069109b
169
index.html
169
index.html
|
@ -3,18 +3,24 @@
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||||
<title>Multiplayer Piano</title>
|
<title>Multiplayer Piano</title>
|
||||||
<meta name="description" content="An online piano you can play alone or with others in real-time. MIDI support, 88 keys, velocity sensitive. You can show off your skill or chat while listening to others play."/>
|
<meta
|
||||||
|
name="description"
|
||||||
|
content="An online piano you can play alone or with others in real-time. MIDI support, 88 keys, velocity sensitive. You can show off your skill or chat while listening to others play."
|
||||||
|
/>
|
||||||
<link rel="stylesheet" href="/screen.css" />
|
<link rel="stylesheet" href="/screen.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="social">
|
<div id="social">
|
||||||
<div id="more-button"></div>
|
<div id="more-button"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="chat">
|
<div id="chat">
|
||||||
<ul></ul>
|
<ul></ul>
|
||||||
<input placeholder="You can chat with this thing." class="translate" maxlength="512"/>
|
<input
|
||||||
|
placeholder="You can chat with this thing."
|
||||||
|
class="translate"
|
||||||
|
maxlength="512"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="room-notice"></div>
|
<div id="room-notice"></div>
|
||||||
|
@ -28,13 +34,23 @@
|
||||||
<noscript>
|
<noscript>
|
||||||
<center>
|
<center>
|
||||||
<p>
|
<p>
|
||||||
Multiplayer Piano is an online, full 88-key piano you can play alone or with others in real-time. Plug up your MIDI keyboard, MIDI in and out are supported. You should be able to hear some seriously talented piano players performing here! Join in or just chat and listen.
|
Multiplayer Piano is an online, full 88-key piano you can
|
||||||
|
play alone or with others in real-time. Plug up your MIDI
|
||||||
|
keyboard, MIDI in and out are supported. You should be able
|
||||||
|
to hear some seriously talented piano players performing
|
||||||
|
here! Join in or just chat and listen.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
For good performance, Chrome is highly recommended. Firefox also supports the requisite Web Audio API, but performance may not be as good. Chrome has Web MIDI.
|
For good performance, Chrome is highly recommended. Firefox
|
||||||
|
also supports the requisite Web Audio API, but performance
|
||||||
|
may not be as good. Chrome has Web MIDI.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Of course, first you need to <a href="http://www.enable-javascript.com/" class="link">Enable Javascript</a> or it won't do anything...!
|
Of course, first you need to
|
||||||
|
<a href="http://www.enable-javascript.com/" class="link"
|
||||||
|
>Enable Javascript</a
|
||||||
|
>
|
||||||
|
or it won't do anything...!
|
||||||
</p>
|
</p>
|
||||||
</center>
|
</center>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
@ -48,16 +64,32 @@
|
||||||
<div class="new translate">New Room...</div>
|
<div class="new translate">New Room...</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="new-room-btn" class="ugly-button translate">New Room...</div>
|
<div id="new-room-btn" class="ugly-button translate">
|
||||||
|
New Room...
|
||||||
|
</div>
|
||||||
<div id="play-alone-btn" class="ugly-button">Play Alone</div>
|
<div id="play-alone-btn" class="ugly-button">Play Alone</div>
|
||||||
<div id="room-settings-btn" class="ugly-button">Room Settings</div>
|
<div id="room-settings-btn" class="ugly-button">
|
||||||
<div id="midi-btn" class="ugly-button translate">MIDI In/Out</div>
|
Room Settings
|
||||||
<div id="record-btn" class="ugly-button translate">Record MP3</div>
|
</div>
|
||||||
|
<div id="midi-btn" class="ugly-button translate">
|
||||||
|
MIDI In/Out
|
||||||
|
</div>
|
||||||
|
<div id="record-btn" class="ugly-button translate">
|
||||||
|
Record MP3
|
||||||
|
</div>
|
||||||
<div id="synth-btn" class="ugly-button translate">Synth</div>
|
<div id="synth-btn" class="ugly-button translate">Synth</div>
|
||||||
<div id="sound-btn" class="ugly-button sound-btn">Sound Select</div>
|
<div id="sound-btn" class="ugly-button sound-btn">
|
||||||
|
Sound Select
|
||||||
|
</div>
|
||||||
<div id="status"></div>
|
<div id="status"></div>
|
||||||
<div id="volume">
|
<div id="volume">
|
||||||
<input type="range" id="volume-slider" min="0.0" max="1.0" step="0.01">
|
<input
|
||||||
|
type="range"
|
||||||
|
id="volume-slider"
|
||||||
|
min="0.0"
|
||||||
|
max="1.0"
|
||||||
|
step="0.01"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div id="volume-label">volume</div>
|
<div id="volume-label">volume</div>
|
||||||
<div id="quota">
|
<div id="quota">
|
||||||
|
@ -70,39 +102,122 @@
|
||||||
<div class="bg"></div>
|
<div class="bg"></div>
|
||||||
<div id="modals">
|
<div id="modals">
|
||||||
<div id="sound-warning" class="dialog">
|
<div id="sound-warning" class="dialog">
|
||||||
<p>This site makes a lot of sound! You may want to adjust the volume before continuing.</p>
|
<p>
|
||||||
|
This site makes a lot of sound! You may want to adjust
|
||||||
|
the volume before continuing.
|
||||||
|
</p>
|
||||||
<button class="submit">PLAY</button>
|
<button class="submit">PLAY</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="new-room" class="dialog">
|
<div id="new-room" class="dialog">
|
||||||
<p><input type="text" name="name" placeholder="room name" class="text translate" maxlength="512"/></p>
|
<p>
|
||||||
<p><label><input type="checkbox" name="visible" class="checkbox translate" checked>Visible (open to everyone)</label></p>
|
<input
|
||||||
</label></p>
|
type="text"
|
||||||
|
name="name"
|
||||||
|
placeholder="room name"
|
||||||
|
class="text translate"
|
||||||
|
maxlength="512"
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label
|
||||||
|
><input
|
||||||
|
type="checkbox"
|
||||||
|
name="visible"
|
||||||
|
class="checkbox translate"
|
||||||
|
checked
|
||||||
|
/>Visible (open to everyone)</label
|
||||||
|
>
|
||||||
|
</p>
|
||||||
<button class="submit">go</button>
|
<button class="submit">go</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="room-settings" class="dialog">
|
<div id="room-settings" class="dialog">
|
||||||
<p><div class="ugly-button drop-crown">Drop crown</div></p>
|
<div class="ugly-button drop-crown">Drop crown</div>
|
||||||
<p><label><input type="checkbox" name="visible" class="checkbox translate" checked>Visible (open to everyone)</label></p>
|
<p>
|
||||||
</label></p>
|
<label
|
||||||
<p><label><input type="checkbox" name="chat" class="checkbox translate" checked>Enable Chat</label></p>
|
><input
|
||||||
<p><label><input type="checkbox" name="crownsolo" class="checkbox">Only Owner can Play<button class="submit">APPLY</button>
|
type="checkbox"
|
||||||
<p><label>Background color: <input type="color" name="color" placeholder="" maxlength="7" class="color"></label></p>
|
name="visible"
|
||||||
|
class="checkbox translate"
|
||||||
|
checked
|
||||||
|
/>Visible (open to everyone)</label
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label
|
||||||
|
><input
|
||||||
|
type="checkbox"
|
||||||
|
name="chat"
|
||||||
|
class="checkbox translate"
|
||||||
|
checked
|
||||||
|
/>Enable Chat</label
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label
|
||||||
|
><input
|
||||||
|
type="checkbox"
|
||||||
|
name="crownsolo"
|
||||||
|
class="checkbox"
|
||||||
|
/>Only Owner can Play</label
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
<button class="submit">APPLY</button>
|
||||||
|
<p>
|
||||||
|
<label
|
||||||
|
>Background color: <input
|
||||||
|
type="color"
|
||||||
|
name="color"
|
||||||
|
placeholder=""
|
||||||
|
maxlength="7"
|
||||||
|
class="color"
|
||||||
|
/></label>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="rename" class="dialog">
|
<div id="rename" class="dialog">
|
||||||
<p><input type="text" name="name" placeholder="My Fancy New Name" maxlength="40" class="text"/></p>
|
<p>
|
||||||
<!--<p><input type="color" name="color" placeholder="" maxlength="7" class="color"/></p>-->
|
<input
|
||||||
|
type="text"
|
||||||
|
name="name"
|
||||||
|
placeholder="My Fancy New Name"
|
||||||
|
maxlength="40"
|
||||||
|
class="text"
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
{% if usersConfig.enableColorChanging %}
|
||||||
|
<p>
|
||||||
|
<input
|
||||||
|
type="color"
|
||||||
|
name="color"
|
||||||
|
placeholder=""
|
||||||
|
maxlength="7"
|
||||||
|
class="color"
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
<button class="submit">USER SET</button>
|
<button class="submit">USER SET</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="more">
|
<div id="more">
|
||||||
<div class="header">
|
<div class="header"></div>
|
||||||
</div>
|
|
||||||
<div class="items"></div>
|
<div class="items"></div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
Keep looking here for the eventual appearance of a blog, help guide, etc. Also there are unofficial (community-run) <a href="https://web.archive.org/web/20150323065452/http://www.reddit.com/r/multiplayerpiano">subreddit</a> and <a href="https://web.archive.org/web/20150323065452/http://www.youtube.com/MultiplayerPiano">youtube</a> pages. Thanks!
|
Keep looking here for the eventual appearance of a blog,
|
||||||
|
help guide, etc. Also there are unofficial
|
||||||
|
(community-run)
|
||||||
|
<a href="http://www.reddit.com/r/multiplayerpiano"
|
||||||
|
>subreddit</a
|
||||||
|
>
|
||||||
|
and
|
||||||
|
<a href="http://www.youtube.com/MultiplayerPiano"
|
||||||
|
>youtube</a
|
||||||
|
>
|
||||||
|
pages. Thanks!
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="config" style="display: none">{{base64config}}</div>
|
||||||
|
|
||||||
<script src="/jquery.min.js"></script>
|
<script src="/jquery.min.js"></script>
|
||||||
<script src="/util.js"></script>
|
<script src="/util.js"></script>
|
||||||
<script src="/Client.js"></script>
|
<script src="/Client.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue