TVJR/views/_index2.ejs

60 lines
1.4 KiB
Plaintext
Executable File

<!doctype html>
<html>
<head>
<title>Socket.IO chat</title>
<style>
</style>
<script src="https://code.jquery.com/jquery-1.11.1.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="static/script.js"></script>
<!--<script src="node_modules/trumbowyg/dist/trumbowyg.min.js"></script>
<link rel="stylesheet" href="node_modules/trumbowyg/dist/ui/trumbowyg.min.css">-->
<script>
/* $(document).ready(function() {
$('.com').summernote();
});*/
</script>
</head>
<body>
Zone cible <input id="zone">
<form action="">
<input type="hidden" class="lvl" value="1" />
Lvl 1 : <textarea class="com" name="editordata"></textarea><button>Send</button>
</form>
<form action="">
<input type="hidden" class="lvl" value="2" />
Lvl 2:<textarea class="com" name="editordata"></textarea><button>Send</button>
</form>
<form action="">
<input type="hidden" class="lvl" value="3" />
Lvl 3:<textarea class="com" name="editordata"></textarea><button>Send</button>
</form>
<button id="SendAll">Envoyer Tout</button><br/>
<iframe src="https://nodejs.adriy.be/mapsTest" style="width:100%;height:800px;"></iframe>
<script>
$('.com').tuiEditor({
initialEditType: 'markdown',
previewStyle: 'vertical',
height: '300px'
});
</script>
</body>
</html>