Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title id="header-title">Ideas - Logic Tools</title>
<meta name="description" content="">
<meta name="viewport" content="width=1020">

<link rel="stylesheet" href="css/main.css">
<script type="module" src="main.bundle.js" type="text/javascript"></script>
Expand All @@ -29,6 +28,14 @@
<ul class="nav" id="myTabs" style="border-bottom: 1px solid #ddd; background-color: #fff"></ul>

<div class="container" style="padding-top: 25px; padding-bottom: 25px">
<div class="row" id="no-mobile-alert-container" style="display: none">
<div class="alert alert-warning col-12 alert-dismissable" id="no-mobile-alert" role="alert">
<span translate-key="main.noMobile"></span>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="tab-content" id="tab-container"></div>
Expand Down
1 change: 0 additions & 1 deletion src/html/oneway.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Ideas - Conjunctive Normal Form</title>
<meta name="description" content="">
<!-- <meta name="viewport" content="width=1020"> -->

<script src="oneWay.bundle.js" type="text/javascript"></script>

Expand Down
1 change: 0 additions & 1 deletion src/html/onewaysolution.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Ideas - Solution</title>
<meta name="description" content="solution">
<meta name="viewport" content="width=1020">

<link rel="stylesheet" href="css/ideas.css">
</head>
Expand Down
1 change: 0 additions & 1 deletion src/html/twoway.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Ideas - LogEX</title>
<meta name="description" content="">
<meta name="viewport" content="width=1020">

<script src="twoWay.bundle.js" type="text/javascript"></script>

Expand Down
1 change: 0 additions & 1 deletion src/html/twowaysolution.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Ideas - Solution</title>
<meta name="description" content="solution">
<meta name="viewport" content="width=1020">

<link rel="stylesheet" href="css/ideas.css">
</head>
Expand Down
5 changes: 5 additions & 0 deletions src/js/controller/mainFrameController.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ class MainFrameController {

document.getElementById(`fra-${tool.code}`).onload = () => { translateChildren(document.getElementById(`fra-${tool.code}`).contentWindow.document) }
}

// No mobile alert
if (window.innerWidth < 990) {
document.getElementById('no-mobile-alert-container').style.display = ''
}
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
"title": "Proving with Structural Induction"
},
"main": {
"noMobile": "This tool is not optimized for use on screens with a limited width.",
"tabTitle": {
"cnf": "Conjunctive Normal Form",
"dnf": "Disjunctive Normal Form",
Expand Down
1 change: 1 addition & 0 deletions src/lang/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
"title": "Bewijzen met volledige inductie"
},
"main": {
"noMobile": "Dit programma is niet geoptimaliseerd voor beeldschermen met een beperkte breedte.",
"tabTitle": {
"cnf": "Conjunctieve Normaalvorm",
"dnf": "Disjunctieve Normaalvorm",
Expand Down