Commit 637f9ec2 authored by amandaghassaei's avatar amandaghassaei

mobile warning

parent 0241a918
......@@ -515,4 +515,20 @@ a.seeMore.closed>.fui-triangle-down{
object{
width:100%;
margin-bottom: 10px;
}
#aboutCorner{
display: none;
position: absolute;
z-index: 6;
top:0;
right:0;
background: rgba(40, 40, 40, 0.7);
width: 30px;
text-align: center;
color: white;
}
#noSupportModal{
text-align: center;
}
\ No newline at end of file
......@@ -4,6 +4,8 @@
<meta charset="UTF-8">
<title>Origami Simulator</title>
<meta name="viewport" content="width=device-width">
<link href="dependencies/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="dependencies/flat-ui.min.css"/>
<link rel="stylesheet" type="text/css" href="dependencies/jquery-ui.min.css"/>
......@@ -1856,5 +1858,6 @@
<div id="recordStatus">
<a href="#" id="stopRecord" class="btn btn-lg btn-danger">Stop Record <span></span></a>
</div>
<a href="#" id="aboutCorner">?</a>
</body>
</html>
\ No newline at end of file
......@@ -71,6 +71,9 @@ function initControls(globals){
setLink("#about", function(){
$('#aboutModal').modal('show');
});
setLink("#aboutCorner", function(){
$('#aboutModal').modal('show');
});
setLink("#tips", function(){
$('#tipsModal').modal('show');
});
......
......@@ -28,6 +28,7 @@ function initGPUMath(){
'</div>';
$(elm).appendTo($("body"));
$("#noSupportModal").modal("show");
$("#aboutCorner").show();
console.warn("floating point textures are not supported on your system");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment