Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collapse DAG docs by one click #41214

Merged
merged 1 commit into from
Aug 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions airflow/www/templates/appbuilder/dag_docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
<div class="panel panel-primary">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"{% if folded %} class="accordion-togglecollapsed{% endif %}">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"{% if folded %} class="accordion-togglecollapsed"{% endif %}>
{% if folded %}<span class="material-icons" aria-hidden="true">info_outline</span>{% endif %}
DAG Docs
{% if folded %}<span class="material-icons pull-right toggle-direction" aria-hidden="true">expand_less</span>{% endif %}
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse{% if folded %} collapse{% endif %}" role="tabpanel" aria-labelledby="headingOne">
<div id="collapseOne" class="panel-collapse{% if folded %} collapse{% else %} in{% endif %}" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
{{ doc_md }}
</div>
Expand Down
Loading