forgot to add trans.html
This commit is contained in:
parent
450ff5ae61
commit
b8bafb4d08
31
manifests/templates/trans.html
Normal file
31
manifests/templates/trans.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="/media/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/media/js/trans.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var trans = {
|
||||
model: '{{ model }}',
|
||||
field: '{{ field }}'
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<table>
|
||||
{% for v in values %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ v.string }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" data-id="{{ v.id }}" data-original="{{ v.translation }}" value="{{ v.translation }}" class="transInput" size="100" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user