Force a zero pixel margin on the <body> tag. Without this change, ShellInABox

would occasionally think that it was in "embedded" mode, whenever the user
applied a scaling factor (e.g. by pressing CTRL-Minus).


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@217 0da03de8-d603-11dd-86c2-0f8696b7b6f9
This commit is contained in:
zodiac@gmail.com 2010-09-02 23:42:42 +00:00
parent e8c241583d
commit 4db3ed8797
8 changed files with 18 additions and 8 deletions

View file

@ -153,7 +153,7 @@
#define STDC_HEADERS 1
/* Most recent revision number in the version control system */
#define VCS_REVISION "216"
#define VCS_REVISION "217"
/* Version number of package */
#define VERSION "2.10"

2
configure vendored
View file

@ -2328,7 +2328,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
VCS_REVISION=216
VCS_REVISION=217
cat >>confdefs.h <<_ACEOF

View file

@ -2,7 +2,7 @@ AC_PREREQ(2.57)
dnl This is the one location where the authoritative version number is stored
AC_INIT(shellinabox, 2.10, markus@shellinabox.com)
VCS_REVISION=216
VCS_REVISION=217
AC_SUBST(VCS_REVISION)
AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
[Most recent revision number in the version control system])

View file

@ -4,7 +4,7 @@
<head>
<!--
ShellInABox - Make command line applications available as AJAX web applications
Copyright (C) 2008-2009 Markus Gutschke markus@shellinabox.com
Copyright (C) 2008-2010 Markus Gutschke markus@shellinabox.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
@ -49,6 +49,11 @@
-->
<title>Shell In A Box</title>
<link rel="stylesheet" href="styles.css" type="text/css">
<style type="text/css">
body {
margin: 0px;
}
</style>
<script type="text/javascript"><!--
// We would like to hide overflowing lines as this can lead to
// visually jarring results if the browser substitutes oversized

View file

@ -1962,7 +1962,7 @@ VT100.prototype.toggleCursorBlinking = function() {
};
VT100.prototype.about = function() {
alert("VT100 Terminal Emulator " + "2.10 (revision 216)" +
alert("VT100 Terminal Emulator " + "2.10 (revision 217)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};

View file

@ -4,7 +4,7 @@
<head>
<!--
ShellInABox - Make command line applications available as AJAX web applications
Copyright (C) 2008-2009 Markus Gutschke markus@shellinabox.com
Copyright (C) 2008-2010 Markus Gutschke markus@shellinabox.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
@ -77,6 +77,11 @@
})();
--></script>
<link rel="stylesheet" href="styles.css" type="text/css">
<style type="text/css">
body {
margin: 0px;
}
</style>
<script type="text/javascript"><!--
(function() {
// We would like to hide overflowing lines as this can lead to

View file

@ -358,7 +358,7 @@ ShellInABox.prototype.extendContextMenu = function(entries, actions) {
};
ShellInABox.prototype.about = function() {
alert("Shell In A Box version " + "2.10 (revision 216)" +
alert("Shell In A Box version " + "2.10 (revision 217)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com" +
(typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?

View file

@ -1962,7 +1962,7 @@ VT100.prototype.toggleCursorBlinking = function() {
};
VT100.prototype.about = function() {
alert("VT100 Terminal Emulator " + "2.10 (revision 216)" +
alert("VT100 Terminal Emulator " + "2.10 (revision 217)" +
"\nCopyright 2008-2010 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};