0001-style-fix-alignment-of-sidebar-search-buttons-12614.patch
wcs/backoffice/management.py | ||
---|---|---|
490 | 490 |
r += htmltext('<h3>%s</h3>' % _('Tracking Code')) |
491 | 491 |
r += htmltext('<form action="code">') |
492 | 492 |
r += htmltext('<input type="hidden" name="back" value="%s"/>') % back_place |
493 |
r += htmltext('<input size="12" name="code" pattern="[A-Za-z]{8}" placeholder="%s"/>' |
|
493 |
r += htmltext('<input class="inline-input" size="12" name="code" pattern="[A-Za-z]{8}" placeholder="%s"/>'
|
|
494 | 494 |
) % _('ex: RPQDFVCD') |
495 | 495 |
r += htmltext('<button>%s</button>') % _('Load') |
496 | 496 |
r += htmltext('</form>') |
... | ... | |
1019 | 1019 |
q = get_request().form.get('q') |
1020 | 1020 |
if type(q) is not unicode: |
1021 | 1021 |
q = unicode(q, get_publisher().site_charset) |
1022 |
r += htmltext('<input name="q" value="%s">') % q.encode(get_publisher().site_charset) |
|
1022 |
r += htmltext('<input class="inline-input" name="q" value="%s">') % q.encode(get_publisher().site_charset)
|
|
1023 | 1023 |
else: |
1024 |
r += htmltext('<input name="q">') |
|
1025 |
r += htmltext('<input type="submit" value="%s"/>') % _('Search') |
|
1024 |
r += htmltext('<input class="inline-input" name="q">')
|
|
1025 |
r += htmltext('<input type="submit" class="side-button" value="%s"/>') % _('Search')
|
|
1026 | 1026 | |
1027 | 1027 |
r += self.get_filter_sidebar(selected_filter=selected_filter) |
1028 | 1028 |
wcs/qommon/static/css/dc2/admin.css | ||
---|---|---|
561 | 561 |
color: #666; |
562 | 562 |
height: calc(100vh - 5em - 3em); |
563 | 563 |
overflow-y: auto; |
564 |
padding-left: 2px; |
|
564 | 565 |
} |
565 | 566 | |
566 | 567 |
div#sidebar select { |
... | ... | |
593 | 594 |
text-overflow: ellipsis; |
594 | 595 |
} |
595 | 596 | |
597 |
div#sidebar input.inline-input { |
|
598 |
margin-right: 1em; |
|
599 |
} |
|
600 | ||
601 |
div#sidebar input.side-button { |
|
602 |
margin-top: 0; |
|
603 |
} |
|
604 | ||
596 | 605 |
div#sidebar div.bo-block { |
597 | 606 |
margin-left: 0; |
598 | 607 |
margin-right: 0; |
599 |
- |