Better layout of translating page
This commit is contained in:
parent
165d1a4887
commit
f7fff97e26
@ -24,11 +24,11 @@
|
||||
<table class="translator">
|
||||
<tr>
|
||||
<th class="source">{% trans "Source" %}</th>
|
||||
<th>{% if unit.is_plural %}{% trans "Translations" %}{% else %}{% trans "Translation" %}{% endif %}<th>
|
||||
<td class="translatetext">{{ unit.source|fmttranslation }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="translatetext">{{ unit.source|fmttranslation }}</td>
|
||||
<td>
|
||||
<th>{% if unit.is_plural %}{% trans "Translations" %}{% else %}{% trans "Translation" %}{% endif %}</th>
|
||||
<td class="translator">
|
||||
{{ form.checksum }}
|
||||
{{ form.target }}
|
||||
<br />
|
||||
|
@ -27,10 +27,6 @@ ul.footer li{
|
||||
ul.footer a{
|
||||
color:#333;
|
||||
}
|
||||
table.translator th.source {
|
||||
width: 30em;
|
||||
max-width: 50%;
|
||||
}
|
||||
h1 {
|
||||
padding: 0.5em;
|
||||
margin: 0;
|
||||
@ -65,3 +61,11 @@ ul.breadcums li {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
td.translator {
|
||||
width: 60em;
|
||||
max-width: 50%;
|
||||
}
|
||||
td.translator textarea {
|
||||
width: 100%
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user