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