This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
morse-converter-web/index.html
2015-04-01 20:06:47 +02:00

42 lines
1.6 KiB
HTML

<html>
<head>
<title>Morse Converter</title>
<link rel="stylesheet" type="text/css" href="res/css/main.css" />
<script src="./res/js/jquery-2.1.3.min.js"></script>
<link rel="shortcut icon" href="./res/img/favicon.png" type="image/x-icon" />
<link rel="image_src" href="./res/img/favicon.png" />
</head>
<body>
<span class="actionbar">Morse Converter</span>
<div class="drawer">
<img src="res/img/drawergraphic.png" class="drawerimg"/>
<div class="draweritem">writtenMorse</div>
<div class="draweritem">Normal Morse</div>
<div class="drawerdivider"></div>
<div class="draweritem">About</div>
</div>
<div class="main">
<div class="card">
<textarea class="input" id="textarea">Enter your text.</textarea>
<div class="carddivider"></div>
<div class="cardbuttons">
<span class="cardbutton" onclick="getText()">ENCODE</span>
<span class="cardbutton">DECODE</span>
</div>
</div>
<div class="card" id="outputcard">
<div class="cardtext">
<span id="output"></span>
</div>
</div>
</div>
</body>
<script>
function getText(){
var input = $('#textarea').val()
$('#output').text(input)
$('#outputcard').fadeIn(100)
}
</script>
</html>