use different arrow for paginated box widget (#1431)

This commit is contained in:
Philipp Strobel
2020-02-10 22:16:16 +01:00
committed by GitHub
parent 52c7437076
commit 847798eec1
6 changed files with 9 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ export default class KimaiPaginatedBoxWidget {
this.widget.on('click', '.box-tools a', function (event) { this.widget.on('click', '.box-tools a', function (event) {
event.preventDefault(); event.preventDefault();
self.loadPage(jQuery(event.target).attr('href')); self.loadPage(jQuery(event.currentTarget).attr('href'));
}); });
} }

File diff suppressed because one or more lines are too long

View File

@@ -5,7 +5,7 @@
"build/runtime.664a9501.js", "build/runtime.664a9501.js",
"build/0.f7fae2b9.js", "build/0.f7fae2b9.js",
"build/1.c24a9c6f.js", "build/1.c24a9c6f.js",
"build/app.9c136e43.js" "build/app.5e068aae.js"
], ],
"css": [ "css": [
"build/app.2bde4971.css" "build/app.2bde4971.css"
@@ -35,7 +35,7 @@
"build/runtime.664a9501.js": "sha384-xNNrNinl64G3nCUrIskgSjU0mUXXCB9lj6XCSInBTwxSKXk8uTMafnLHtdWdIGtd", "build/runtime.664a9501.js": "sha384-xNNrNinl64G3nCUrIskgSjU0mUXXCB9lj6XCSInBTwxSKXk8uTMafnLHtdWdIGtd",
"build/0.f7fae2b9.js": "sha384-DR5A41RIECdWBd6xODR0b1hvGqcEYUyn9vNPreqK9VOCQWTF6bgxB4RVmqlOKilT", "build/0.f7fae2b9.js": "sha384-DR5A41RIECdWBd6xODR0b1hvGqcEYUyn9vNPreqK9VOCQWTF6bgxB4RVmqlOKilT",
"build/1.c24a9c6f.js": "sha384-JPoKdrVtBemSiVBoAnmSxLML7xXM9zYeuwOPYQv/kLzt/P4cmLY5r9gH8oaGRPFG", "build/1.c24a9c6f.js": "sha384-JPoKdrVtBemSiVBoAnmSxLML7xXM9zYeuwOPYQv/kLzt/P4cmLY5r9gH8oaGRPFG",
"build/app.9c136e43.js": "sha384-TDHR6NK2lj2HSkxfJJsyuODZQgu0+fX+3eDlCbyE+KP80nAHNCuTqubCHvSU5Eg5", "build/app.5e068aae.js": "sha384-xtCkbaBkjnQeu1bW93NWgXB7PfoXEVyeVMtvGmedfylaJMbYYITUU+s0/Yh/dawr",
"build/app.2bde4971.css": "sha384-3bVuRNKO8FkMuSAu5Eefo+HJ9WNpiJsrIefh0qSdQsbk+8+MA1zre/NZ/AGrY1M9", "build/app.2bde4971.css": "sha384-3bVuRNKO8FkMuSAu5Eefo+HJ9WNpiJsrIefh0qSdQsbk+8+MA1zre/NZ/AGrY1M9",
"build/2.a47ad919.js": "sha384-1h2P/tsl+bh8qgJd7S9irQHKuns7UATVxeFGLOCH85GPFXfAdRzgzx3nk5MrxzrV", "build/2.a47ad919.js": "sha384-1h2P/tsl+bh8qgJd7S9irQHKuns7UATVxeFGLOCH85GPFXfAdRzgzx3nk5MrxzrV",
"build/chart.c9943f57.js": "sha384-I57c9DtU3AOG2kzKqIZkIu0hi1aGYHRZ5QG4LKC9+9slzJnAMttPGXoL2cQG3m6y", "build/chart.c9943f57.js": "sha384-I57c9DtU3AOG2kzKqIZkIu0hi1aGYHRZ5QG4LKC9+9slzJnAMttPGXoL2cQG3m6y",

View File

@@ -3,7 +3,7 @@
"build/1.c24a9c6f.js": "build/1.c24a9c6f.js", "build/1.c24a9c6f.js": "build/1.c24a9c6f.js",
"build/2.a47ad919.js": "build/2.a47ad919.js", "build/2.a47ad919.js": "build/2.a47ad919.js",
"build/app.css": "build/app.2bde4971.css", "build/app.css": "build/app.2bde4971.css",
"build/app.js": "build/app.9c136e43.js", "build/app.js": "build/app.5e068aae.js",
"build/calendar.css": "build/calendar.ade7bcdf.css", "build/calendar.css": "build/calendar.ade7bcdf.css",
"build/calendar.js": "build/calendar.75c80d8f.js", "build/calendar.js": "build/calendar.75c80d8f.js",
"build/chart.js": "build/chart.c9943f57.js", "build/chart.js": "build/chart.c9943f57.js",

View File

@@ -46,6 +46,7 @@ final class IconExtension extends AbstractExtension
'home' => 'fas fa-home', 'home' => 'fas fa-home',
'invoice' => 'fas fa-file-invoice-dollar', 'invoice' => 'fas fa-file-invoice-dollar',
'invoice-template' => 'fas fa-file-signature', 'invoice-template' => 'fas fa-file-signature',
'left' => 'fas fa-chevron-left',
'list' => 'fas fa-list', 'list' => 'fas fa-list',
'locked' => 'fas fa-lock', 'locked' => 'fas fa-lock',
'logout' => 'fas fa-sign-out-alt', 'logout' => 'fas fa-sign-out-alt',
@@ -69,6 +70,7 @@ final class IconExtension extends AbstractExtension
'profile-stats' => 'far fa-chart-bar', 'profile-stats' => 'far fa-chart-bar',
'project' => 'fas fa-briefcase', 'project' => 'fas fa-briefcase',
'repeat' => 'fas fa-redo-alt', 'repeat' => 'fas fa-redo-alt',
'right' => 'fas fa-chevron-right',
'roles' => 'fas fa-user-shield', 'roles' => 'fas fa-user-shield',
'search' => 'fas fa-search', 'search' => 'fas fa-search',
'settings' => 'fas fa-cog', 'settings' => 'fas fa-cog',

View File

@@ -25,8 +25,8 @@
{% else %} {% else %}
{% set nextWeek = nextWeek + 1 %} {% set nextWeek = nextWeek + 1 %}
{% endif %} {% endif %}
<li class="prev"><a onclick="destroyChart()" href="{{ path('widgets_working_time_chart', {'year': prevYear, 'week': prevWeek}) }}" rel="prev"></a></li> <li class="prev"><a onclick="destroyChart()" href="{{ path('widgets_working_time_chart', {'year': prevYear, 'week': prevWeek}) }}" rel="prev"><i class="{{ 'left'|icon }}"></i></a></li>
<li class="next"><a onclick="destroyChart()" href="{{ path('widgets_working_time_chart', {'year': nextYear, 'week': nextWeek}) }}" rel="next"></a></li> <li class="next"><a onclick="destroyChart()" href="{{ path('widgets_working_time_chart', {'year': nextYear, 'week': nextWeek}) }}" rel="next"><i class="{{ 'right'|icon }}"></i></a></li>
</ul> </ul>
{% endblock %} {% endblock %}
{% block box_body %} {% block box_body %}