ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mradhakrish...@apache.org
Subject [32/94] [abbrv] [partial] ambari git commit: AMBARI-21870. Integrate LogSearch new UI with the server and get rid of the old one (oleewere)
Date Mon, 11 Sep 2017 04:39:02 GMT
http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontawesome/fontawesome-webfont.ttf
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontawesome/fontawesome-webfont.ttf b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontawesome/fontawesome-webfont.ttf
deleted file mode 100644
index d365924..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontawesome/fontawesome-webfont.ttf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontawesome/fontawesome-webfont.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontawesome/fontawesome-webfont.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontawesome/fontawesome-webfont.woff
deleted file mode 100644
index b9bd17e..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontawesome/fontawesome-webfont.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-300.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-300.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-300.woff
deleted file mode 100644
index 99f3353..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-300.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-300i.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-300i.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-300i.woff
deleted file mode 100644
index dd0a0ea..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-300i.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-400.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-400.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-400.woff
deleted file mode 100644
index 55b25f8..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-400.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-400i.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-400i.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-400i.woff
deleted file mode 100644
index cedefb8..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-400i.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-600.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-600.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-600.woff
deleted file mode 100644
index e83bb33..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-600.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-600i.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-600i.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-600i.woff
deleted file mode 100644
index 983bb33..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-600i.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-700.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-700.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-700.woff
deleted file mode 100644
index 27619e7..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-700.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-700i.woff
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-700i.woff b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-700i.woff
deleted file mode 100644
index e12c3a9..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/fonts/fontopensans/open-sans-700i.woff and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/System-Settings-icon.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/System-Settings-icon.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/System-Settings-icon.png
deleted file mode 100644
index 2f34e5d..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/System-Settings-icon.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/avatar.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/avatar.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/avatar.png
deleted file mode 100644
index 74a8031..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/avatar.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/blank.gif
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/blank.gif b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/blank.gif
deleted file mode 100644
index 35d42e8..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/blank.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/blockLoading.gif
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/blockLoading.gif b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/blockLoading.gif
deleted file mode 100644
index 86a52b8..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/blockLoading.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/body-bg.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/body-bg.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/body-bg.png
deleted file mode 100644
index 5fcb51d..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/body-bg.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/cancel_search.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/cancel_search.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/cancel_search.png
deleted file mode 100644
index 967bf53..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/cancel_search.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/clear.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/clear.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/clear.png
deleted file mode 100644
index 580b52a..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/clear.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/comp.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/comp.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/comp.png
deleted file mode 100644
index deccae4..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/comp.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/data-grey.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/data-grey.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/data-grey.png
deleted file mode 100644
index dabec13..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/data-grey.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/database_table_32.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/database_table_32.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/database_table_32.png
deleted file mode 100644
index 14bb068..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/database_table_32.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/error-404-icon.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/error-404-icon.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/error-404-icon.png
deleted file mode 100644
index 9b8f81d..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/error-404-icon.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/error-500-icon.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/error-500-icon.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/error-500-icon.png
deleted file mode 100644
index 017cc53..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/error-500-icon.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder-grey.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder-grey.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder-grey.png
deleted file mode 100644
index 0149cf2..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder-grey.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder.png
deleted file mode 100644
index 0613c6b..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder2.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder2.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder2.png
deleted file mode 100644
index 85da97f..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/folder2.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/form.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/form.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/form.png
deleted file mode 100644
index 3ea179c..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/form.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hbase.jpg
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hbase.jpg b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hbase.jpg
deleted file mode 100644
index 27c177a..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hbase.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hdfs.jpg
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hdfs.jpg b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hdfs.jpg
deleted file mode 100644
index 2f6dad2..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hdfs.jpg and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hive.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hive.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hive.png
deleted file mode 100644
index b7939b1..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hive.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hline.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hline.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hline.png
deleted file mode 100644
index b488b95..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/hline.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/icon-collapse.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/icon-collapse.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/icon-collapse.png
deleted file mode 100644
index ef00a8c..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/icon-collapse.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/icon-expand.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/icon-expand.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/icon-expand.png
deleted file mode 100644
index c7c2480..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/icon-expand.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/knox.gif
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/knox.gif b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/knox.gif
deleted file mode 100644
index 3edc8fd..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/knox.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/knox1.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/knox1.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/knox1.png
deleted file mode 100644
index 56265c7..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/knox1.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/loading.gif
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/loading.gif b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/loading.gif
deleted file mode 100644
index 5b33f7e..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/loading.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/loading_game.gif
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/loading_game.gif b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/loading_game.gif
deleted file mode 100644
index 5cb5074..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/loading_game.gif and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/logo-white.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/logo-white.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/logo-white.png
deleted file mode 100644
index a562ba7..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/logo-white.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/logo.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/logo.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/logo.png
deleted file mode 100644
index ddd816d..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/logo.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/router-grey.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/router-grey.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/router-grey.png
deleted file mode 100644
index 5424139..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/router-grey.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/search_glyph.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/search_glyph.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/search_glyph.png
deleted file mode 100644
index 017a6d0..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/search_glyph.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/sortingCollapse.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/sortingCollapse.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/sortingCollapse.png
deleted file mode 100644
index beb6f58..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/sortingCollapse.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/sortingExpand.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/sortingExpand.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/sortingExpand.png
deleted file mode 100644
index d10c11b..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/sortingExpand.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/storm.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/storm.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/storm.png
deleted file mode 100644
index 510cc92..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/storm.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/storm1.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/storm1.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/storm1.png
deleted file mode 100644
index a5b36c7..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/storm1.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/task-grey.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/task-grey.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/task-grey.png
deleted file mode 100644
index 6c76084..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/task-grey.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/timezone.png
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/timezone.png b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/timezone.png
deleted file mode 100644
index 963794b..0000000
Binary files a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/images/timezone.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/index.html
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/index.html b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/index.html
deleted file mode 100644
index 79d60b2..0000000
--- a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/index.html
+++ /dev/null
@@ -1,108 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<!DOCTYPE html>
-<html lang="en">
-    <head>
-        <meta charset="utf-8">
-        <title>LogSearch</title>
-        <meta name="viewport" content="width=device-width, initial-scale=1">
-        <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
-        
-        <link href="libs/bower/bootstrap/bootstrap.min.css" rel="stylesheet">
-        <link href="libs/bower/font-awesome/css/font-awesome.css" rel="stylesheet">
-        <link rel="stylesheet" type="text/css" href="libs/bower/jquery-ui/css/jquery-ui-bootstrap.css">
-        <link rel="stylesheet" type="text/css" href="styles/custom/visualsearch.css">
-        <link rel="stylesheet" type="text/css" href="libs/bower/backgrid/backgrid.min.css">
-        <link rel="stylesheet" type="text/css" href="libs/custom/backgrid-columnmanager/Backgrid.ColumnManager.css">
-        <link rel="stylesheet" type="text/css" href="libs/bower/backgrid-paginator/backgrid-paginator.min.css">
-        <link rel="stylesheet" type="text/css" href="libs/bower/backgrid-sizeable-columns/backgrid-sizeable-columns.css">
-        <link rel="stylesheet" type="text/css" href="libs/bower/backgrid-orderable-columns/backgrid-orderable-columns.css">
-        <link rel="stylesheet" type="text/css" href="libs/custom/daterangepicker/css/daterangepicker.css">
-        <link rel="stylesheet" type="text/css" href="styles/animate.css">
-        <link rel="stylesheet" type="text/css" href="libs/bower/select2/select2.css">
-        <link rel="stylesheet" type="text/css" href="libs/bower/nvd3/nv.d3.min.css">
-        <link rel="stylesheet" type="text/css" href="libs/bower/gridster/jquery.gridster.min.css">
-        <link rel="stylesheet" type="text/css" href="libs/bower/bootstrap-tour/bootstrap-tour.min.css">
-        <link href="styles/style_v2.css" rel="stylesheet">
-        <link href="styles/style.css" rel="stylesheet">
-        
-        
-        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
-        <!--[if lt IE 9]>
-                <script src="http://getbootstrap.com/docs-assets/js/html5shiv.js"></script>
-                <script src="http://getbootstrap.com/docs-assets/js/respond.min.js"></script>
-        <![endif]-->
-    </head>
-    <body>
-        <!--Start Header-->
-        <header class="navbar">
-            <div class="container-fluid expanded-panel">
-                <div class="row top-panel-right">
-                    <div id="logo" class="col-xs-12 col-sm-3">
-                        <div class="row">
-                            <div class="col-sm-2"><img title="Apache Ambari" alt="Apache Ambari" src="images/logo-white.png" height="32px"></div>
-                            <div class="col-sm-10"><a href="javascript:void(0);">Log Search</a></div>
-                        </div>
-                    </div>
-                    <div id="r_header"></div>
-                </div>
-            </div>
-        </header>
-        <!--End Header-->
-        <!--Start Container-->
-        <div id="main" class="container-fluid">
-            <div class="row">
-                <!--Start Content-->
-                <div id="content" class="col-xs-12 col-sm-12">
-                    <div id="r_content" >
-                        <i class="icon-spinner"></i>
-                    </div>
-                </div>
-                <!--End Content-->
-            </div>
-        </div>
-        <!--End Container-->
-        <script data-main="scripts/Init.js" src="libs/bower/requirejs/require.js"></script>
-        <!-- endbuild -->
-        <script type="text/javascript">
-            require.config({
-                waitSeconds : 0
-            });
-            if (!window.console) window.console = {};
-            if (!window.console.log) window.console.log = function () { };
-
-        </script>
-        <div class="btn-group contextMenuBody dropup" style="display:none;position:absolute;z-index:9999;">
-            <button type="button" class="btn btn-info btn-circle btn-app-sm btn-context dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
-                <i class="fa fa-info"></i>
-            </button>
-            <ul class="dropdown-menu">
-                <li><a data-id="I" href="javascript:void(0);">Include</a></li>
-                <li><a data-id="E" href="javascript:void(0);">Exclude</a></li> 
-                <li><a data-id="IA" href="javascript:void(0);">*Include*</a></li>
-                <li><a data-id="EA" href="javascript:void(0);">*Exclude*</a></li>
-                <li role="separator" class="divider"></li>
-                <li><a data-id="F" href="javascript:void(0);">Find</a></li>
-            </ul>
-        </div>
-        <div class="arrowDiv">
-            <div class="bottomToTop" title="Scroll To Top"><i class="fa fa-arrow-circle-up"></i></div>
-            <div class="topToBottom" title="Scroll To bottom"><i class="fa fa-arrow-circle-down"></i></div>
-        </div>
-
-    </body>
-</html>

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/backbone-pageable/backbone-pageable.min.js
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/backbone-pageable/backbone-pageable.min.js b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/backbone-pageable/backbone-pageable.min.js
deleted file mode 100644
index 78f32fd..0000000
--- a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/backbone-pageable/backbone-pageable.min.js
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
-  backbone-pageable 1.3.2
-  http://github.com/wyuenho/backbone-pageable
-
-  Copyright (c) 2013 Jimmy Yuen Ho Wong
-  Licensed under the MIT @license.
-*/
-!function(a){if("object"==typeof exports)module.exports=a(require("underscore"),require("backbone"));else if("function"==typeof define&&define.amd)define(["underscore","backbone"],a);else if("undefined"!=typeof _&&"undefined"!=typeof Backbone){var b=Backbone.PageableCollection,c=a(_,Backbone);Backbone.PageableCollection.noConflict=function(){return Backbone.PageableCollection=b,c}}}(function(a,b){"use strict";function c(b,c){if(!a.isNumber(b)||a.isNaN(b)||!a.isFinite(b)||~~b!==b)throw new TypeError("`"+c+"` must be a finite integer");return b}function d(a){for(var b,c,d,e,f={},g=decodeURIComponent,h=a.split("&"),i=0,j=h.length;j>i;i++){var k=h[i];b=k.split("="),c=b[0],d=b[1]||!0,c=g(c),e=f[c],n(e)?e.push(d):f[c]=e?[e,d]:d}return f}var e=a.extend,f=a.omit,g=a.clone,h=a.each,i=a.pick,j=a.contains,k=a.isEmpty,l=a.pairs,m=a.invert,n=a.isArray,o=a.isFunction,p=a.isObject,q=a.keys,r=a.isUndefined,s=a.result,t=Math.ceil,u=Math.floor,v=Math.max,w=b.Collection.prototype,x=/[\s'"]/g,y=/[<>\s'
 "]/g,z=b.PageableCollection=b.Collection.extend({state:{firstPage:1,lastPage:null,currentPage:null,pageSize:25,totalPages:null,totalRecords:null,sortKey:null,order:-1},mode:"server",queryParams:{currentPage:"page",pageSize:"per_page",totalPages:"total_pages",totalRecords:"total_entries",sortKey:"sort_by",order:"order",directions:{"-1":"asc",1:"desc"}},constructor:function(a,c){b.Collection.apply(this,arguments),c=c||{};var d=this.mode=c.mode||this.mode||A.mode,f=e({},A.queryParams,this.queryParams,c.queryParams||{});f.directions=e({},A.queryParams.directions,this.queryParams.directions,f.directions||{}),this.queryParams=f;var h=this.state=e({},A.state,this.state,c.state||{});h.currentPage=null==h.currentPage?h.firstPage:h.currentPage,n(a)||(a=a?[a]:[]),"server"==d||null!=h.totalRecords||k(a)||(h.totalRecords=a.length),this.switchMode(d,e({fetch:!1,resetState:!1,models:a},c));var i=c.comparator;if(h.sortKey&&!i&&this.setSorting(h.sortKey,h.order,c),"server"!=d){var j=this.fullCollect
 ion;i&&c.full&&(delete this.comparator,j.comparator=i),c.full&&j.sort(),a&&!k(a)&&(this.getPage(h.currentPage),a.splice.apply(a,[0,a.length].concat(this.models)))}this._initState=g(this.state)},_makeFullCollection:function(a,c){var d,e,f,g=["url","model","sync","comparator"],h=this.constructor.prototype,i={};for(d=0,e=g.length;e>d;d++)f=g[d],r(h[f])||(i[f]=h[f]);var j=new(b.Collection.extend(i))(a,c);for(d=0,e=g.length;e>d;d++)f=g[d],this[f]!==h[f]&&(j[f]=this[f]);return j},_makeCollectionEventHandler:function(a,b){return function(c,d,f,i){var j=a._handlers;h(q(j),function(c){var d=j[c];a.off(c,d),b.off(c,d)});var k=g(a.state),l=k.firstPage,m=0===l?k.currentPage:k.currentPage-1,n=k.pageSize,o=m*n,p=o+n;if("add"==c){var s,u,v,w,i=i||{};if(f==b)u=b.indexOf(d),u>=o&&p>u&&(w=a,s=v=u-o);else{s=a.indexOf(d),u=o+s,w=b;var v=r(i.at)?u:i.at+o}if(++k.totalRecords,a.state=a._checkState(k),w){w.add(d,e({},i||{},{at:v}));var x=s>=n?d:!r(i.at)&&p>v&&a.length>n?a.at(n):null;if(x){var y=f._events.a
 dd||[],z={onAdd:!0};if(y.length){var A=y[y.length-1],B=A.callback;A.callback=function(){try{B.apply(this,arguments),a.remove(x,z)}finally{A.callback=B}}}else a.remove(x,z)}}}if("remove"==c)if(i.onAdd)delete i.onAdd;else{if(--k.totalRecords){var C=k.totalPages=t(k.totalRecords/n);k.lastPage=0===l?C-1:C,k.currentPage>C&&(k.currentPage=k.lastPage)}else k.totalRecords=null,k.totalPages=null;a.state=a._checkState(k);var D,E=i.index;f==a?((D=b.at(p))&&a.push(D),b.remove(d)):E>=o&&p>E&&(a.remove(d),D=b.at(m*(n+E)),D&&a.push(D))}if("reset"==c)if(i=f,f=d,f===a&&null==i.from&&null==i.to){var F=b.models.slice(0,o),G=b.models.slice(o+a.models.length);b.reset(F.concat(a.models).concat(G),i)}else f===b&&((k.totalRecords=b.models.length)||(k.totalRecords=null,k.totalPages=null),"client"==a.mode&&(k.lastPage=k.currentPage=k.firstPage),a.state=a._checkState(k),a.reset(b.models.slice(o,p),e({},i,{parse:!1})));"sort"==c&&(i=f,f=d,f===b&&a.reset(b.models.slice(o,p),e({},i,{parse:!1}))),h(q(j),function(
 c){var d=j[c];h([a,b],function(a){a.on(c,d);var b=a._events[c]||[];b.unshift(b.pop())})})}},_checkState:function(a){var b=this.mode,d=this.links,e=a.totalRecords,f=a.pageSize,g=a.currentPage,h=a.firstPage,i=a.totalPages;if(null!=e&&null!=f&&null!=g&&null!=h&&("infinite"==b?d:!0)){if(e=c(e,"totalRecords"),f=c(f,"pageSize"),g=c(g,"currentPage"),h=c(h,"firstPage"),1>f)throw new RangeError("`pageSize` must be >= 1");if(i=a.totalPages=t(e/f),0>h||h>1)throw new RangeError("`firstPage must be 0 or 1`");if(a.lastPage=0===h?v(0,i-1):i,"infinite"==b){if(!d[g+""])throw new RangeError("No link found for page "+g)}else if(h>g||i>0&&(h?g>i:g>=i))throw new RangeError("`currentPage` must be firstPage <= currentPage "+(h?">":">=")+" totalPages if "+h+"-based. Got "+g+".")}return a},setPageSize:function(a,b){a=c(a,"pageSize"),b=b||{first:!1};var d=this.state,g=t(d.totalRecords/a),h=g?v(d.firstPage,u(g*(d.firstPage?d.currentPage:d.currentPage+1)/d.totalPages)):d.firstPage;return d=this.state=this._che
 ckState(e({},d,{pageSize:a,currentPage:b.first?d.firstPage:h,totalPages:g})),this.getPage(d.currentPage,f(b,["first"]))},switchMode:function(b,c){if(!j(["server","client","infinite"],b))throw new TypeError('`mode` must be one of "server", "client" or "infinite"');c=c||{fetch:!0,resetState:!0};var d=this.state=c.resetState?g(this._initState):this._checkState(e({},this.state));this.mode=b;var i,k=this,l=this.fullCollection,m=this._handlers=this._handlers||{};if("server"==b||l)"server"==b&&l&&(h(q(m),function(a){i=m[a],k.off(a,i),l.off(a,i)}),delete this._handlers,this._fullComparator=l.comparator,delete this.fullCollection);else{l=this._makeFullCollection(c.models||[]),l.pageableCollection=this,this.fullCollection=l;var n=this._makeCollectionEventHandler(this,l);h(["add","remove","reset","sort"],function(b){m[b]=i=a.bind(n,{},b),k.on(b,i),l.on(b,i)}),l.comparator=this._fullComparator}if("infinite"==b)for(var o=this.links={},p=d.firstPage,r=t(d.totalRecords/d.pageSize),s=0===p?v(0,r-1)
 :r||p,u=d.firstPage;s>=u;u++)o[u]=this.url;else this.links&&delete this.links;return c.fetch?this.fetch(f(c,"fetch","resetState")):this},hasPrevious:function(){var a=this.state,b=a.currentPage;return"infinite"!=this.mode?b>a.firstPage:!!this.links[b-1]},hasNext:function(){var a=this.state,b=this.state.currentPage;return"infinite"!=this.mode?b<a.lastPage:!!this.links[b+1]},getFirstPage:function(a){return this.getPage("first",a)},getPreviousPage:function(a){return this.getPage("prev",a)},getNextPage:function(a){return this.getPage("next",a)},getLastPage:function(a){return this.getPage("last",a)},getPage:function(a,b){var d=this.mode,g=this.fullCollection;b=b||{fetch:!1};var h=this.state,i=h.firstPage,j=h.currentPage,l=h.lastPage,m=h.pageSize,n=a;switch(a){case"first":n=i;break;case"prev":n=j-1;break;case"next":n=j+1;break;case"last":n=l;break;default:n=c(a,"index")}this.state=this._checkState(e({},h,{currentPage:n})),b.from=j,b.to=n;var o=(0===i?n:n-1)*m,p=g&&g.length?g.models.slice(o
 ,o+m):[];return"client"!=d&&("infinite"!=d||k(p))||b.fetch?("infinite"==d&&(b.url=this.links[n]),this.fetch(f(b,"fetch"))):this.reset(p,f(b,"fetch"))},getPageByOffset:function(a,b){if(0>a)throw new RangeError("`offset must be > 0`");a=c(a);var d=u(a/this.state.pageSize);return 0!==this.state.firstPage&&d++,d>this.state.lastPage&&(d=this.state.lastPage),this.getPage(d,b)},sync:function(a,c,d){var f=this;if("infinite"==f.mode){var g=d.success,h=f.state.currentPage;d.success=function(a,b,c){var i=f.links,j=f.parseLinks(a,e({xhr:c},d));j.first&&(i[f.state.firstPage]=j.first),j.prev&&(i[h-1]=j.prev),j.next&&(i[h+1]=j.next),g&&g(a,b,c)}}return(w.sync||b.sync).call(f,a,c,d)},parseLinks:function(a,b){var c={},e=b.xhr.getResponseHeader("Link");if(e){var f=["first","prev","previous","next","last"];h(e.split(","),function(a){var b=a.split(";"),d=b[0].replace(y,""),e=b.slice(1);h(e,function(a){var b=a.split("="),e=b[0].replace(x,""),g=b[1].replace(x,"");"rel"==e&&j(f,g)&&("previous"==g?c.prev=d
 :c[g]=d)})});var i,k,l=c.last||"";if(k=(i=l.indexOf("?"))?l.slice(i+1):""){var m=d(k),n=g(this.state),o=this.queryParams,p=n.pageSize,q=1*m[o.totalRecords],r=1*m[o.currentPage],s=m[o.totalPages];q||(r?q=(0===n.firstPage?r+1:r)*p:s&&(q=s*p)),q&&(n.totalRecords=q),this.state=this._checkState(n)}}return delete c.last,c},parse:function(a,b){var c=this.parseState(a,g(this.queryParams),g(this.state),b);return c&&(this.state=this._checkState(e({},this.state,c))),this.parseRecords(a,b)},parseState:function(b,c,d){if(b&&2===b.length&&p(b[0])&&n(b[1])){var e=g(d),i=b[0];return h(l(f(c,"directions")),function(b){var c=b[0],d=b[1],f=i[d];r(f)||a.isNull(f)||(e[c]=i[d])}),i.order&&(e.order=1*m(c.directions)[i.order]),e}},parseRecords:function(a){return a&&2===a.length&&p(a[0])&&n(a[1])?a[1]:a},fetch:function(a){a=a||{};var b=this._checkState(this.state),c=this.mode;"infinite"!=c||a.url||(a.url=this.links[b.currentPage]);var h=a.data||{},j=s(a,"url")||s(this,"url")||"",k=j.indexOf("?");-1!=k&&(e(h
 ,d(j.slice(k+1))),j=j.slice(0,k)),a.url=j,a.data=h;var m,n,p,t,u="client"==this.mode?i(this.queryParams,"sortKey","order"):f(i(this.queryParams,q(A.queryParams)),"directions"),v=l(u),x=g(this);for(m=0;m<v.length;m++)n=v[m],p=n[0],t=n[1],t=o(t)?t.call(x):t,null!=b[p]&&null!=t&&(h[t]=b[p]);b.sortKey&&b.order?h[u.order]=this.queryParams.directions[b.order+""]:b.sortKey||delete h[u.order];var y=l(f(this.queryParams,q(A.queryParams)));for(m=0;m<y.length;m++)n=y[m],t=n[1],t=o(t)?t.call(x):t,null!=t&&(h[n[0]]=t);if("server"!=c){var z=this,B=this.fullCollection,C=a.success;return a.success=function(b,d,f){f=f||{},r(a.silent)?delete f.silent:f.silent=a.silent;var g=b.models;"client"==c?B.reset(g,f):B.add(g,e({at:B.length},f)),C&&C(b,d,f)},w.fetch.call(z,e({},a,{silent:!0}))}return w.fetch.call(this,a)},_makeComparator:function(a,b,c){var d=this.state;return a=a||d.sortKey,b=b||d.order,a&&b?(c||(c=function(a,b){return a.get(b)}),function(d,e){var f,g=c(d,a),h=c(e,a);return 1===b&&(f=g,g=h,h=f
 ),g===h?0:h>g?-1:1}):void 0},setSorting:function(a,b,c){var d=this.state;d.sortKey=a,d.order=b=b||d.order;var f=this.fullCollection,g=!1,h=!1;a||(g=h=!0);var i=this.mode;c=e({side:"client"==i?i:"server",full:!0},c);var j=this._makeComparator(a,b,c.sortValue),k=c.full,l=c.side;return"client"==l?k?(f&&(f.comparator=j),g=!0):(this.comparator=j,h=!0):"server"!=l||k||(this.comparator=j),g&&delete this.comparator,h&&f&&delete f.comparator,this}}),A=z.prototype;return z});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/backbone.fetch-cache.js
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/backbone.fetch-cache.js b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/backbone.fetch-cache.js
deleted file mode 100644
index 1a449cb..0000000
--- a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/backbone.fetch-cache.js
+++ /dev/null
@@ -1,326 +0,0 @@
-/*!
-  backbone.fetch-cache v1.4.0
-  by Andy Appleton - https://github.com/mrappleton/backbone-fetch-cache.git
- */
-
-// AMD wrapper from https://github.com/umdjs/umd/blob/master/amdWebGlobal.js
-
-(function (root, factory) {
-  if (typeof define === 'function' && define.amd) {
-    // AMD. Register as an anonymous module and set browser global
-    define(['underscore', 'backbone', 'jquery'], function (_, Backbone, $) {
-      return (root.Backbone = factory(_, Backbone, $));
-    });
-  } else {
-    // Browser globals
-    root.Backbone = factory(root._, root.Backbone, root.jQuery);
-  }
-}(this, function (_, Backbone, $) {
-
-  // Setup
-  var superMethods = {
-    modelFetch: Backbone.Model.prototype.fetch,
-    modelSync: Backbone.Model.prototype.sync,
-    collectionFetch: Backbone.Collection.prototype.fetch
-  },
-  supportLocalStorage = (function() {
-    var supported = typeof window.localStorage !== 'undefined';
-    if (supported) {
-      try {
-        // impossible to write on some platforms when private browsing is on and
-        // throws an exception = local storage not supported.
-        localStorage.setItem("test_support", "test_support");
-        localStorage.removeItem("test_support");
-      } catch (e) {
-        supported = false;
-      }
-    }
-    return supported;
-  })();
-
-  Backbone.fetchCache = (Backbone.fetchCache || {});
-  Backbone.fetchCache._cache = (Backbone.fetchCache._cache || {});
-
-  Backbone.fetchCache.priorityFn = function(a, b) {
-    if (!a || !a.expires || !b || !b.expires) {
-      return a;
-    }
-
-    return a.expires - b.expires;
-  };
-
-  Backbone.fetchCache._prioritize = function() {
-    var sorted = _.values(this._cache).sort(this.priorityFn);
-    var index = _.indexOf(_.values(this._cache), sorted[0]);
-    return _.keys(this._cache)[index];
-  };
-
-  Backbone.fetchCache._deleteCacheWithPriority = function() {
-    Backbone.fetchCache._cache[this._prioritize()] = null;
-    delete Backbone.fetchCache._cache[this._prioritize()];
-    Backbone.fetchCache.setLocalStorage();
-  };
-
-  Backbone.fetchCache.getLocalStorageKey = function() {
-    return 'backboneCache';
-  };
-
-  if (typeof Backbone.fetchCache.localStorage === 'undefined') {
-    Backbone.fetchCache.localStorage = true;
-  }
-
-  // Shared methods
-  function getCacheKey(instance, opts) {
-    var url;
-
-    if(opts && opts.url) {
-      url = opts.url;
-    } else {
-      url = _.isFunction(instance.url) ? instance.url() : instance.url;
-    }
-
-    // Need url to use as cache key so return if we can't get it
-    if(!url) { return; }
-
-    if(opts && opts.data) {
-      return url + "?" + $.param(opts.data);
-    }
-    return url;
-  }
-
-  function setCache(instance, opts, attrs) {
-    opts = (opts || {});
-    var key = Backbone.fetchCache.getCacheKey(instance, opts),
-        expires = false;
-
-    // Need url to use as cache key so return if we can't get it
-    if (!key) { return; }
-
-    // Never set the cache if user has explicitly said not to
-    if (opts.cache === false) { return; }
-
-    // Don't set the cache unless cache: true or prefill: true option is passed
-    if (!(opts.cache || opts.prefill)) { return; }
-
-    if (opts.expires !== false) {
-      expires = (new Date()).getTime() + ((opts.expires || 5 * 60) * 1000);
-    }
-
-    Backbone.fetchCache._cache[key] = {
-      expires: expires,
-      value: attrs
-    };
-
-    Backbone.fetchCache.setLocalStorage();
-  }
-
-  function clearItem(key) {
-    if (_.isFunction(key)) { key = key(); }
-    delete Backbone.fetchCache._cache[key];
-    Backbone.fetchCache.setLocalStorage();
-  }
-
-  function setLocalStorage() {
-    if (!supportLocalStorage || !Backbone.fetchCache.localStorage) { return; }
-    try {
-      localStorage.setItem(Backbone.fetchCache.getLocalStorageKey(), JSON.stringify(Backbone.fetchCache._cache));
-    } catch (err) {
-      var code = err.code || err.number || err.message;
-      if (code === 22) {
-        this._deleteCacheWithPriority();
-      } else {
-        throw(err);
-      }
-    }
-  }
-
-  function getLocalStorage() {
-    if (!supportLocalStorage || !Backbone.fetchCache.localStorage) { return; }
-    var json = localStorage.getItem(Backbone.fetchCache.getLocalStorageKey()) || '{}';
-    Backbone.fetchCache._cache = JSON.parse(json);
-  }
-
-  function nextTick(fn) {
-    return window.setTimeout(fn, 0);
-  }
-
-  // Instance methods
-  Backbone.Model.prototype.fetch = function(opts) {
-    opts = _.defaults(opts || {}, { parse: true });
-    var key = Backbone.fetchCache.getCacheKey(this, opts),
-        data = Backbone.fetchCache._cache[key],
-        expired = false,
-        attributes = false,
-        deferred = new $.Deferred(),
-        self = this;
-
-    function setData() {
-      if (opts.parse) {
-        attributes = self.parse(attributes, opts);
-      }
-
-      self.set(attributes, opts);
-      if (_.isFunction(opts.prefillSuccess)) { opts.prefillSuccess(self, attributes, opts); }
-
-      // Trigger sync events
-      self.trigger('cachesync', self, attributes, opts);
-      self.trigger('sync', self, attributes, opts);
-
-      // Notify progress if we're still waiting for an AJAX call to happen...
-      if (opts.prefill) { deferred.notify(self); }
-      // ...finish and return if we're not
-      else {
-        if (_.isFunction(opts.success)) { opts.success(self, attributes, opts); }
-        deferred.resolve(self);
-      }
-    }
-
-    if (data) {
-      expired = data.expires;
-      expired = expired && data.expires < (new Date()).getTime();
-      attributes = data.value;
-    }
-
-    if (!expired && (opts.cache || opts.prefill) && attributes) {
-      // Ensure that cache resolution adhers to async option, defaults to true.
-      if (opts.async == null) { opts.async = true; }
-
-      if (opts.async) {
-        nextTick(setData);
-      } else {
-        setData();
-      }
-
-      if (!opts.prefill) {
-        return deferred;
-      }
-    }
-
-    // Delegate to the actual fetch method and store the attributes in the cache
-    // to set cache : false whenever it calls ajax (addded due to Test server caching issue)
-    var arg = $.extend(true,[],arguments);
-    if((arg.length > 0) && !_.isUndefined(arg[0].cache))
-    	arg[0].cache = false ;
-    superMethods.modelFetch.apply(this, arg)
-      // resolve the returned promise when the AJAX call completes
-      .done( _.bind(deferred.resolve, this, this) )
-      // Set the new data in the cache
-      .done( _.bind(Backbone.fetchCache.setCache, null, this, opts) )
-      // Reject the promise on fail
-      .fail( _.bind(deferred.reject, this, this) );
-
-    // return a promise which provides the same methods as a jqXHR object
-    return deferred;
-  };
-
-  // Override Model.prototype.sync and try to clear cache items if it looks
-  // like they are being updated.
-  Backbone.Model.prototype.sync = function(method, model, options) {
-    // Only empty the cache if we're doing a create, update, patch or delete.
-    if (method === 'read') {
-      return superMethods.modelSync.apply(this, arguments);
-    }
-
-    var collection = model.collection,
-        keys = [],
-        i, len;
-
-    // Build up a list of keys to delete from the cache, starting with this
-    keys.push(Backbone.fetchCache.getCacheKey(model, options));
-
-    // If this model has a collection, also try to delete the cache for that
-    if (!!collection) {
-      keys.push(Backbone.fetchCache.getCacheKey(collection));
-      
-      // it will delete full collection cache (pagination)
-      _.each(Backbone.fetchCache._cache, function(url, val){
-			var urlStr= keys[1]+"?";
-			if(val.indexOf(urlStr) != -1) 
-				keys.push(val);
-		});
-    }
-
-    // Empty cache for all found keys
-    for (i = 0, len = keys.length; i < len; i++) { clearItem(keys[i]); }
-
-    return superMethods.modelSync.apply(this, arguments);
-  };
-
-  Backbone.Collection.prototype.fetch = function(opts) {
-    opts = _.defaults(opts || {}, { parse: true });
-    var key = Backbone.fetchCache.getCacheKey(this, opts),
-        data = Backbone.fetchCache._cache[key],
-        expired = false,
-        attributes = false,
-        deferred = new $.Deferred(),
-        self = this;
-
-    function setData() {
-      self[opts.reset ? 'reset' : 'set'](attributes, opts);
-      if (_.isFunction(opts.prefillSuccess)) { opts.prefillSuccess(self); }
-
-      // Trigger sync events
-      self.trigger('cachesync', self, attributes, opts);
-      self.trigger('sync', self, attributes, opts);
-
-      // Notify progress if we're still waiting for an AJAX call to happen...
-      if (opts.prefill) { deferred.notify(self); }
-      // ...finish and return if we're not
-      else {
-        if (_.isFunction(opts.success)) { opts.success(self, attributes, opts); }
-        deferred.resolve(self);
-      }
-    }
-
-    if (data) {
-      expired = data.expires;
-      expired = expired && data.expires < (new Date()).getTime();
-      attributes = data.value;
-    }
-
-    if (!expired && (opts.cache || opts.prefill) && attributes) {
-      // Ensure that cache resolution adhers to async option, defaults to true.
-      if (opts.async == null) { opts.async = true; }
-
-      if (opts.async) {
-        nextTick(setData);
-      } else {
-        setData();
-      }
-
-      if (!opts.prefill) {
-        return deferred;
-      }
-    }
-
-    // Delegate to the actual fetch method and store the attributes in the cache
-    // to set cache : false whenever it calls ajax (addded due to Test server caching issue)
-    var arg = $.extend(true,[],arguments);
-    if((arg.length > 0) && !_.isUndefined(arg[0].cache))
-    	arg[0].cache = false ;
-    superMethods.collectionFetch.apply(this, arg)
-      // resolve the returned promise when the AJAX call completes
-      .done( _.bind(deferred.resolve, this, this) )
-      // Set the new data in the cache
-      .done( _.bind(Backbone.fetchCache.setCache, null, this, opts) )
-      // Reject the promise on fail
-      .fail( _.bind(deferred.reject, this, this) );
-
-    // return a promise which provides the same methods as a jqXHR object
-    return deferred;
-  };
-
-  // Prime the cache from localStorage on initialization
-  getLocalStorage();
-
-  // Exports
-
-  Backbone.fetchCache._superMethods = superMethods;
-  Backbone.fetchCache.setCache = setCache;
-  Backbone.fetchCache.getCacheKey = getCacheKey;
-  Backbone.fetchCache.clearItem = clearItem;
-  Backbone.fetchCache.setLocalStorage = setLocalStorage;
-  Backbone.fetchCache.getLocalStorage = getLocalStorage;
-
-  return Backbone;
-}));
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/d3/d3.tip.js
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/d3/d3.tip.js b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/d3/d3.tip.js
deleted file mode 100644
index 1310f35..0000000
--- a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/d3/d3.tip.js
+++ /dev/null
@@ -1,293 +0,0 @@
-// d3.tip
-// Copyright (c) 2013 Justin Palmer
-//
-// Tooltips for d3.js SVG visualizations
-
-(function (root, factory) {
-  if (typeof define === 'function' && define.amd) {
-    // AMD. Register as an anonymous module with d3 as a dependency.
-    define(['d3'], factory)
-  } else {
-    // Browser global.
-    root.d3.tip = factory(root.d3)
-  }
-}(this, function (d3) {
-
-  // Public - contructs a new tooltip
-  //
-  // Returns a tip
-  return function() {
-    var direction = d3_tip_direction,
-        offset    = d3_tip_offset,
-        html      = d3_tip_html,
-        node      = initNode(),
-        svg       = null,
-        point     = null,
-        target    = null
-
-    function tip(vis) {
-      svg = getSVGNode(vis)
-      point = svg.createSVGPoint()
-      document.body.appendChild(node)
-    }
-
-    // Public - show the tooltip on the screen
-    //
-    // Returns a tip
-    tip.show = function() {
-      var args = Array.prototype.slice.call(arguments)
-      if(args[args.length - 1] instanceof SVGElement) target = args.pop()
-
-      var content = html.apply(this, args),
-          poffset = offset.apply(this, args),
-          dir     = direction.apply(this, args),
-          nodel   = d3.select(node),
-          i       = directions.length,
-          coords,
-          scrollTop  = document.documentElement.scrollTop || document.body.scrollTop,
-          scrollLeft = document.documentElement.scrollLeft || document.body.scrollLeft
-
-      nodel.html(content)
-        .style({ opacity: 1, 'pointer-events': 'all' })
-
-      while(i--) nodel.classed(directions[i], false)
-      coords = direction_callbacks.get(dir).apply(this)
-      nodel.classed(dir, true).style({
-        top: (coords.top +  poffset[0]) + scrollTop + 'px',
-        left: (coords.left + poffset[1]) + scrollLeft + 'px'
-      })
-
-      return tip
-    }
-
-    // Public - hide the tooltip
-    //
-    // Returns a tip
-    tip.hide = function() {
-      var nodel = d3.select(node)
-      nodel.style({ opacity: 0, 'pointer-events': 'none' })
-      return tip
-    }
-
-    // Public: Proxy attr calls to the d3 tip container.  Sets or gets attribute value.
-    //
-    // n - name of the attribute
-    // v - value of the attribute
-    //
-    // Returns tip or attribute value
-    tip.attr = function(n, v) {
-      if (arguments.length < 2 && typeof n === 'string') {
-        return d3.select(node).attr(n)
-      } else {
-        var args =  Array.prototype.slice.call(arguments)
-        d3.selection.prototype.attr.apply(d3.select(node), args)
-      }
-
-      return tip
-    }
-
-    // Public: Proxy style calls to the d3 tip container.  Sets or gets a style value.
-    //
-    // n - name of the property
-    // v - value of the property
-    //
-    // Returns tip or style property value
-    tip.style = function(n, v) {
-      if (arguments.length < 2 && typeof n === 'string') {
-        return d3.select(node).style(n)
-      } else {
-        var args =  Array.prototype.slice.call(arguments)
-        d3.selection.prototype.style.apply(d3.select(node), args)
-      }
-
-      return tip
-    }
-
-    // Public: Set or get the direction of the tooltip
-    //
-    // v - One of n(north), s(south), e(east), or w(west), nw(northwest),
-    //     sw(southwest), ne(northeast) or se(southeast)
-    //
-    // Returns tip or direction
-    tip.direction = function(v) {
-      if (!arguments.length) return direction
-      direction = v == null ? v : d3.functor(v)
-
-      return tip
-    }
-
-    // Public: Sets or gets the offset of the tip
-    //
-    // v - Array of [x, y] offset
-    //
-    // Returns offset or
-    tip.offset = function(v) {
-      if (!arguments.length) return offset
-      offset = v == null ? v : d3.functor(v)
-
-      return tip
-    }
-
-    // Public: sets or gets the html value of the tooltip
-    //
-    // v - String value of the tip
-    //
-    // Returns html value or tip
-    tip.html = function(v) {
-      if (!arguments.length) return html
-      html = v == null ? v : d3.functor(v)
-
-      return tip
-    }
-
-    function d3_tip_direction() { return 'n' }
-    function d3_tip_offset() { return [0, 0] }
-    function d3_tip_html() { return ' ' }
-
-    var direction_callbacks = d3.map({
-      n:  direction_n,
-      s:  direction_s,
-      e:  direction_e,
-      w:  direction_w,
-      nw: direction_nw,
-      ne: direction_ne,
-      sw: direction_sw,
-      se: direction_se
-    }),
-
-    directions = direction_callbacks.keys()
-
-    function direction_n() {
-      var bbox = getScreenBBox()
-      return {
-        top:  bbox.n.y - node.offsetHeight,
-        left: bbox.n.x - node.offsetWidth / 2
-      }
-    }
-
-    function direction_s() {
-      var bbox = getScreenBBox()
-      return {
-        top:  bbox.s.y,
-        left: bbox.s.x - node.offsetWidth / 2
-      }
-    }
-
-    function direction_e() {
-      var bbox = getScreenBBox()
-      return {
-        top:  bbox.e.y - node.offsetHeight / 2,
-        left: bbox.e.x
-      }
-    }
-
-    function direction_w() {
-      var bbox = getScreenBBox()
-      return {
-        top:  bbox.w.y - node.offsetHeight / 2,
-        left: bbox.w.x - node.offsetWidth
-      }
-    }
-
-    function direction_nw() {
-      var bbox = getScreenBBox()
-      return {
-        top:  bbox.nw.y - node.offsetHeight,
-        left: bbox.nw.x - node.offsetWidth
-      }
-    }
-
-    function direction_ne() {
-      var bbox = getScreenBBox()
-      return {
-        top:  bbox.ne.y - node.offsetHeight,
-        left: bbox.ne.x
-      }
-    }
-
-    function direction_sw() {
-      var bbox = getScreenBBox()
-      return {
-        top:  bbox.sw.y,
-        left: bbox.sw.x - node.offsetWidth
-      }
-    }
-
-    function direction_se() {
-      var bbox = getScreenBBox()
-      return {
-        top:  bbox.se.y,
-        left: bbox.e.x
-      }
-    }
-
-    function initNode() {
-      var node = d3.select(document.createElement('div'))
-      node.style({
-        position: 'absolute',
-        top: 0,
-        opacity: 0,
-        'pointer-events': 'none',
-        'box-sizing': 'border-box'
-      })
-
-      return node.node()
-    }
-
-    function getSVGNode(el) {
-      el = el.node()
-      if(el.tagName.toLowerCase() === 'svg')
-        return el
-
-      return el.ownerSVGElement
-    }
-
-    // Private - gets the screen coordinates of a shape
-    //
-    // Given a shape on the screen, will return an SVGPoint for the directions
-    // n(north), s(south), e(east), w(west), ne(northeast), se(southeast), nw(northwest),
-    // sw(southwest).
-    //
-    //    +-+-+
-    //    |   |
-    //    +   +
-    //    |   |
-    //    +-+-+
-    //
-    // Returns an Object {n, s, e, w, nw, sw, ne, se}
-    function getScreenBBox() {
-      var targetel   = target || d3.event.target,
-          bbox       = {},
-          matrix     = targetel.getScreenCTM(),
-          tbbox      = targetel.getBBox(),
-          width      = tbbox.width,
-          height     = tbbox.height,
-          x          = tbbox.x,
-          y          = tbbox.y
-
-      point.x = x
-      point.y = y
-      bbox.nw = point.matrixTransform(matrix)
-      point.x += width
-      bbox.ne = point.matrixTransform(matrix)
-      point.y += height
-      bbox.se = point.matrixTransform(matrix)
-      point.x -= width
-      bbox.sw = point.matrixTransform(matrix)
-      point.y -= height / 2
-      bbox.w  = point.matrixTransform(matrix)
-      point.x += width
-      bbox.e = point.matrixTransform(matrix)
-      point.x -= width / 2
-      point.y -= height / 2
-      bbox.n = point.matrixTransform(matrix)
-      point.y += height
-      bbox.s = point.matrixTransform(matrix)
-
-      return bbox
-    }
-
-    return tip
-  };
-
-}));

