Nicer navigation bar
This commit is contained in:
parent
deb5cae7ce
commit
5780bfae83
@ -16,8 +16,10 @@
|
|||||||
<h2>{% trans "Translate" %}</h2>
|
<h2>{% trans "Translate" %}</h2>
|
||||||
|
|
||||||
<p>{% blocktrans with unit.position as position %}Showing string {{ position }} out of {{ total }}.{% endblocktrans %}
|
<p>{% blocktrans with unit.position as position %}Showing string {{ position }} out of {{ total }}.{% endblocktrans %}
|
||||||
|
<span class="navi">
|
||||||
<a class="button-prev" href="{{ unit.translation.get_translate_url }}?type={{ type }}&oldpos={{ unit.position }}&dir=back">{% trans "Previous" %}</a>
|
<a class="button-prev" href="{{ unit.translation.get_translate_url }}?type={{ type }}&oldpos={{ unit.position }}&dir=back">{% trans "Previous" %}</a>
|
||||||
<a class="button-next" href="{{ unit.translation.get_translate_url }}?type={{ type }}&oldpos={{ unit.position }}">{% trans "Next" %}</a>
|
<a class="button-next" href="{{ unit.translation.get_translate_url }}?type={{ type }}&oldpos={{ unit.position }}">{% trans "Next" %}</a>
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<form action="{{ unit.translation.get_translate_url }}" method="post">
|
<form action="{{ unit.translation.get_translate_url }}" method="post">
|
||||||
|
@ -4,8 +4,9 @@ $(document).ready(function(){
|
|||||||
$('ul.breadcums').buttonset();
|
$('ul.breadcums').buttonset();
|
||||||
$('.sug-accept').button({text: false, icons: { primary: "ui-icon-check" }});
|
$('.sug-accept').button({text: false, icons: { primary: "ui-icon-check" }});
|
||||||
$('.sug-delete').button({text: false, icons: { primary: "ui-icon-close" }});
|
$('.sug-delete').button({text: false, icons: { primary: "ui-icon-close" }});
|
||||||
$('.button-next').button({text: false, icons: { primary: "ui-icon-triangle-1-e" }});
|
$('.navi').buttonset();
|
||||||
$('.button-prev').button({text: false, icons: { primary: "ui-icon-triangle-1-w" }});
|
$('.button-next').button({text: false, icons: { primary: "ui-icon-seek-next" }});
|
||||||
|
$('.button-prev').button({text: false, icons: { primary: "ui-icon-seek-prev" }});
|
||||||
$('#id_target').change(function f() {$('#id_fuzzy').attr('checked', false);}).focus();
|
$('#id_target').change(function f() {$('#id_fuzzy').attr('checked', false);}).focus();
|
||||||
$('#copy-text').button({text: false, icons: { primary: "ui-icon-arrowthick-1-s" }}).click(function f() {
|
$('#copy-text').button({text: false, icons: { primary: "ui-icon-arrowthick-1-s" }}).click(function f() {
|
||||||
$.get("/js/get/" + $('#id_checksum').attr('value') + '/', function(data) {
|
$.get("/js/get/" + $('#id_checksum').attr('value') + '/', function(data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user