Alpha release

This commit is contained in:
mmk2410 2015-04-16 23:55:24 +02:00
parent 954f57f221
commit 0e7a53c678
6 changed files with 19 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/res/css/.sass-cache /res/css/.sass-cache
/res/css/*.map /res/css/*.map
/screenshots/

View file

@ -2,4 +2,4 @@
A writtenMorse and normal Morse converter for the web A writtenMorse and normal Morse converter for the web
**This is in development - it won't work so far** **This is in an Alpha stage - use it on your own risk**

View file

@ -20,12 +20,14 @@
<body> <body>
<span class="actionbar"> <span class="actionbar">
<img src="./res/img/menu.svg" class="menuicon" onclick="drawer()"/> <img src="./res/img/menu.svg" class="menuicon" onclick="drawer()"/>
Morse Converter Morse Converter <span class="version">Alpha</span>
</span> </span>
<div class="drawer"> <div class="drawer">
<img src="res/img/drawergraphic.png" class="drawerimg"/> <img src="res/img/drawergraphic.png" class="drawerimg"/>
<div class="draweritem" onclick="writtenMorse()" id="writtenMorse">writtenMorse</div> <div class="draweritem" onclick="writtenMorse()" id="writtenMorse">writtenMorse</div>
<div class="draweritem" onclick="normalMorse()" id="normalMorse">Normal Morse</div> <div class="draweritem" onclick="normalMorse()" id="normalMorse">Normal Morse</div>
<div class="drawerdivider"></div>
<div class="draweritem" onclick="bug()">Report a Bug</div>
<div class="drawerdividerbottom"></div> <div class="drawerdividerbottom"></div>
<div class="draweritembottom" onclick="about()">About</div> <div class="draweritembottom" onclick="about()">About</div>
</div> </div>

View file

@ -60,6 +60,12 @@ function about(){
}) })
} }
function bug(){
$("body").fadeOut(dur, function callback(){
window.location = "https://github.com/mmk2410/morse-converter-web/issues"
})
}
window.onload = function() { window.onload = function() {
var t = document.getElementsByTagName('textarea')[0]; var t = document.getElementsByTagName('textarea')[0];
var offset= !window.opera ? (t.offsetHeight - t.clientHeight) : (t.offsetHeight + parseInt(window.getComputedStyle(t, null).getPropertyValue('border-top-width'))) ; var offset= !window.opera ? (t.offsetHeight - t.clientHeight) : (t.offsetHeight + parseInt(window.getComputedStyle(t, null).getPropertyValue('border-top-width'))) ;

View file

@ -138,6 +138,10 @@ body {
#writtenmorse { #writtenmorse {
color: #03a9f4; } color: #03a9f4; }
.version {
font-style: italic;
font-size: 20px; }
@media screen and (max-width: 1400px) { @media screen and (max-width: 1400px) {
.drawer { .drawer {
display: none; display: none;

View file

@ -159,6 +159,10 @@ body
#writtenmorse #writtenmorse
color: $primary-color color: $primary-color
.version
font-style: italic
font-size: 20px
@media screen and (max-width: 1400px) @media screen and (max-width: 1400px)
.drawer .drawer
display: none display: none