Merge pull request #754 from emanuelschuetze/fixes-for-1.4c1

IE-Template fix and README/main.py updates.
This commit is contained in:
Oskar Hahn 2013-06-17 11:13:05 -07:00
commit 32771d946e
3 changed files with 35 additions and 21 deletions

View File

@ -57,29 +57,36 @@ Command line options
The following command line options are available:
-h, --help
Shows all options
Show this help message and exit.
-a, --address=ADDRESS
Changes the address on which the server will listen for connections
IP Address to listen on. Default: 0.0.0.0
-p PORT, --port=PORT
Changes the port on which the server will listen for connections
Port to listen on. Default: 8000 (start as admin/root: 80)
--syncdb
Creates/updates database before starting the server
Update/create database before starting the server.
--backupdb=BACKUP_PATH
Make a backup copy of the database to BACKUP_PATH.
--reset-admin
Resets the password to 'admin' for user 'admin'
Make sure the user 'admin' exists and uses 'admin' as
password.
-s SETTINGS, --settings=SETTINGS
Sets the path to the settings file.
--no-reload
Does not reload the development server
Set the path to the settings file.
--no-browser
Do not automatically start web browser.
--no-reload
Do not reload the web server.
--no-run
Do not start the web server.
--version
Show version and exit.
@ -100,6 +107,6 @@ Operating Systems (OpenSlides runs anywhere where Pyhton is running):
Browsers:
Firefox 3.6+
IE 7+
IE 8+
Chrome
Safari

View File

@ -84,29 +84,33 @@ def process_options(argv=None, manage_runserver=False):
parser = optparse.OptionParser(
description="Run openslides using the tornado webserver")
parser.add_option("-a", "--address", help="IP Address to listen on.")
parser.add_option("-p", "--port", type="int", help="Port to listen on.")
parser.add_option(
"-a", "--address",
help="IP Address to listen on. Default: 0.0.0.0")
parser.add_option(
"-p", "--port", type="int",
help="Port to listen on. Default: 8000 (start as admin/root: 80)")
parser.add_option(
"--syncdb", action="store_true",
help="Update/create database before starting the server.")
parser.add_option(
"--backupdb", action="store", metavar="BACKUP_PATH",
help="Make a backup copy of the database to BACKUP_PATH")
help="Make a backup copy of the database to BACKUP_PATH.")
parser.add_option(
"--reset-admin", action="store_true",
help="Make sure the user 'admin' exists and uses 'admin' as password.")
parser.add_option(
"-s", "--settings", help="Path to the openslides configuration.")
parser.add_option(
"--no-reload", action="store_true",
help="Do not reload the development server.")
"-s", "--settings", help="Set the path to the settings file.")
parser.add_option(
"--no-browser",
action="store_false", dest="start_browser", default=True,
help="Do not automatically start web browser.")
help="Do not automatically start the web browser.")
parser.add_option(
"--no-reload", action="store_true",
help="Do not reload the web server.")
parser.add_option(
"--no-run", action="store_true",
help="Do not start the development server.")
help="Do not start the web server.")
parser.add_option(
"--version", action="store_true",
help="Show version and exit.")

View File

@ -98,14 +98,17 @@
/* iframe */
#iframe {
width: 1024px;
height: 768px;
-moz-transform-origin: 0 0;
-webkit-transform-origin: 0 0;
-o-transform-origin: 0 0;
-moz-transform: scale(0.25);
-webkit-transform: scale(0.25);
-o-transform: scale(0.25);
width: 1024px;
height: 768px;
transform: scale(0.25);
/* IE8+ - must be on one line, unfortunately */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.25, M12=0, M21=0, M22=0.25, SizingMethod='auto expand')";
}
#iframewrapper {
width: 256px;