You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2016/04/11 18:14:43 UTC

[29/51] [partial] ambari git commit: AMBARI-15679. Initial commit for LogSearch module (oleewre)

http://git-wip-us.apache.org/repos/asf/ambari/blob/39c85bb8/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/fonts/fontawesome/fontawesome-webfont.ttf
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/fonts/fontawesome/fontawesome-webfont.ttf b/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/fonts/fontawesome/fontawesome-webfont.ttf
new file mode 100644
index 0000000..d365924
Binary files /dev/null and b/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/fonts/fontawesome/fontawesome-webfont.ttf differ

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

http://git-wip-us.apache.org/repos/asf/ambari/blob/39c85bb8/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/index.html
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/index.html b/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/index.html
new file mode 100644
index 0000000..58f751b
--- /dev/null
+++ b/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/index.html
@@ -0,0 +1,146 @@
+<!--
+  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">
+		<script type="text/javascript" src="libs/other/loadCSS.js"></script>
+		<link href="libs/bower/bootstrap/bootstrap.css" rel="stylesheet">
+		<link href="libs/other/font-awesome/css/font-awesome.css" rel="stylesheet">
+		<!-- <link href="libs/other/jquery-ui/css/jquery-ui-1.11.4.min.css" rel="stylesheet"> -->
+		<script>
+	        // load a file
+	        loadCSS("libs/other/jquery-ui/css/jquery-ui-bootstrap.css");
+	        loadCSS("styles/visualsearch.css");
+	        loadCSS("libs/bower/backgrid/css/backgrid.css");
+	        loadCSS("libs/bower/backgrid-columnmanager/Backgrid.ColumnManager.css");
+	        loadCSS("libs/bower/backgrid-paginator/css/backgrid-paginator.css");
+	        loadCSS("libs/bower/backgrid-sizeable/css/backgrid-sizeable-columns.css");
+	        loadCSS("libs/bower/backgrid-sizeable/backgrid-orderable-columns.css");
+	        loadCSS("libs/other/daterangepicker/css/daterangepicker.css");
+	        loadCSS("styles/animate.css");
+	        loadCSS("libs/bower/select2/select2.css");
+	        loadCSS("libs/other/nvd3/css/nv.d3.min.css");
+	        loadCSS("libs/other/timeline/css/timeline.css");
+	        loadCSS("libs/other/intro/css/introjs.min.css");
+	        loadCSS("libs/other/gridster/css/jquery.gridster.css");
+	      
+    	</script>
+<!-- 		<link href="libs/other/jquery-ui/css/jquery-ui-bootstrap.css" rel="stylesheet">
+		<link href="styles/visualsearch.css" rel="stylesheet">
+		<link rel="stylesheet" type="text/css" media="screen" href="libs/bower/backgrid/css/backgrid.css">
+		<link rel="stylesheet" type="text/css" media="screen" href="libs/bower/backgrid-columnmanager/Backgrid.ColumnManager.css">
+		<link rel="stylesheet" type="text/css" media="screen" href="libs/bower/backgrid-paginator/css/backgrid-paginator.css">
+		<link rel="stylesheet" type="text/css" media="screen" href="libs/bower/backgrid-sizeable/css/backgrid-sizeable-columns.css">
+		<link rel="stylesheet" type="text/css" media="screen" href="libs/bower/backgrid-sizeable/backgrid-orderable-columns.css">
+		<link rel="stylesheet" type="text/css" media="screen" href="libs/other/daterangepicker/css/daterangepicker.css">
+		<link href="libs/bower/select2/select2.css" rel="stylesheet">
+		<link rel="stylesheet" type="text/css" media="screen" href="libs/other/nvd3/css/nv.d3.min.css">
+		<link rel="stylesheet" type="text/css" media="screen" href="libs/other/timeline/css/timeline.css">
+		<link rel="stylesheet" type="text/css" media="screen" href="styles/animate.css">
+		<link href="libs/other/intro/css/introjs.min.css" rel="stylesheet">
+		<link href="libs/other/gridster/css/jquery.gridster.css" rel="stylesheet"> -->
+		<link href="styles/style_v2.css" rel="stylesheet">
+		<link href="styles/style.css" rel="stylesheet">
+		
+		<!-- <link href="plugins/chartist/chartist.min.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-->
+<!-- <div id="screensaver">
+	<canvas id="canvas"></canvas>
+	<i class="fa fa-lock" id="screen_unlock"></i>
+</div> -->
+
+<header class="navbar">
+	<div class="container-fluid expanded-panel">
+		<div class="row">
+			<div id="logo" class="col-xs-12 col-sm-2">
+				<a href="javascript:void(0);">Log Search</a>
+			</div>
+			<div id="r_header"></div>
+		</div>
+	</div>
+</header>
+<!--End Header-->
+<!--Start Container-->
+<div id="main" class="container-fluid">
+	<div class="row">
+		<!--div id="sidebar-left" class="col-xs-2 col-sm-2">
+			<ul class="nav main-menu">
+				<li>
+					<a href="javascript:void(0);" class="ajax-link">
+						<i class="fa fa-dashboard"></i>
+						<span class="hidden-xs">Dashboard</span>
+					</a>
+				</li>
+			</ul>
+		</div-->
+		<!--Start Content-->
+		<div id="content" class="col-xs-12 col-sm-12">
+			<div id="r_content" >
+				<div><img style="position: absolute;top: 7%;left: 44%;" alt="Loading...." src="images/loading_game.gif"></div>
+			</div>
+			<!-- <div class="preloader">
+				<img src="img/devoops_getdata.gif" class="devoops-getdata" alt="preloader"/>
+			</div> -->
+		</div>
+		<!--End Content-->
+	</div>
+</div>
+<!--End Container-->
+<!-- build:js scripts/main.js -->
+		<script data-main="scripts/Init.js?ver=build.version" src="libs/bower/requirejs/js/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>
+<!-- 		<script type="text/javascript" src="libs/other/d3/d3.min.js"></script> -->
+<div class="btn-group contextMenuBody" 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/39c85bb8/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/libs/bower/backbone-amd/js/backbone-min.js
----------------------------------------------------------------------
diff --git a/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/libs/bower/backbone-amd/js/backbone-min.js b/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/libs/bower/backbone-amd/js/backbone-min.js
new file mode 100644
index 0000000..8ea4b13
--- /dev/null
+++ b/ambari-logsearch/ambari-logsearch-portal/src/main/webapp/libs/bower/backbone-amd/js/backbone-min.js
@@ -0,0 +1,2 @@
+(function(t,e){if(typeof define==="function"&&define.amd){define(["underscore","jquery","exports"],function(i,r,s){t.Backbone=e(t,s,i,r)})}else if(typeof exports!=="undefined"){var i=require("underscore");e(t,exports,i)}else{t.Backbone=e(t,{},t._,t.jQuery||t.Zepto||t.ender||t.$)}})(this,function(t,e,i,r){var s=t.Backbone;var n=[];var a=n.push;var o=n.slice;var h=n.splice;e.VERSION="1.1.2";e.$=r;e.noConflict=function(){t.Backbone=s;return this};e.emulateHTTP=false;e.emulateJSON=false;var u=e.Events={on:function(t,e,i){if(!c(this,"on",t,[e,i])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);r.push({callback:e,context:i,ctx:i||this});return this},once:function(t,e,r){if(!c(this,"once",t,[e,r])||!e)return this;var s=this;var n=i.once(function(){s.off(t,n);e.apply(this,arguments)});n._callback=e;return this.on(t,n,r)},off:function(t,e,r){var s,n,a,o,h,u,l,f;if(!this._events||!c(this,"off",t,[e,r]))return this;if(!t&&!e&&!r){this._events=void 0;
 return this}o=t?[t]:i.keys(this._events);for(h=0,u=o.length;h<u;h++){t=o[h];if(a=this._events[t]){this._events[t]=s=[];if(e||r){for(l=0,f=a.length;l<f;l++){n=a[l];if(e&&e!==n.callback&&e!==n.callback._callback||r&&r!==n.context){s.push(n)}}}if(!s.length)delete this._events[t]}}return this},trigger:function(t){if(!this._events)return this;var e=o.call(arguments,1);if(!c(this,"trigger",t,e))return this;var i=this._events[t];var r=this._events.all;if(i)f(i,e);if(r)f(r,arguments);return this},stopListening:function(t,e,r){var s=this._listeningTo;if(!s)return this;var n=!e&&!r;if(!r&&typeof e==="object")r=this;if(t)(s={})[t._listenId]=t;for(var a in s){t=s[a];t.off(e,r,this);if(n||i.isEmpty(t._events))delete this._listeningTo[a]}return this}};var l=/\s+/;var c=function(t,e,i,r){if(!i)return true;if(typeof i==="object"){for(var s in i){t[e].apply(t,[s,i[s]].concat(r))}return false}if(l.test(i)){var n=i.split(l);for(var a=0,o=n.length;a<o;a++){t[e].apply(t,[n[a]].concat(r))}return false}re
 turn true};var f=function(t,e){var i,r=-1,s=t.length,n=e[0],a=e[1],o=e[2];switch(e.length){case 0:while(++r<s)(i=t[r]).callback.call(i.ctx);return;case 1:while(++r<s)(i=t[r]).callback.call(i.ctx,n);return;case 2:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a);return;case 3:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a,o);return;default:while(++r<s)(i=t[r]).callback.apply(i.ctx,e);return}};var d={listenTo:"on",listenToOnce:"once"};i.each(d,function(t,e){u[e]=function(e,r,s){var n=this._listeningTo||(this._listeningTo={});var a=e._listenId||(e._listenId=i.uniqueId("l"));n[a]=e;if(!s&&typeof r==="object")s=this;e[t](r,s,this);return this}});u.bind=u.on;u.unbind=u.off;i.extend(e,u);var p=e.Model=function(t,e){var r=t||{};e||(e={});this.cid=i.uniqueId("c");this.attributes={};if(e.collection)this.collection=e.collection;if(e.parse)r=this.parse(r,e)||{};r=i.defaults({},r,i.result(this,"defaults"));this.set(r,e);this.changed={};this.initialize.apply(this,arguments)};i.extend(p.prototype,u,{cha
 nged:null,validationError:null,idAttribute:"id",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return this.get(t)!=null},set:function(t,e,r){var s,n,a,o,h,u,l,c;if(t==null)return this;if(typeof t==="object"){n=t;r=e}else{(n={})[t]=e}r||(r={});if(!this._validate(n,r))return false;a=r.unset;h=r.silent;o=[];u=this._changing;this._changing=true;if(!u){this._previousAttributes=i.clone(this.attributes);this.changed={}}c=this.attributes,l=this._previousAttributes;if(this.idAttribute in n)this.id=n[this.idAttribute];for(s in n){e=n[s];if(!i.isEqual(c[s],e))o.push(s);if(!i.isEqual(l[s],e)){this.changed[s]=e}else{delete this.changed[s]}a?delete c[s]:c[s]=e}if(!h){if(o.length)this._pending=r;for(var f=0,d=o.length;f<d;f++){this.trigger("change:"+o[f],this,c[o[f]],r)}}if(u)return this;if(!h){while(this._pend
 ing){r=this._pending;this._pending=false;this.trigger("change",this,r)}}this._pending=false;this._changing=false;return this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:true}))},clear:function(t){var e={};for(var r in this.attributes)e[r]=void 0;return this.set(e,i.extend({},t,{unset:true}))},hasChanged:function(t){if(t==null)return!i.isEmpty(this.changed);return i.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?i.clone(this.changed):false;var e,r=false;var s=this._changing?this._previousAttributes:this.attributes;for(var n in t){if(i.isEqual(s[n],e=t[n]))continue;(r||(r={}))[n]=e}return r},previous:function(t){if(t==null||!this._previousAttributes)return null;return this._previousAttributes[t]},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=t?i.clone(t):{};if(t.parse===void 0)t.parse=true;var e=this;var r=t.success;t.success=function(i){if(!e.set(e.parse(i,t),t))return false;if(r)r
 (e,i,t);e.trigger("sync",e,i,t)};q(this,t);return this.sync("read",this,t)},save:function(t,e,r){var s,n,a,o=this.attributes;if(t==null||typeof t==="object"){s=t;r=e}else{(s={})[t]=e}r=i.extend({validate:true},r);if(s&&!r.wait){if(!this.set(s,r))return false}else{if(!this._validate(s,r))return false}if(s&&r.wait){this.attributes=i.extend({},o,s)}if(r.parse===void 0)r.parse=true;var h=this;var u=r.success;r.success=function(t){h.attributes=o;var e=h.parse(t,r);if(r.wait)e=i.extend(s||{},e);if(i.isObject(e)&&!h.set(e,r)){return false}if(u)u(h,t,r);h.trigger("sync",h,t,r)};q(this,r);n=this.isNew()?"create":r.patch?"patch":"update";if(n==="patch")r.attrs=s;a=this.sync(n,this,r);if(s&&r.wait)this.attributes=o;return a},destroy:function(t){t=t?i.clone(t):{};var e=this;var r=t.success;var s=function(){e.trigger("destroy",e,e.collection,t)};t.success=function(i){if(t.wait||e.isNew())s();if(r)r(e,i,t);if(!e.isNew())e.trigger("sync",e,i,t)};if(this.isNew()){t.success();return false}q(this,t);
 var n=this.sync("delete",this,t);if(!t.wait)s();return n},url:function(){var t=i.result(this,"urlRoot")||i.result(this.collection,"url")||M();if(this.isNew())return t;return t.replace(/([^\/])$/,"$1/")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend(t||{},{validate:true}))},_validate:function(t,e){if(!e.validate||!this.validate)return true;t=i.extend({},this.attributes,t);var r=this.validationError=this.validate(t,e)||null;if(!r)return true;this.trigger("invalid",this,r,i.extend(e,{validationError:r}));return false}});var v=["keys","values","pairs","invert","pick","omit"];i.each(v,function(t){p.prototype[t]=function(){var e=o.call(arguments);e.unshift(this.attributes);return i[t].apply(i,e)}});var g=e.Collection=function(t,e){e||(e={});if(e.model)this.model=e.model;if(e.comparator!==void 0)this.comparator=
 e.comparator;this._reset();this.initialize.apply(this,arguments);if(t)this.reset(t,i.extend({silent:true},e))};var m={add:true,remove:true,merge:true};var y={add:true,remove:false};i.extend(g.prototype,u,{model:p,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:false},e,y))},remove:function(t,e){var r=!i.isArray(t);t=r?[t]:i.clone(t);e||(e={});var s,n,a,o;for(s=0,n=t.length;s<n;s++){o=t[s]=this.get(t[s]);if(!o)continue;delete this._byId[o.id];delete this._byId[o.cid];a=this.indexOf(o);this.models.splice(a,1);this.length--;if(!e.silent){e.index=a;o.trigger("remove",o,this,e)}this._removeReference(o,e)}return r?t[0]:t},set:function(t,e){e=i.defaults({},e,m);if(e.parse)t=this.parse(t,e);var r=!i.isArray(t);t=r?t?[t]:[]:i.clone(t);var s,n,a,o,h,u,l;var c=e.at;var f=this.model;var d=this.comparator&&c==null&&e.sort!==false;var v=i.isString(t
 his.comparator)?this.comparator:null;var g=[],y=[],_={};var b=e.add,w=e.merge,x=e.remove;var E=!d&&b&&x?[]:false;for(s=0,n=t.length;s<n;s++){h=t[s]||{};if(h instanceof p){a=o=h}else{a=h[f.prototype.idAttribute||"id"]}if(u=this.get(a)){if(x)_[u.cid]=true;if(w){h=h===o?o.attributes:h;if(e.parse)h=u.parse(h,e);u.set(h,e);if(d&&!l&&u.hasChanged(v))l=true}t[s]=u}else if(b){o=t[s]=this._prepareModel(h,e);if(!o)continue;g.push(o);this._addReference(o,e)}o=u||o;if(E&&(o.isNew()||!_[o.id]))E.push(o);_[o.id]=true}if(x){for(s=0,n=this.length;s<n;++s){if(!_[(o=this.models[s]).cid])y.push(o)}if(y.length)this.remove(y,e)}if(g.length||E&&E.length){if(d)l=true;this.length+=g.length;if(c!=null){for(s=0,n=g.length;s<n;s++){this.models.splice(c+s,0,g[s])}}else{if(E)this.models.length=0;var k=E||g;for(s=0,n=k.length;s<n;s++){this.models.push(k[s])}}}if(l)this.sort({silent:true});if(!e.silent){for(s=0,n=g.length;s<n;s++){(o=g[s]).trigger("add",o,this,e)}if(l||E&&E.length)this.trigger("sort",this,e)}retu
 rn r?t[0]:t},reset:function(t,e){e||(e={});for(var r=0,s=this.models.length;r<s;r++){this._removeReference(this.models[r],e)}e.previousModels=this.models;this._reset();t=this.add(t,i.extend({silent:true},e));if(!e.silent)this.trigger("reset",this,e);return t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);this.remove(e,t);return e},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);this.remove(e,t);return e},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(t==null)return void 0;return this._byId[t]||this._byId[t.id]||this._byId[t.cid]},at:function(t){return this.models[t]},where:function(t,e){if(i.isEmpty(t))return e?void 0:[];return this[e?"find":"filter"](function(e){for(var i in t){if(t[i]!==e.get(i))return false}return true})},findWhere:function(t){return this.where(t,true)},sort:function(t){if(!this.comparator)throw new Error("Cannot sort a se
 t without a comparator");t||(t={});if(i.isString(this.comparator)||this.comparator.length===1){this.models=this.sortBy(this.comparator,this)}else{this.models.sort(i.bind(this.comparator,this))}if(!t.silent)this.trigger("sort",this,t);return this},pluck:function(t){return i.invoke(this.models,"get",t)},fetch:function(t){t=t?i.clone(t):{};if(t.parse===void 0)t.parse=true;var e=t.success;var r=this;t.success=function(i){var s=t.reset?"reset":"set";r[s](i,t);if(e)e(r,i,t);r.trigger("sync",r,i,t)};q(this,t);return this.sync("read",this,t)},create:function(t,e){e=e?i.clone(e):{};if(!(t=this._prepareModel(t,e)))return false;if(!e.wait)this.add(t,e);var r=this;var s=e.success;e.success=function(t,i){if(e.wait)r.add(t,e);if(s)s(t,i,e)};t.save(null,e);return t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(t,e){if(t instanceof p)return t;e=e?i.clone(e):{};e.collectio
 n=this;var r=new this.model(t,e);if(!r.validationError)return r;this.trigger("invalid",this,r.validationError,e);return false},_addReference:function(t,e){this._byId[t.cid]=t;if(t.id!=null)this._byId[t.id]=t;if(!t.collection)t.collection=this;t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){if(this===t.collection)delete t.collection;t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,r){if((t==="add"||t==="remove")&&i!==this)return;if(t==="destroy")this.remove(e,r);if(e&&t==="change:"+e.idAttribute){delete this._byId[e.previous(e.idAttribute)];if(e.id!=null)this._byId[e.id]=e}this.trigger.apply(this,arguments)}});var _=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty
 ","chain","sample"];i.each(_,function(t){g.prototype[t]=function(){var e=o.call(arguments);e.unshift(this.models);return i[t].apply(i,e)}});var b=["groupBy","countBy","sortBy","indexBy"];i.each(b,function(t){g.prototype[t]=function(e,r){var s=i.isFunction(e)?e:function(t){return t.get(e)};return i[t](this.models,s,r)}});var w=e.View=function(t){this.cid=i.uniqueId("view");t||(t={});i.extend(this,i.pick(t,E));this._ensureElement();this.initialize.apply(this,arguments);this.delegateEvents()};var x=/^(\S+)\s*(.*)$/;var E=["model","collection","el","id","attributes","className","tagName","events"];i.extend(w.prototype,u,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){this.$el.remove();this.stopListening();return this},setElement:function(t,i){if(this.$el)this.undelegateEvents();this.$el=t instanceof e.$?t:e.$(t);this.el=this.$el[0];if(i!==false)this.delegateEvents();return this},delegateEvents:function(t){if(
 !(t||(t=i.result(this,"events"))))return this;this.undelegateEvents();for(var e in t){var r=t[e];if(!i.isFunction(r))r=this[t[e]];if(!r)continue;var s=e.match(x);var n=s[1],a=s[2];r=i.bind(r,this);n+=".delegateEvents"+this.cid;if(a===""){this.$el.on(n,r)}else{this.$el.on(n,a,r)}}return this},undelegateEvents:function(){this.$el.off(".delegateEvents"+this.cid);return this},_ensureElement:function(){if(!this.el){var t=i.extend({},i.result(this,"attributes"));if(this.id)t.id=i.result(this,"id");if(this.className)t["class"]=i.result(this,"className");var r=e.$("<"+i.result(this,"tagName")+">").attr(t);this.setElement(r,false)}else{this.setElement(i.result(this,"el"),false)}}});e.sync=function(t,r,s){var n=T[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:n,dataType:"json"};if(!s.url){a.url=i.result(r,"url")||M()}if(s.data==null&&r&&(t==="create"||t==="update"||t==="patch")){a.contentType="application/json";a.data=JSON.stringify(s.attrs||r.toJSO
 N(s))}if(s.emulateJSON){a.contentType="application/x-www-form-urlencoded";a.data=a.data?{model:a.data}:{}}if(s.emulateHTTP&&(n==="PUT"||n==="DELETE"||n==="PATCH")){a.type="POST";if(s.emulateJSON)a.data._method=n;var o=s.beforeSend;s.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",n);if(o)return o.apply(this,arguments)}}if(a.type!=="GET"&&!s.emulateJSON){a.processData=false}if(a.type==="PATCH"&&k){a.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var h=s.xhr=e.ajax(i.extend(a,s));r.trigger("request",r,h,s);return h};var k=typeof window!=="undefined"&&!!window.ActiveXObject&&!(window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent);var T={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var S=/\((.*?)\)/g;var H=/(\(\?)?:\w+/g;var A=/\*\w+/g;var I=
 /[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend($.prototype,u,{initialize:function(){},route:function(t,r,s){if(!i.isRegExp(t))t=this._routeToRegExp(t);if(i.isFunction(r)){s=r;r=""}if(!s)s=this[r];var n=this;e.history.route(t,function(i){var a=n._extractParameters(t,i);n.execute(s,a);n.trigger.apply(n,["route:"+r].concat(a));n.trigger("route",r,a);e.history.trigger("route",n,r,a)});return this},execute:function(t,e){if(t)t.apply(this,e)},navigate:function(t,i){e.history.navigate(t,i);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=i.result(this,"routes");var t,e=i.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(I,"\\$&").replace(S,"(?:$1)?").replace(H,function(t,e){return e?t:"([^/?]+)"}).replace(A,"([^?]*?)");return new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return i.map(r,function(t,e){if(e===r.length-1)return t||null;return t?decodeURIComponent(t):n
 ull})}});var N=e.History=function(){this.handlers=[];i.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var R=/^[#\/]|\s+$/g;var O=/^\/+|\/+$/g;var P=/msie [\w.]+/;var C=/\/$/;var j=/#.*$/;N.started=false;i.extend(N.prototype,u,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=decodeURI(this.location.pathname+this.location.search);var i=this.root.replace(C,"");if(!t.indexOf(i))t=t.slice(i.length)}else{t=this.getHash()}}return t.replace(R,"")},start:function(t){if(N.started)throw new Error("Backbone.history has already been started");N.started=true;this.options=i.extend({root:"/"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!
 !this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment();var s=document.documentMode;var n=P.exec(navigator.userAgent.toLowerCase())&&(!s||s<=7);this.root=("/"+this.root+"/").replace(O,"/");if(n&&this._wantsHashChange){var a=e.$('<iframe src="javascript:0" tabindex="-1">');this.iframe=a.hide().appendTo("body")[0].contentWindow;this.navigate(r)}if(this._hasPushState){e.$(window).on("popstate",this.checkUrl)}else if(this._wantsHashChange&&"onhashchange"in window&&!n){e.$(window).on("hashchange",this.checkUrl)}else if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}this.fragment=r;var o=this.location;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){this.fragment=this.getFragment(null,true);this.location.replace(this.root+"#"+this.fragment);return true}else if(this._hasPushState&&this.atRoot()&&o.hash){this.fragment=this.getHash().repl
 ace(R,"");this.history.replaceState({},document.title,this.root+this.fragment)}}if(!this.options.silent)return this.loadUrl()},stop:function(){e.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl);if(this._checkUrlInterval)clearInterval(this._checkUrlInterval);N.started=false},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe){e=this.getFragment(this.getHash(this.iframe))}if(e===this.fragment)return false;if(this.iframe)this.navigate(e);this.loadUrl()},loadUrl:function(t){t=this.fragment=this.getFragment(t);return i.any(this.handlers,function(e){if(e.route.test(t)){e.callback(t);return true}})},navigate:function(t,e){if(!N.started)return false;if(!e||e===true)e={trigger:!!e};var i=this.root+(t=this.getFragment(t||""));t=t.replace(j,"");if(this.fragment===t)return;this.fragment=t;if(t===""&&i!=="/")i=i.slice(0,-1);if(this._hasPushState){this.history[e.replace?"replaceSta
 te":"pushState"]({},document.title,i)}else if(this._wantsHashChange){this._updateHash(this.location,t,e.replace);if(this.iframe&&t!==this.getFragment(this.getHash(this.iframe))){if(!e.replace)this.iframe.document.open().close();this._updateHash(this.iframe.location,t,e.replace)}}else{return this.location.assign(i)}if(e.trigger)return this.loadUrl(t)},_updateHash:function(t,e,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else{t.hash="#"+e}}});e.history=new N;var U=function(t,e){var r=this;var s;if(t&&i.has(t,"constructor")){s=t.constructor}else{s=function(){return r.apply(this,arguments)}}i.extend(s,r,e);var n=function(){this.constructor=s};n.prototype=r.prototype;s.prototype=new n;if(t)i.extend(s.prototype,t);s.__super__=r.prototype;return s};p.extend=g.extend=$.extend=w.extend=N.extend=U;var M=function(){throw new Error('A "url" property or function must be specified')};var q=function(t,e){var i=e.error;e.error=function(r){if(i)i(t,r,e);t.trigger("error"
 ,t,r,e)}};return e});
+//# sourceMappingURL=backbone-min.map
\ No newline at end of file