-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from mendix/device-previews
Added phone/tablet preview & small bug fixes
- Loading branch information
Showing
15 changed files
with
195 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Mendix - Phone preview</title> | ||
<link rel="stylesheet" type="text/css" href="styles/css/lib/lib.css?{{cachebust}}"> | ||
</head> | ||
|
||
<body> | ||
<div class="content"> | ||
<div class="devicephone"> | ||
<div class="deviceshadowwrapper"> | ||
<iframe id="frame" class="deviceframe"></iframe> | ||
<div class="deviceshadow"></div> | ||
</div> | ||
<div class="devicedisclaimer"> | ||
This is not a simulator but just a resized view surrounded with an image to give an impression of what the app might look like on a phone. | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
// Firefox does not add a history item if the page is not loaded | ||
// from the cache, and the src is set as attribute on the iframe | ||
document.getElementById("frame").src = "index.html" + window.location.search + window.location.hash; | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Mendix - Tablet preview</title> | ||
<link rel="stylesheet" type="text/css" href="styles/css/lib/lib.css?{{cachebust}}"> | ||
</head> | ||
|
||
<body> | ||
<div class="content"> | ||
<div class="devicetablet"> | ||
<iframe id="frame" class="deviceframe"></iframe> | ||
<div class="devicedisclaimer"> | ||
This is not a simulator but just a resized view surrounded with an image to give an impression of what the app might look like on a tablet. | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
// Firefox does not add a history item if the page is not loaded | ||
// from the cache, and the src is set as attribute on the iframe | ||
document.getElementById("frame").src = "index.html" + window.location.search + window.location.hash; | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.