Show More
@@ -86,8 +86,8 b' class SimpleHg(object):' | |||
|
86 | 86 | except: |
|
87 | 87 | log.error(traceback.format_exc()) |
|
88 | 88 | return HTTPInternalServerError()(environ, start_response) |
|
89 | ||
|
89 | 90 | #check permissions for this repository |
|
90 | ||
|
91 | 91 | if action == 'push': |
|
92 | 92 | if not HasPermissionAnyMiddleware('repository.write', |
|
93 | 93 | 'repository.admin')\ |
@@ -95,6 +95,7 b' class SimpleHg(object):' | |||
|
95 | 95 | return HTTPForbidden()(environ, start_response) |
|
96 | 96 | |
|
97 | 97 | else: |
|
98 | #any other action need at least read permission | |
|
98 | 99 | if not HasPermissionAnyMiddleware('repository.read', |
|
99 | 100 | 'repository.write', |
|
100 | 101 | 'repository.admin')\ |
@@ -357,7 +357,6 b' padding:0;' | |||
|
357 | 357 | max-height:275px; |
|
358 | 358 | overflow-x:hidden; |
|
359 | 359 | overflow-y:auto; |
|
360 | white-space:nowrap; | |
|
361 | 360 | } |
|
362 | 361 | |
|
363 | 362 | #header #header-inner #quick li ul li { |
@@ -1442,7 +1441,7 b' padding:0 30px;' | |||
|
1442 | 1441 | } |
|
1443 | 1442 | |
|
1444 | 1443 | #footer p { |
|
1445 |
background:n |
|
|
1444 | background:url("../images/header_inner.png") repeat-x scroll 0 0 #003367; | |
|
1446 | 1445 | color:#FFF; |
|
1447 | 1446 | font-weight:700; |
|
1448 | 1447 | padding:15px 25px 15px 0; |
@@ -2150,10 +2149,10 b' min-width:1224px;' | |||
|
2150 | 2149 | } |
|
2151 | 2150 | |
|
2152 | 2151 | #content { |
|
2153 |
min-height: |
|
|
2152 | min-height:85%; | |
|
2154 | 2153 | clear:both; |
|
2155 | 2154 | overflow:hidden; |
|
2156 |
padding:1 |
|
|
2155 | padding:14px 30px; | |
|
2157 | 2156 | } |
|
2158 | 2157 | |
|
2159 | 2158 | #content div.box div.title div.search { |
General Comments 0
You need to be logged in to leave comments.
Login now