~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/conf/conf.py

  • Committer: Matt Giuca
  • Date: 2009-02-25 10:19:29 UTC
  • mfrom: (1100.1.35 new-ui)
  • Revision ID: matt.giuca@gmail.com-20090225101929-v2206kbf3lgkm1kz
*Spoiler warning: Plot or ending details follow*

Merged from new-ui branch.

IVLE top bar and top of filebrowser and console have all been made over. They
look very shiny and web 2.0!

Added image-source top-level directory with SVG source images.

Added new chrome images to ivle/webapp/coremedia/images.

Redid a lot CSS and HTML.
Every page now has an H1 at the top (common UI). Moved existing H1s to the top
of the page. Other H1s have been cleaned up (moved to H2s or restyled).
IVLE top bar has been majorly cleaned up (previously had many layered divs);
now more accessible.

Subject icon replaced with tutorial one.

The funeral for the tacky yellow and blue stylesheet will be held this Friday.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    'prefix': 'paths/prefix',
44
44
    'data_path': 'paths/data',
45
45
    'log_path': 'paths/logs',
 
46
    'python_site_packages_override': 'paths/site_packages',
46
47
    'public_host': 'urls/public_host',
47
48
    'db_host': 'database/host',
48
49
    'db_port': 'database/port',
57
58
    'usrmgt_host': 'usrmgt/host',
58
59
    'usrmgt_port': 'usrmgt/port',
59
60
    'usrmgt_magic': 'usrmgt/magic',
60
 
 
61
 
    # These two are only relevant inside the jail.
62
 
    'login': 'user_info/login',
63
 
    'svn_pass': 'user_info/svn_pass',
64
61
}
65
62
 
66
63
for legacyopt, newopt_path in CONFIG_OPTIONS.iteritems():
91
88
# Path where user-executable binaries are installed.
92
89
bin_path = os.path.join(prefix, 'bin')
93
90
 
 
91
# 'site-packages' directory in Python, where Python libraries are to be
 
92
# installed.
 
93
if python_site_packages_override is None:
 
94
    PYTHON_VERSION = sys.version[0:3]   # eg. "2.5"
 
95
    python_site_packages = os.path.join(prefix,
 
96
                               'lib/python%s/site-packages' % PYTHON_VERSION)
 
97
else:
 
98
    python_site_packages = python_site_packages_override
 
99
 
94
100
# In the local file system, where the student/user jails will be mounted.
95
101
# Only a single copy of the jail's system components will be stored here -
96
102
# all user jails will be virtually mounted here.
97
 
# XXX: Some jail code calls ivle.studpath.url_to_{local,jailpaths}, both
98
 
#      of which use jail_base. Note that they don't use the bits of the
99
 
#      return value that depend on jail_base, so it can be any string inside
100
 
#      the jail. The value computed here may be meaningless inside the jail,
101
 
#      but that's OK for now.
102
103
jail_base = os.path.join(data_path, 'jailmounts')
103
104
 
104
105
# In the local file system, where are the student/user file spaces located.