Skip to content

Commit bc47200

Browse files
djarrattaoen
authored andcommitted
[AIRFLOW-906] Update Code icon from lightning bolt to file
Lightning bolts are not a visual metaphor for code or files. Since Glyphicon doesn't have a code icon (<>, for instance), we should use its file icon. Dear Airflow Maintainers, Please accept this PR that addresses the following issues: AIRFLOW-906 Testing Done: None. Before/After screenshots in AIRFLOW-906 (https://i ssues.apache.org/jira/browse/AIRFLOW-906) Update Code icon from lightning bolt to file Lightning bolts are not a visual metaphor for code or files. Since Glyphicon doesn't have a code icon (<>, for instance), we should use its file icon. Merge pull request #1 from djarratt/djarratt- patch-1 Update Code icon from lightning bolt to file AIRFLOW-906 change glyphicon flash to file Merge pull request #2 from djarratt/djarratt- patch-2 AIRFLOW-906 change glyphicon flash to file Closes #2104 from djarratt/master
1 parent ffec381 commit bc47200

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

airflow/www/static/bootstrap-theme.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3068,7 +3068,7 @@ tbody.collapse.in {
30683068
.glyphicon-log-in:before {
30693069
content: "\e161";
30703070
}
3071-
.glyphicon-flash:before {
3071+
.glyphicon-file:before {
30723072
content: "\e162";
30733073
}
30743074
.glyphicon-log-out:before {

airflow/www/templates/airflow/dag.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h4 class="pull-right">
9090
</li>
9191
<li>
9292
<a href="{{ url_for("airflow.code", dag_id=dag.dag_id, root=root) }}">
93-
<span class="glyphicon glyphicon-flash" aria-hidden="true"></span>
93+
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
9494
Code
9595
</a>
9696
</li>

airflow/www/templates/airflow/dags.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ <h2>DAGs</h2>
167167

168168
<!-- Code -->
169169
<a href="{{ url_for("airflow.code", dag_id=dag.dag_id) }}" title="Code View">
170-
<span class="glyphicon glyphicon-flash" aria-hidden="true"></span>
170+
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
171171
</a>
172172

173173
<!-- Logs -->

airflow/www/templates/airflow/list_dags.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ <h2>DAGs</h2>
167167
<i class="icon-align-left"></i>
168168
</a>
169169
<a href="{{ url_for("airflow.code", dag_id=row.dag_id) }}" title="Code View">
170-
<span class="glyphicon glyphicon-flash" aria-hidden="true"></span>
170+
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
171171
</a>
172172
<a href="{{ url_for("airflow.refresh", dag_id=row.dag_id) }}" title="Refresh">
173173
<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>

0 commit comments

Comments
 (0)