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