summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorGravatarGravatar R. Belmont <rb6502@users.noreply.github.com>2013-09-20 03:20:28 +0000
committerGravatarGravatar R. Belmont <rb6502@users.noreply.github.com>2013-09-20 03:20:28 +0000
commit3abb78edd2cb5c19821cc4a00dfae25924ae87e5 (patch) (github)
tree3ee4c0f84a78f118af73c24092db6e306d565e75 /web
parent894c6f0b55989c41987beb4f1a76aeec39005597 (diff)
downloadmame-3abb78edd2cb5c19821cc4a00dfae25924ae87e5.tar.bz2
mame-3abb78edd2cb5c19821cc4a00dfae25924ae87e5.zip
web: Fix rendering issues on WebKit-based phones in portrait mode, added pause/unpause toggle. [Firehawke]
Diffstat (limited to 'web')
-rw-r--r--web/commands.html1
-rw-r--r--web/index.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/web/commands.html b/web/commands.html
index 1a38f257688..53fb2a3f7fe 100644
--- a/web/commands.html
+++ b/web/commands.html
@@ -1,3 +1,4 @@
+<a href="javascript:executeCommands('togglepause');" data-role="button">Toggle Pause</a>
<a href="javascript:executeCommands('softreset');" data-role="button">Soft reset</a>
<a href="javascript:executeCommands('hardreset');" data-role="button">Hard reset</a>
<a href="javascript:executeCommands('exit');" data-role="button">Exit</a>
diff --git a/web/index.html b/web/index.html
index b4ff6e7d4c2..f315485b1ef 100644
--- a/web/index.html
+++ b/web/index.html
@@ -123,8 +123,8 @@
<!-- Home -->
<div data-role="page" id="page1">
<div data-theme="a" data-role="header">
- <div style="width: 320px; height: 120px; position: relative;">
- <img src="images/logo-mame-small.png" alt="image" style="position: absolute; top: 50%; left: 50%; margin-left: 0px; margin-top: -50px">
+ <div style="width: 100%; height: 120px; position: relative;">
+ <img src="images/logo-mame-small.png" alt="image" style="position: absolute; top: 50%; left: 50%; margin-left: -158px; margin-top: -50px">
</div>
<a data-role="button" href="#page1" data-icon="home" data-iconpos="left" class="ui-btn-right">Home </a>
<div data-role="navbar" data-iconpos="top">