http://git-wip-us.apache.org/repos/asf/ambari/blob/02360dd5/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/dashboard/dashboard.js
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/dashboard/dashboard.js b/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/dashboard/dashboard.js
deleted file mode 100644
index c88aaf1..0000000
--- a/ambari-logsearch/ambari-logsearch-web/src/main/webapp/libs/bower/dashboard/dashboard.js
+++ /dev/null
@@ -1,393 +0,0 @@
-/**
-* Licensed to the Apache Software Foundation (ASF) under one
-* or more contributor license agreements.  See the NOTICE file
-* distributed with this work for additional information
-* regarding copyright ownership.  The ASF licenses this file
-* to you under the Apache License, Version 2.0 (the
-* "License"); you may not use this file except in compliance
-* with the License.  You may obtain a copy of the License at
-*
-*     http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-'use strict';
-(function(root, factory) {
-
-    if (typeof define === 'function' && define.amd) {
-        define(['jquery', 'gridster'], function($, gridster) {
-            factory($, gridster);
-        });
-    } else {
-        if ((root.jQuery != "undefined" || root.Zepto != "undefined" || root.ender != "undefined" || root.$ != "undefined")) {
-            /*if (root.gridster != "undefined" || gridster != "undefined") {
-                console.log("dsdsds")
-                factory(root.gridster || gridster, (root.jQuery || root.Zepto || root.ender || root.$));
-            } else {
-                throw new Error('gridster dependnecy not found');
-            }*/
-            factory((root.jQuery || root.Zepto || root.ender || root.$));
-        } else {
-            throw new Error('jQuery dependnecy not found');
-        }
-
-    }
-
-}(this, function($, gridster) {
-
-    var dashboard = function(element, options) {
-        this.$el = element;
-        this.options = options;
-        this.generateDashboard();
-    }
-
-    var gridsterPrototypeFn = {};
-
-    dashboard.VERSION = '1.0.0';
-
-    dashboard.DEFAULTS = {
-
-    };
-
-    dashboard.prototype = {
-
-        constructor: dashboard,
-
-
-        importData: function(data) {
-            for (var i = 0; i < data.length; i++) {
-                this.addWidget('<li class="new"></li>', data[i].size_x, data[i].size_y, data[i].col, data[i].row,data[i]);
-            }
-        },
-
-        exportData: function(el) {
-
-            this.data = gridsterPrototypeFn.serialize((el) ? (el) : (undefined));
-            return this.data
-        },
-        addWidget: function(html, size_x, size_y, col, row,data) {
-            if (this.options.onAdded) {
-                var el = gridsterPrototypeFn.add_widget(html, size_x, size_y, col, row);
-                this.options.onAdded(el,data);
-            } else {
-                var el = gridsterPrototypeFn.add_widget(html, size_x, size_y, col, row);
-
-            }
-        },
-        deleteWidget: function(el, callback) {
-            var el = gridsterPrototypeFn.remove_widget(el, function() {
-                this.options.onDeleted(el);
-            });
-        },
-        deleteAll: function(callback) {
-            var data = this.$el.children();
-            for (var i = 0; i < data.length; i++) {
-                if ((data.length - 1) == i) {
-                    var el = gridsterPrototypeFn.remove_widget(data[i], function() {
-                        this.options.onAllDeleted(el);
-                    });
-                } else {
-                    gridsterPrototypeFn.remove_widget(data[i]);
-                    //this.options.onDeleted(el);
-                }
-
-            }
-        },
-        /**
-         * [generateMap create element dynamically]
-         * @param  {[type]} options [depanding on option it will create e]
-         * @return {[type]}         [description]
-         */
-        generateDashboard: function() {
-            var dockLi = [];
-            if (this.options.dock && this.options.dock.dockIcon && this.options.dock.dockIcon.length > 0) {
-                var dockList = this.options.dock.dockIcon
-                for (var index in dockList) {
-                    var dockIcon = (this.genrateElement('i', {
-                        'class': (dockList[index].iClass) ? (dockList[index].iClass) : ("")
-                    }));
-                    var attr = {};
-                    if (dockList[index].parentAttr) {
-                        attr = dockList[index].parentAttr
-                        if (attr.class && attr.class != "iconG") {
-                            attr.class += " iconG"
-                        }
-                    } else {
-                        attr.class = 'iconG'
-
-                    }
-
-                    var li = this.genrateElement('li',
-                        attr, dockIcon);
-                    dockLi.push(li);
-                }
-            }
-
-            var dockUl = this.genrateElement('ul', {}, dockLi);
-
-
-
-            var dock = this.genrateElement('div', {
-                'class': 'slideMenu dragArea'
-            }, dockUl);
-
-            var gridBoxUl = this.genrateElement('ul', {});
-
-            var gridBox = this.genrateElement('div', {
-                'class': 'grid-container',
-            }, gridBoxUl);
-
-
-            if (this.options.dock && this.options.dock.position) {
-                if (this.options.dock.position == "right") {
-                    this.$el.append(gridBox);
-                    this.$el.append(dock);
-                    this.$el.addClass("right");
-                } else {
-                    this.$el.append(dock);
-                    this.$el.append(gridBox);
-                    this.$el.addClass("left");
-                }
-
-            } else {
-                this.$el.append(dock);
-                this.$el.append(gridBox);
-            }
-            this.$el.addClass("dashbord")
-
-            this.bindEvent();
-            this.createCss();
-
-        },
-        /**
-         * [bindEvent bind all event i.e click,mouseenter,mouseleave,change(select)]
-         * @return {[type]} [description]
-         */
-        bindEvent: function() {
-            var that = this;
-            var dockObject = this.options.dock;
-
-            if (dockObject && dockObject.draggable) {
-                if (dockObject.draggable.el) {
-                    if (dockObject.draggable.el instanceof jQuery) {
-                        dockObject.draggable.el.draggable(dockObject.draggable);
-                    } else if (typeof c == "string") {
-                        $(dockObject.draggable.el).draggable(dockObject.draggable);
-                    }
-                } else {
-                    this.$el.find('.slideMenu li.iconG').draggable(dockObject.draggable);
-                }
-            }
-            if (dockObject && dockObject.droppable) {
-                //dockObject.droppable.appendTo:
-                dockObject.droppable['drop'] = function(event, ui) {
-
-                    that.createGrid(ui.draggable);
-                }
-                if (dockObject.droppable.el) {
-                    if (dockObject.droppable.el instanceof jQuery) {
-                        dockObject.droppable.el.droppable(dockObject.droppable);
-                    } else if (typeof c == "string") {
-                        $(dockObject.droppable.el).droppable(dockObject.droppable);
-                    }
-
-                } else {
-                    this.$el.find('.grid-container').droppable(dockObject.droppable);
-                }
-            }
-            if (dockObject && dockObject.dockClick) {
-                if (dockObject.draggable && dockObject.draggable.el) {
-                    if (dockObject.droppable.el instanceof jQuery) {
-                        dockObject.droppable.el.click(function() {
-                            that.createGrid($(this));
-                        });
-                    } else if (typeof c == "string") {
-                        $(dockObject.droppable.el).click(function() {
-                            that.createGrid($(this));
-                        });
-                    }
-
-                } else {
-                    this.$el.find('.slideMenu li.iconG').click(function() {
-                        that.createGrid($(this));
-                    })
-                }
-            }
-            this.initializeGridster();
-        },
-        createGrid: function(el) {
-            var that = this;
-            if (el && el.data()) {
-                var attr = {};
-                attr = $.extend({}, el.data());
-                if (attr.uiDraggable) {
-                    delete attr.uiDraggable
-                }
-                for (var index in attr) {
-                    attr["data-" + index] = attr[index]
-                    delete attr[index]
-                }
-
-                var li = that.genrateElement('li',
-                    attr);
-                that.addWidget(li, 3, 2);
-            } else {
-                that.addWidget('<li/>', 3, 2);
-            }
-
-        },
-        initializeGridster: function() {
-            gridsterPrototypeFn = this.$el.find('.grid-container ul').gridster(this.options).data('gridster');
-            $.extend(dashboard.prototype, gridsterPrototypeFn);
-            if (this.options.onLoaded) {
-                this.options.onLoaded();
-            } else {
-                this.el.trigger("dashboard:loaded");
-            }
-        },
-        /**
-         * [genrateElement description]
-         * @param  {[Jquery Object]}  element     [selector]
-         * @param  {[type]}  elementAttr [description]
-         * @param  {[javascript Object or text]}  chilled      [If we pass javascript object or  array it will append all chilled and if you pass string it will add string(value) inside element ]
-         * @param  {Boolean} isSvg       [If it is svg then it will create svg element]
-         * @return {[type]}              [description]
-         */
-        genrateElement: function(element, elementAttr, chilled, isSvg) {
-
-
-            if (isSvg) {
-                var elementObject = document.createElementNS('http://www.w3.org/2000/svg', element);
-            } else {
-                var elementObject = document.createElement(element);
-            }
-            if (elementAttr) {
-                for (var key in elementAttr) {
-                    elementObject.setAttribute(key, elementAttr[key]);
-                }
-            }
-            if (chilled) {
-                if (chilled instanceof Array) {
-                    for (var chilleds in chilled) {
-                        elementObject.appendChild(chilled[chilleds]);
-                    }
-                } else if (typeof chilled == 'string') {
-                    elementObject.innerHTML = chilled;
-                } else {
-                    elementObject.appendChild(chilled);
-                }
-
-            }
-
-            return elementObject;
-
-        },
-        /**
-         * [createCss function will create css dynamically it is insert style attribute in  in head ]
-         * @param  {[type]} options [options has mapColor,selectedColor,hoverColor ]
-         * @return {[type]}         [description]
-         */
-        createCss: function(options) {
-            var style = document.createElement('style');
-            style.type = 'text/css';
-            var strVar = "";
-            strVar += ".grid-container {";
-            strVar += "    position: relative;";
-            strVar += "    list-style: none;";
-            strVar += "    min-height: 250px !important;";
-            strVar += "    width: 92%;";
-            strVar += "    float: left;";
-            strVar += "    border: 2px #ddd dotted;";
-            strVar += "    margin-left: 1%;";
-            strVar += "}";
-            strVar += ".slideMenu{";
-            strVar += "    width: 7%;";
-            strVar += "    float: left;";
-            strVar += "    min-height: 250px;";
-            strVar += "}";
-            strVar += ".slideMenu .iconG i {";
-            strVar += "    font-size: 33px;";
-            strVar += "    text-shadow: 4px 4px 1px #DADADA;";
-            strVar += "}";
-            strVar += ".dashbord .gs-w {";
-            strVar += "    background: #FFF;";
-            strVar += "    cursor: pointer;";
-            strVar += "    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);";
-            strVar += "    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);";
-            strVar += "}";
-            strVar += "";
-            strVar += ".dashbord {";
-            strVar += "    padding: 3px;";
-            strVar += "}";
-            strVar += "";
-            strVar += ".dashbord ul,";
-            strVar += "ol {";
-            strVar += "    list-style: none;";
-            strVar += "}";
-            strVar += ".dashbord > * {";
-            strVar += "    margin: 0;";
-            strVar += "}";
-            strVar += ".dashbord .preview-holder {";
-            strVar += "    background-color: #999;";
-            strVar += "}";
-            strVar += "";
-            strVar += ".slideMenu ul{";
-            strVar += "    list-style: none;";
-            strVar += "    margin: 0;";
-            strVar += "    padding: 0px;";
-            strVar += "}";
-            strVar += ".slideMenu li i {";
-            strVar += "  height: 64px;";
-            strVar += "  -webkit-transition: all 0.3s;";
-            strVar += "  -webkit-transform-origin: 50% 100%;";
-            strVar += "}";
-            strVar += ".dashbord.left .slideMenu li:hover i {";
-            strVar += "     cursor: pointer;";
-            strVar += "    -webkit-transform: scale(2);";
-            strVar += "    margin-top: 59px;";
-            strVar += "    margin-left: 34px;";
-            strVar += "    margin-bottom: -47px;";
-            strVar += "}";
-            strVar += ".dashbord.right .slideMenu li:hover i {";
-            strVar += "     cursor: pointer;";
-            strVar += "    -webkit-transform: scale(2);";
-            strVar += "    margin-top: 59px;";
-            strVar += "    margin-right: 34px;";
-            strVar += "    margin-bottom: -47px;";
-            strVar += "}";
-            strVar += ".dashbord.right .slideMenu li{";
-            strVar += "     text-align: right;";
-            strVar += "}";
-            strVar += ".dashbord.left .slideMenu li{";
-            strVar += "     text-align: left;";
-            strVar += "}";
-            style.innerHTML = strVar;
-            document.getElementsByTagName('head')[0].appendChild(style);
-
-        }
-    };
-    /**
-     * [Plugin Staring point for plugin]
-     * @param {[type]} option [user options which can be override the default options]
-     */
-    var that = this
-
-    function Plugin(option) {
-        return this.each(function() {
-            var $el = $(this)
-            var options = $.extend({}, dashboard.DEFAULTS, $el.data(), typeof option == 'object' && option);
-            $el.data('dashboard', new dashboard($el, options));
-
-
-
-        });
-    };
-
-    $.fn.dashboard = Plugin;
-
-
-}));


Mime
View raw message