Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11626 from chadlwilson/remnove-dead-assets
Remnove dead/unused image assets
- Loading branch information
Showing
104 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
BASE_DIR=$(cd `dirname $0`/.. && pwd) | ||
SEARCH_DIR=${SEARCH_DIR:-server/src/main/webapp/WEB-INF/rails/app/assets/images} | ||
SEARCH_PATH="${BASE_DIR}/${SEARCH_DIR}" | ||
|
||
echo "Searching for unused assets located in ${SEARCH_PATH}..." | ||
|
||
EXEC_ON_FIND="filepath=\"{}\"; filename=\"\${filepath#\"${SEARCH_PATH}\"/}\"; if ! git --no-pager grep -F -H \"\$filename\" \"${BASE_DIR}\" >/dev/null; then git rm \"\$filepath\"; fi" | ||
|
||
find "${SEARCH_PATH}" -type f -exec bash -c "${EXEC_ON_FIND}" \; |
Binary file not shown.
Binary file removed
BIN
-1.76 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/andare/background-lines.png
Binary file not shown.
Binary file removed
BIN
-1.7 KB
...er/src/main/webapp/WEB-INF/rails/app/assets/images/andare/component-treenav.png
Binary file not shown.
Binary file removed
BIN
-3.97 KB
...er/src/main/webapp/WEB-INF/rails/app/assets/images/andare/ico-16x16-spinner.gif
Binary file not shown.
Binary file removed
BIN
-987 Bytes
.../main/webapp/WEB-INF/rails/app/assets/images/andare/ico-20x16-webkit-select.png
Binary file not shown.
Binary file removed
BIN
-1.16 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/andare/ico-search-16x16.png
Binary file not shown.
Binary file removed
BIN
-3.43 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/andare/icon-mix.png
Binary file not shown.
Binary file removed
BIN
-2.59 KB
...n/webapp/WEB-INF/rails/app/assets/images/andare/icon-plugin-default-bundled.png
Binary file not shown.
Binary file removed
BIN
-3.05 KB
...src/main/webapp/WEB-INF/rails/app/assets/images/andare/nav-sprites-pipeline.png
Binary file not shown.
Binary file removed
BIN
-3.94 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/andare/nav-sprites.png
Binary file not shown.
Binary file removed
BIN
-975 Bytes
...er/src/main/webapp/WEB-INF/rails/app/assets/images/background_header_closed.png
Binary file not shown.
Binary file removed
BIN
-981 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/background_header_open.png
Binary file not shown.
Binary file removed
BIN
-55 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/bg-rounded-corner-eee.gif
Binary file not shown.
Binary file removed
BIN
-73 Bytes
...rc/main/webapp/WEB-INF/rails/app/assets/images/bg_admin_pipelines_corner_rt.gif
Binary file not shown.
Binary file removed
BIN
-520 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/bg_body_corner.png
Binary file not shown.
Binary file removed
BIN
-454 Bytes
...er/src/main/webapp/WEB-INF/rails/app/assets/images/bg_pipeline_bullet_green.gif
Binary file not shown.
Binary file removed
BIN
-423 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/bg_pipeline_bullet_grey.gif
Binary file not shown.
Binary file removed
BIN
-417 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/bg_pipeline_bullet_red.gif
Binary file not shown.
Binary file removed
BIN
-944 Bytes
...r/src/main/webapp/WEB-INF/rails/app/assets/images/bg_pipeline_bullet_yellow.gif
Binary file not shown.
Binary file removed
BIN
-542 Bytes
.../src/main/webapp/WEB-INF/rails/app/assets/images/bg_pipeline_config_corners.png
Binary file not shown.
Binary file removed
BIN
-335 Bytes
...main/webapp/WEB-INF/rails/app/assets/images/bg_pipeline_config_stage_corner.png
Binary file not shown.
Binary file removed
BIN
-324 Bytes
.../src/main/webapp/WEB-INF/rails/app/assets/images/bg_pipeline_history_corner.png
Binary file not shown.
Binary file removed
BIN
-114 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/bg_sidebar_seperator.png
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-287 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/down_arrow.png
Binary file not shown.
Binary file removed
BIN
-613 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/exclamation.gif
Diff not rendered.
Binary file removed
BIN
-1.03 KB
...c/main/webapp/WEB-INF/rails/app/assets/images/g9/backgrounds/bg_gradient_50.png
Diff not rendered.
Binary file removed
BIN
-127 KB
...src/main/webapp/WEB-INF/rails/app/assets/images/g9/backgrounds/bg_login_box.png
Diff not rendered.
Binary file removed
BIN
-969 Bytes
...EB-INF/rails/app/assets/images/g9/backgrounds/bg_opacityborder_bottom_white.png
Diff not rendered.
Binary file removed
BIN
-1.08 KB
...in/webapp/WEB-INF/rails/app/assets/images/g9/backgrounds/bg_status_diagonal.png
Diff not rendered.
Binary file removed
BIN
-994 Bytes
...webapp/WEB-INF/rails/app/assets/images/g9/backgrounds/overlay_gradient_30px.png
Diff not rendered.
Binary file removed
BIN
-998 Bytes
...webapp/WEB-INF/rails/app/assets/images/g9/backgrounds/overlay_gradient_36px.png
Diff not rendered.
Binary file removed
BIN
-1 KB
...webapp/WEB-INF/rails/app/assets/images/g9/backgrounds/overlay_gradient_48px.png
Diff not rendered.
Binary file removed
BIN
-1016 Bytes
...in/webapp/WEB-INF/rails/app/assets/images/g9/backgrounds/tooltip_down_arrow.png
Diff not rendered.
Binary file removed
BIN
-1022 Bytes
...main/webapp/WEB-INF/rails/app/assets/images/g9/backgrounds/tooltip_up_arrow.png
Diff not rendered.
Binary file removed
BIN
-1.07 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/bg_glass_gradient.png
Diff not rendered.
Binary file removed
BIN
-1.26 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icon_close_16.png
Diff not rendered.
Binary file removed
BIN
-431 Bytes
...r/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icon_close_16_disabled.png
Diff not rendered.
Binary file removed
BIN
-383 Bytes
.../src/main/webapp/WEB-INF/rails/app/assets/images/g9/icon_delete_disabled_16.png
Diff not rendered.
Binary file removed
BIN
-1.14 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/error.png
Diff not rendered.
Binary file removed
BIN
-1.17 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_add_16.png
Diff not rendered.
Binary file removed
BIN
-1.12 KB
...c/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_add_disabled_16.png
Diff not rendered.
Binary file removed
BIN
-1.84 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_admin_36.png
Diff not rendered.
Binary file removed
BIN
-1.31 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_clone_16.png
Diff not rendered.
Binary file removed
BIN
-450 Bytes
...main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_clone_16_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.26 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_close_16.png
Diff not rendered.
Binary file removed
BIN
-1.27 KB
...main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_close_hover_small.png
Diff not rendered.
Binary file removed
BIN
-1.35 KB
...r/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_close_small.png
Diff not rendered.
Binary file removed
BIN
-1.33 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_delete_16.png
Diff not rendered.
Binary file removed
BIN
-383 Bytes
...ain/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_delete_disabled_16.png
Diff not rendered.
Binary file removed
BIN
-1.2 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_edit_16.png
Diff not rendered.
Binary file removed
BIN
-486 Bytes
.../main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_edit_16_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.63 KB
...c/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_environments_24.png
Diff not rendered.
Binary file removed
BIN
-1.23 KB
...er/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_failure_16.png
Diff not rendered.
Binary file removed
BIN
-1.35 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_help_16.png
Diff not rendered.
Binary file removed
BIN
-579 Bytes
.../main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_help_16_inactive.png
Diff not rendered.
Binary file removed
BIN
-1.31 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_job_24.png
Diff not rendered.
Binary file removed
BIN
-1.36 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_lock_16.png
Diff not rendered.
Binary file removed
BIN
-1.33 KB
.../main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_lock_disabled_16.png
Diff not rendered.
Binary file removed
BIN
-1.16 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_move_16.png
Diff not rendered.
Binary file removed
BIN
-463 Bytes
.../main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_move_16_disabled.png
Diff not rendered.
Binary file removed
BIN
-1.56 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_ok_24.png
Diff not rendered.
Binary file removed
BIN
-1.86 KB
.../main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_pipeline_24_info.png
Diff not rendered.
Binary file removed
BIN
-1.43 KB
...r/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_pipeline_36.png
Diff not rendered.
Binary file removed
BIN
-1.79 KB
...rc/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_pipeline_group.png
Diff not rendered.
Binary file removed
BIN
-708 Bytes
...n/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_pipeline_template_16.png
Diff not rendered.
Binary file removed
BIN
-953 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_plus.png
Diff not rendered.
Binary file removed
BIN
-1.44 KB
...er/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_preview_16.png
Diff not rendered.
Binary file removed
BIN
-1.25 KB
...c/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_preview_wobg_16.png
Diff not rendered.
Binary file removed
BIN
-1.24 KB
...r/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_question_16.png
Diff not rendered.
Binary file removed
BIN
-1.31 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_remove_16.png
Diff not rendered.
Binary file removed
BIN
-1.15 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/icon_search.png
Diff not rendered.
Binary file removed
BIN
-1.95 KB
.../main/webapp/WEB-INF/rails/app/assets/images/g9/icons/treeview-default-line.gif
Diff not rendered.
Binary file removed
BIN
-1.19 KB
...r/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/treeview-default.gif
Diff not rendered.
Binary file removed
BIN
-1.83 KB
...src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/treeview-gray-line.gif
Diff not rendered.
Binary file removed
BIN
-1.2 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/icons/treeview-gray.gif
Diff not rendered.
Binary file removed
BIN
-847 Bytes
...er/src/main/webapp/WEB-INF/rails/app/assets/images/g9/prototype/ajax-loader.gif
Diff not rendered.
Binary file removed
BIN
-110 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/prototype/file.gif
Diff not rendered.
Binary file removed
BIN
-1.95 KB
...n/webapp/WEB-INF/rails/app/assets/images/g9/prototype/treeview-default-line.gif
Diff not rendered.
Binary file removed
BIN
-1.19 KB
...c/main/webapp/WEB-INF/rails/app/assets/images/g9/prototype/treeview-default.gif
Diff not rendered.
Binary file removed
BIN
-1010 Bytes
...main/webapp/WEB-INF/rails/app/assets/images/g9/prototype/treeview-gray-line.gif
Diff not rendered.
Binary file removed
BIN
-303 Bytes
.../src/main/webapp/WEB-INF/rails/app/assets/images/g9/prototype/treeview-gray.gif
Diff not rendered.
Binary file removed
BIN
-227 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/g9/step_current.png
Diff not rendered.
Binary file removed
BIN
-690 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon-12-alert.png
Diff not rendered.
Binary file removed
BIN
-607 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon-16-error.gif
Diff not rendered.
Binary file removed
BIN
-375 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon-add-pipeline.gif
Diff not rendered.
Binary file removed
BIN
-72 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon-add-resources.gif
Diff not rendered.
Binary file removed
BIN
-81 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon-link.gif
Diff not rendered.
Binary file removed
BIN
-276 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon-queued-medium.png
Diff not rendered.
Binary file removed
BIN
-986 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon_cancel_pipeline.gif
Diff not rendered.
Binary file removed
BIN
-297 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon_collapse_all.png
Diff not rendered.
Binary file removed
BIN
-309 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon_expand_all.png
Diff not rendered.
Binary file removed
BIN
-88 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/icon_stage_twist_open.gif
Diff not rendered.
Binary file removed
BIN
-4.71 KB
.../src/main/webapp/WEB-INF/rails/app/assets/images/icons-pipeline-history_new.png
Diff not rendered.
Binary file removed
BIN
-1.35 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/icons_gate_in_config.png
Diff not rendered.
Binary file removed
BIN
-5.68 KB
server/src/main/webapp/WEB-INF/rails/app/assets/images/indicator.gif
Diff not rendered.
Binary file removed
BIN
-378 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/rssicon_small.gif
Diff not rendered.
Binary file removed
BIN
-162 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/simple-table-top-left.png
Diff not rendered.
Binary file removed
BIN
-163 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/simple-table-top-right.png
Diff not rendered.
Binary file removed
BIN
-219 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/trans_rc_white_lb.png
Diff not rendered.
Binary file removed
BIN
-223 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/trans_rc_white_lt.png
Diff not rendered.
Binary file removed
BIN
-217 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/trans_rc_white_rb.png
Diff not rendered.
Binary file removed
BIN
-221 Bytes
server/src/main/webapp/WEB-INF/rails/app/assets/images/trans_rc_white_rt.png
Diff not rendered.