0001-backoffice-add-link-to-switch-from-global-view-to-fo.patch
wcs/backoffice/management.py | ||
---|---|---|
755 | 755 |
get_response().filter['sidebar'] = self.get_global_listing_sidebar( |
756 | 756 |
limit=limit, offset=offset, order_by=order_by) |
757 | 757 |
rt = TemplateIO(html=True) |
758 |
rt += htmltext('<div class="top-title">') |
|
758 | 759 |
rt += htmltext('<h2>%s</h2>') % _('Global View') |
760 |
rt += htmltext('<div class="alt-views">') |
|
761 |
rt += htmltext('<a href=".">%s</a>') % _('Forms View') |
|
762 |
rt += htmltext('</div>') |
|
763 |
rt += htmltext('</div>') |
|
759 | 764 |
rt += get_session().display_message() |
760 | 765 |
rt += r.getvalue() |
761 | 766 |
r = rt |
wcs/qommon/static/css/dc2/admin.css | ||
---|---|---|
586 | 586 |
margin: 0; |
587 | 587 |
} |
588 | 588 | |
589 |
.top-title h2 { |
|
590 |
font-size: 200%; |
|
591 |
margin: 0; |
|
592 |
} |
|
593 | ||
594 |
.top-title { |
|
595 |
position: relative; |
|
596 |
background: #fcfcfc; |
|
597 |
padding: 1.5rem 1rem 1rem 1rem; |
|
598 |
border: 1px solid #bcbcbc; |
|
599 |
margin-bottom: -1px; |
|
600 |
margin-top: 0.5ex; |
|
601 |
} |
|
602 | ||
603 |
div.alt-views { |
|
604 |
position: absolute; |
|
605 |
right: 1rem; |
|
606 |
top: 2.5rem; |
|
607 |
} |
|
608 | ||
589 | 609 |
div.bo-block ul.biglist li { |
590 | 610 |
border-width: 1px 0 0 0; |
591 | 611 |
border-color: #e4e4e4; |
592 |
- |