2019-09-17 23:10:44 +08:00
|
|
|
{% extends 'user.base' %}
|
|
|
|
|
|
|
|
{% block title %}{{ trans('general.dashboard') }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2019-12-13 19:29:57 +08:00
|
|
|
{{ include('shared.grid') }}
|
2019-09-17 23:10:44 +08:00
|
|
|
|
|
|
|
<div id="modal-score-instruction" class="modal fade" tabindex="-1" role="dialog">
|
2019-11-24 14:32:58 +08:00
|
|
|
<div class="modal-dialog modal-lg">
|
2019-09-17 23:10:44 +08:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2020-05-20 09:31:56 +08:00
|
|
|
<h5 class="modal-title">{{ trans('user.score-intro.title') }}</h5>
|
2019-09-17 23:10:44 +08:00
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
{{ score_intro|nl2br }}
|
|
|
|
<hr />
|
|
|
|
<div class="row">
|
|
|
|
{% for key, value in rates %}
|
|
|
|
<div class="col-md-4">
|
|
|
|
<p class="text-center">
|
|
|
|
{{ trans("user.score-intro.rates.#{key}", {score: value}) }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2019-11-24 14:32:58 +08:00
|
|
|
<button class="btn btn-default" data-dismiss="modal">{{ trans('general.close') }}</button>
|
2019-09-17 23:10:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-13 19:29:57 +08:00
|
|
|
{% endblock %}
|
2019-09-17 23:10:44 +08:00
|
|
|
|
2019-12-13 19:29:57 +08:00
|
|
|
{% block before_foot %}
|
2020-06-11 19:27:15 +08:00
|
|
|
<script id="blessing-extra" type="application/json">
|
|
|
|
{{ extra|json_encode|raw }}
|
2019-09-17 23:10:44 +08:00
|
|
|
</script>
|
|
|
|
{% endblock %}
|