Skip to content

Commit

Permalink
[AIRFLOW-906] Update Code icon from lightning bolt to file
Browse files Browse the repository at this point in the history
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
  • Loading branch information
djarratt authored and aoen committed Feb 24, 2017
1 parent ffec381 commit bc47200
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion airflow/www/static/bootstrap-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -3068,7 +3068,7 @@ tbody.collapse.in {
.glyphicon-log-in:before {
content: "\e161";
}
.glyphicon-flash:before {
.glyphicon-file:before {
content: "\e162";
}
.glyphicon-log-out:before {
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/dag.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h4 class="pull-right">
</li>
<li>
<a href="{{ url_for("airflow.code", dag_id=dag.dag_id, root=root) }}">
<span class="glyphicon glyphicon-flash" aria-hidden="true"></span>
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
Code
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/dags.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ <h2>DAGs</h2>

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

<!-- Logs -->
Expand Down
2 changes: 1 addition & 1 deletion airflow/www/templates/airflow/list_dags.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ <h2>DAGs</h2>
<i class="icon-align-left"></i>
</a>
<a href="{{ url_for("airflow.code", dag_id=row.dag_id) }}" title="Code View">
<span class="glyphicon glyphicon-flash" aria-hidden="true"></span>
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
</a>
<a href="{{ url_for("airflow.refresh", dag_id=row.dag_id) }}" title="Refresh">
<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>
Expand Down

0 comments on commit bc47200

Please sign in to comment.