This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@view_config(context=Page, name="edit", route_name="pages", permission="admin") | |
@view_config(context=Page, name="edit", route_name="pages_by_url", permission="admin") | |
def view_page_edit(context, request): | |
return Response("edit '%s'" % context.title) | |
# would be nice if... | |
@view_config(context=Page, name="edit", route_name="*", permission="admin") | |
def view_page_edit(context, request): | |
return Response("edit '%s'" % context.title) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
background-color: -moz-dialog; | |
} | |
body { | |
margin: 0; | |
overflow: auto; | |
font-family: Lucida Grande, sans-serif; | |
font-size: 11px; | |
border-top: 1px solid #BBB9BA; |