1
0
Fork 0
mirror of https://gitlab.com/Oreolek/salet-playground.git synced 2024-05-20 01:48:30 +03:00
salet-playground/index.html

146 lines
6 KiB
HTML
Raw Normal View History

2015-01-28 07:35:57 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2017-02-22 08:30:25 +02:00
<title>Salet playground</title>
<!-- Bootstrap Latest compiled and minified CSS -->
2015-01-28 07:35:57 +02:00
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!-- Bootstrap Optional theme -->
2015-01-28 07:35:57 +02:00
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
<!-- JSTinker Style -->
<link rel="stylesheet" href="css/jstinker.css" type="text/css">
2015-01-28 07:35:57 +02:00
</head>
<body>
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#toolbar">
<span class="sr-only">Toggle toolbar</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
2017-02-22 08:30:25 +02:00
<a class="navbar-brand" href="#"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Salet playground</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="toolbar">
<ul class="nav navbar-nav">
<li id="btnRun"><a href=""><span class="glyphicon glyphicon-play" aria-hidden="true"></span> Run</a></li>
<li id="btnTidyUp"><a href=""><span class="glyphicon glyphicon-flash" aria-hidden="true"></span> TidyUp</a></li>
<li id="btnTogether"><a href=""><span class="glyphicon glyphicon-star-empty" aria-hidden="true"></span> Collaborate</button></li>
</ul>
</div><!-- /.navbar-collapse -->
</nav>
<!-- Sidebar -->
<div id="sidebar">
2017-02-22 08:30:25 +02:00
<div class="panel-body">
<p>You write in HTML, SCSS and CoffeeScript. Press Run to play your game.</p>
<h4>Legal and Credits</h4>
<p>Original JSTinker by <a title="John's homepage" href="http://johncipponeri.github.io/">John Cipponeri</a>.</p>
<p>CSS Design by <a title="Gianni's Twitter" href="https://twitter.com/Hazulu">@Hazulu</a></p>
<p>Salet is MIT license.</p>
<p>You own what you write. The code that runs here belongs to you only.</p>
<p>The code is not saved anywhere. We are not responsible for any loss.</p>
<h4>Links</h4>
<p><a href="https://salet.su">Salet website</a></p>
</div>
</div><!-- /sidebar -->
<div class="editors">
<div class="top">
<!-- HTML Editor -->
<div class="editorContainer">
2017-02-22 08:30:25 +02:00
<div class="editor" id="html-editor">&lt;div id="page"&gt;
&lt;div class="fixed container"&gt;
&lt;div id="tools_wrapper" class="row"&gt;
&lt;div class='ways'&gt;
&lt;ul class="nav nav-pills" id="ways"&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class="buttons"&gt;
&lt;button id="night" class="btn btn-outline-primary"&gt;Night mode&lt;/button&gt;
&lt;button id="erase" class="btn btn-outline-danger">Restart&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt; &lt;!-- End of div.tools_wrapper --&gt;
&lt;/div&gt;
&lt;div class="container"&gt;
&lt;div id="content_wrapper" class="row"&gt;
&lt;div id="content" class="content"&gt;&lt;/div&gt;
&lt;a name="end_of_content"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt; &lt;!-- End of div.page --&gt;</div>
</div>
<!-- CSS EDitor -->
<div class="editorContainer">
2017-02-22 08:30:25 +02:00
<div class="editor" id="css-editor">
</div>
</div>
</div>
<div class="bottom">
<!-- JS Editor -->
<div class="editorContainer">
2017-02-22 08:30:25 +02:00
<div class="editor" id="js-editor">
</div>
</div>
<!-- Preview -->
<div class="editorContainer">
2017-02-22 08:30:25 +02:00
<iframe class="editor" id="preview" name="result" frameborder="0">
#document
</iframe>
</div>
</div>
</div>
</div>
2017-02-22 08:30:25 +02:00
<!-- Latest jQuery from Google CDN -->
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<!-- Crypto JS -->
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js"></script>
<!-- Beautify Web - HTML, CSS, JS -->
<script src="js/beautify-web/beautify-html.js"></script>
<script src="js/beautify-web/beautify-css.js"></script>
<script src="js/beautify-web/beautify.js"></script>
<!-- Ace Editor -->
<script src="js/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="js/ace/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>
<!-- Together -->
<script src="https://togetherjs.com/togetherjs-min.js"></script>
<!-- SASS and CoffeeScript -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/coffee-script/1.12.4/coffee-script.min.js' type='text/javascript'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/sass.js/0.10.3/sass.min.js' type='text/javascript'></script>
<!-- JSTinker Scripts -->
<script src="js/jstinker.js"></script>
<!-- Set Editor Modes -->
2015-01-28 07:35:57 +02:00
<script>
ace.require("ace/ext/language_tools");
2015-01-28 07:35:57 +02:00
var htmlEditor = ace.edit("html-editor");
htmlEditor.setTheme("ace/theme/crimson-editor");
htmlEditor.getSession().setMode("ace/mode/html");
htmlEditor.setOptions({
enableBasicAutocompletion: true
});
2015-01-28 07:35:57 +02:00
var cssEditor = ace.edit("css-editor");
cssEditor.setTheme("ace/theme/crimson-editor");
cssEditor.getSession().setMode("ace/mode/css");
cssEditor.setOptions({
enableBasicAutocompletion: true
});
2015-01-28 07:35:57 +02:00
var jsEditor = ace.edit("js-editor");
jsEditor.setTheme("ace/theme/crimson-editor");
jsEditor.getSession().setMode("ace/mode/javascript");
jsEditor.setOptions({
enableBasicAutocompletion: true
});
2015-01-28 07:35:57 +02:00
</script>
2015-01-28 07:35:57 +02:00
</body>
</html>