Skip to content

Commit

Permalink
Fields are not collapsed in /Adm/Stream
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Oct 7, 2023
1 parent 37b5dce commit 768d831
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
4 changes: 0 additions & 4 deletions resources/views/adm/base.twig
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@

<script type="text/javascript">
$(function () {
$('.collapse').on('hidden.bs.collapse show.bs.collapse', function () {
$(this).parent().find('.arrow').toggleClass('fa-angle-down');
});
$('#sidebar-toggle').click(function () {
var obj = $('#adm-menu');
var direction = parseInt(obj.css('left')) < 0 ? 'right' : 'left';
Expand Down
20 changes: 4 additions & 16 deletions resources/views/adm/stream.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,10 @@
<div class="card-body">
{{ form_start(form) }}
{{ form_row(form.text) }}

<div class="form-group row">
<div class="col-md-6 offset-md-4">
<a class="text-primary" role="button" data-bs-toggle="collapse" href="#advance" aria-expanded="false" aria-controls="collapseExample">
Szukanie zaawansowane
</a>
</div>
</div>

<div class="collapse" id="advance">
{{ form_row(form.ip) }}
{{ form_row(form.browser) }}
{{ form_row(form.fingerprint) }}
{{ form_row(form.actor_displayName) }}
</div>

{{ form_row(form.ip) }}
{{ form_row(form.browser) }}
{{ form_row(form.fingerprint) }}
{{ form_row(form.actor_displayName) }}
{{ form_row(form.submit) }}
{{ form_end() }}

Expand Down

0 comments on commit 768d831

Please sign in to comment.