mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed dropdown in error box.
This commit is contained in:
parent
43b4c78553
commit
5d6f244e71
3 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ const ErrorHandlerHelper = class {
|
||||||
let msg = `Error calling <a href="${url}">${url}</a>. `;
|
let msg = `Error calling <a href="${url}">${url}</a>. `;
|
||||||
msg += 'Try to reload the page or contact the administrator if this error persists.'
|
msg += 'Try to reload the page or contact the administrator if this error persists.'
|
||||||
|
|
||||||
msg += '<br><br><a class=\"btn btn-link\" data-toggle=\"collapse\" href=\"#iframe_div\" >' + 'View details' + "</a>";
|
msg += '<br><br><a class=\"btn btn-link\" data-bs-toggle=\"collapse\" href=\"#iframe_div\" >' + 'View details' + "</a>";
|
||||||
msg += "<div class=\" collapse\" id='iframe_div'><iframe height='512' width='100%' id='error-iframe'></iframe></div>";
|
msg += "<div class=\" collapse\" id='iframe_div'><iframe height='512' width='100%' id='error-iframe'></iframe></div>";
|
||||||
|
|
||||||
return msg;
|
return msg;
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
{{ form_widget(form.value) }}
|
{{ form_widget(form.value) }}
|
||||||
<div class="input-group-append {% if sm %}input-group-sm{% endif %}">
|
<div class="input-group-append {% if sm %}input-group-sm{% endif %}">
|
||||||
{% if form.prefix is defined %}
|
{% if form.prefix is defined %}
|
||||||
{{ form_widget(form.prefix, {'attr': {'class': 'custom-select'}}) }}
|
{{ form_widget(form.prefix, {'attr': {'class': 'form-select'}}) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if unit is not empty %}
|
{% if unit is not empty %}
|
||||||
<label class="input-group-text">{{ unit }}</label>
|
<label class="input-group-text">{{ unit }}</label>
|
||||||
|
|
|
@ -57,9 +57,9 @@
|
||||||
id="login-link"><i class="fa fa-sign-in-alt fa-fw"
|
id="login-link"><i class="fa fa-sign-in-alt fa-fw"
|
||||||
aria-hidden="true"></i> {% trans %}user.login{% endtrans %}</a>
|
aria-hidden="true"></i> {% trans %}user.login{% endtrans %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li role="separator" class="dropdown-divider" id="toggleDarkmodeSeparator" hidden></li>
|
<li role="separator" class="dropdown-divider" id="toggleDarkmodeSeparator"></li>
|
||||||
<div class="px-4 px-3" id="toggleDarkmodeContainer" hidden>
|
<div class="px-4 px-3" id="toggleDarkmodeContainer">
|
||||||
<div class="custom-control custom-switch">
|
<div class="form-check form-switch">
|
||||||
<input type="checkbox" class="form-check-input" id="toggleDarkmode">
|
<input type="checkbox" class="form-check-input" id="toggleDarkmode">
|
||||||
<label class="form-check-label"
|
<label class="form-check-label"
|
||||||
for="toggleDarkmode">{% trans %}ui.toggle_darkmode{% endtrans %}</label>
|
for="toggleDarkmode">{% trans %}ui.toggle_darkmode{% endtrans %}</label>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue