|
1 | 1 | #!/usr/bin/env bash |
2 | 2 | ## obtain original index_template.html etc. |
3 | | -<<<<<<< HEAD |
4 | | -cd cellxgene; git checkout d99aac49564b98a51ebfab114fd59846c693fd62 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js; cd .. |
5 | | -======= |
6 | 3 | cd cellxgene |
7 | | -git checkout 735eb11eb78b5e6c35ba84438970d0ce369604e1 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js |
| 4 | +git checkout d99aac49564b98a51ebfab114fd59846c693fd62 client/index_template.html client/src/components/leftSidebar/topLeftLogoAndTitle.js client/src/components/leftSidebar/index.js |
8 | 5 | cd .. |
9 | | ->>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d |
10 | 6 |
|
11 | 7 | read -d '' insertL << EOF |
12 | 8 | <script src="https://interactivereport.github.io/cellxgene_VIP/static/jquery.min.js"></script> |
@@ -45,11 +41,7 @@ read -d '' insertL << EOF |
45 | 41 | }, |
46 | 42 | headerTitle: function () {return '<strong>Visualization in Plugin</strong>'}, |
47 | 43 | contentAjax: { |
48 | | -<<<<<<< HEAD |
49 | | - url: 'static/interface.html', |
50 | | -======= |
51 | 44 | url: window.location.href.replace(/\\\/+$/,'')+'/static/interface.html', |
52 | | ->>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d |
53 | 45 | done: function (panel) { |
54 | 46 | setInnerHTML(panel.content, this.responseText); |
55 | 47 | } |
@@ -81,13 +73,9 @@ sed -i "s|<div id=\"root\"></div>|$insertL\n&|" "cellxgene/client/index_template |
81 | 73 | sed -i "s|logoRelatedPadding = 50|logoRelatedPadding = 60|" "cellxgene/client/src/components/leftSidebar/index.js" |
82 | 74 |
|
83 | 75 | strPath=$(python -c "import server as _; print(_.__file__.replace('/server/__init__.py',''))") |
84 | | -<<<<<<< HEAD |
85 | 76 | cd cellxgene/client; make build |
86 | 77 | cp build/index.html $strPath/server/common/web/templates/ |
87 | 78 | rm $strPath/server/common/web/static/main-*.* |
88 | 79 | rm $strPath/server/common/web/static/obsolete-*.* |
89 | 80 | cp build/static/* $strPath/server/common/web/static/ |
90 | 81 | cd ../.. |
91 | | -======= |
92 | | -cd cellxgene/client; make build; cp build/index.html $strPath/server/common/web/templates/; cd ../.. |
93 | | ->>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d |
0 commit comments