Skip to content

Commit

Permalink
better defaults and settings
Browse files Browse the repository at this point in the history
  • Loading branch information
evildmp committed Jun 23, 2011
1 parent a328052 commit ab21708
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 153 deletions.
28 changes: 20 additions & 8 deletions arkestra_utilities/settings.py
@@ -1,16 +1,26 @@
# For projects hosting the site of more than one entity
# *Don't* be tempted to change anything in this file.
# If you do need to change a setting, copy it to your project's settings
# file, and change it there; it'll override the setiing here.

# -------- Fundamental entity settings ----------------------

# ARKESTRA_BASE_ENTITY
# This is the only item you need to put safely in your project's settings file
#
# 1. copy this to arkestra_settings in your project folder
# 2. make sure it's correct
# 3. very rarely, you might have to change it to keep it correct

ARKESTRA_BASE_ENTITY = 1

# MULTIPLE_ENTITY_MODE is for projects hosting the site of more than one entity
# This does not necessarily entail a site for complex organisation,
# or for a number of different organisations - being able to redirect
# news and events items to particular entities for example requires
# MULTIPLE_ENTITY_MODE to be True

MULTIPLE_ENTITY_MODE = True

# 1. copy this to arkestra_settings
# 2. make sure it's correct

ARKESTRA_BASE_ENTITY = 1

# -------- News & Events ----------------------

# How many items should be displayed on main news & events pages,
Expand Down Expand Up @@ -45,10 +55,12 @@
# -------- Django CMS ----------------------

CMS_SEO_FIELDS = True
CMS_MENU_TITLE_OVERWRITE = True

# -------- Menus ----------------------

# Built in menu modifiers are in contacts_and_people.menu

MENU_MODIFIERS = {"ArkestraPages": ("contacts", "news",)}

# -------- Semantic editor ----------------------
Expand Down Expand Up @@ -88,6 +100,6 @@
#"{'name': 'Preview', 'title': 'Preview', 'css': 'wym_tools_preview'}",
])

# -------- what happens after login - why is this required? ----------------------
# -------- Django ----------------------

LOGIN_REDIRECT_URL = "/admin/"
LOGIN_REDIRECT_URL = "/admin/" #what happens after login - why is this required?
39 changes: 39 additions & 0 deletions arkestra_utilities/static/arkestra/css/arkestra_navigation.css
@@ -1,3 +1,42 @@
/* the default horizontal menu site navigation menu */

ul.menu {
padding: 0 0;
/*
top: 100px;
right: 50px ;
left: 50px; */
text-align: left ;
}

ul.menu ul {display: inline; text-align: right; float: right;}

li.menu_item {
display: inline;
width: 100%;
padding: 0;
margin-right: 0;
list-style-type: none;
font-family: Baskerville, "gill sans", "gill sans mt", "Trebuchet MS", sans-serif;
font-weight: normal;
font-variant: small-caps;
}

ul.menu ul li {padding-left: 1em;}

li.menu_item a {
text-decoration: none;
margin: 0;
padding: 0;
color: gray;
}

li.menu_item a:hover {
color: #f95011;
}

/* the default tab menu, as used for People and Places */

ul#tab_menu {
border-bottom: 7px solid #707070;
float:left;
Expand Down

0 comments on commit ab21708

Please sign in to comment.