style: extend main content when there is no right column
This commit is contained in:
parent
12b6119365
commit
eb2e79eac6
|
@ -666,6 +666,9 @@ form .submit-button, form .cancel-button, #rub_service form .submit-button, #rub
|
|||
#main-content {
|
||||
width: 62.5%;
|
||||
}
|
||||
#main-content.no-right-column {
|
||||
width: 81%;
|
||||
}
|
||||
#steps {
|
||||
width: 25%;
|
||||
}
|
||||
|
|
|
@ -101,6 +101,9 @@ class RemoteTemplate(object):
|
|||
template_content = template_content.replace('[if-any user-name][user-name][end]', user_name)
|
||||
template_content = template_content.replace(
|
||||
'[if-any right-column][right-column][end]', right_column)
|
||||
template_content = template_content.replace(
|
||||
'<div id="main-content">',
|
||||
'<div id="main-content" [if-any gauche][else]class="no-right-column[end]">')
|
||||
self.cache(template_content)
|
||||
return template_content
|
||||
|
||||
|
|
Reference in New Issue