Better layout of translating page

This commit is contained in:
Michal Čihař 2012-03-01 16:25:05 +01:00
parent 165d1a4887
commit f7fff97e26
2 changed files with 11 additions and 7 deletions

View File

@ -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 />

View File

@ -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%
}