Skip to content
Snippets Groups Projects
Commit 573b620f authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Customize html for Strand Lab

parent 3239aefa
Branches
Tags
No related merge requests found
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<body> <body>
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar"> <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
<h3>Cellxgene Gateway - Cache Status</h3> <h3>Strand Lab External Cellxgene Gateway - Cache Status</h3>
</header> </header>
<br> <br>
<table class="table"> <table class="table">
......
...@@ -21,20 +21,12 @@ ...@@ -21,20 +21,12 @@
</head> </head>
<body> <body>
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar"> <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
<h3>Cellxgene Gateway - Error</h3> <h3>Strand Lab External Cellxgene Gateway - Error</h3>
</header> </header>
<br> <br>
<div style="margin-left:20px"> <div style="margin-left:20px">
<h4>{{ message }}</h4> <h4>{{ message }}</h4>
<a href="{{ url_for('filecrawl') }}">
Please click here to be redirected to the file directory.
</a>
<br>
<a href="{{ url_for('index') }}">
Please click here to return to the homepage.
</a>
</div>
</body> </body>
</html> </html>
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
<body> <body>
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar"> <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
{% if path %} {% if path %}
<h3>Cellxgene Gateway - {{ path }}</h3> <h3>Strand Lab External Cellxgene Gateway - {{ path }}</h3>
{% else %} {% else %}
<h3>Cellxgene Gateway - FILE CRAWLER</h3> <h3>Strand Lab External Cellxgene Gateway - FILE CRAWLER</h3>
{% endif %} {% endif %}
</header> </header>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</head> </head>
<body> <body>
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar"> <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
<h3>Cellxgene Gateway - HOME</h3> <h3>Strand Lab External Cellxgene Gateway - HOME</h3>
</header> </header>
<br> <br>
...@@ -43,29 +43,5 @@ ...@@ -43,29 +43,5 @@
<a href="{{ url_for('do_GET_status') }}" class="list-group-item list-group-item-action"> <a href="{{ url_for('do_GET_status') }}" class="list-group-item list-group-item-action">
<u>Cache Status: view status of launched cellxgene servers.</u></a> <u>Cache Status: view status of launched cellxgene servers.</u></a>
</div> </div>
<br>
<h1 style="padding-left:35px">
How To Upload Data via SSH and SCP:
</h1>
<ol style="padding-left:85px;">
<li>
Confirm that your ssh key has been properly added. Running the following command should connect you to the server:
</li>
<pre>ssh ec2-user@{{ ip }}</pre>
<li>
Prepare your data on your own machine. They should be in a common folder called 'USER' and should look <br>similar to the following structure:
</li>
<pre>- USER
- hpc.h5ad
- pbmc3k.h5ad</pre>
<li>Copy your data to the server (replace USER with your username):</li>
<pre>ssh ec2-user@{{ ip }} 'mkdir -p {{ cellxgene_data }}/USER/'
ssh ec2-user@{{ ip }} 'mkdir -p {{ cellxgene_data }}/USER/DATA/'
scp -r pbmc3k.h5ad ec2-user@{{ ip }}:{{ cellxgene_data }}/USER/DATA/</pre>
<li>Take a look at your data using the file crawler link above</li>
</ol>
</body> </body>
</html> </html>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</head> </head>
<body> <body>
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar"> <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
<h3>Cellxgene Gateway - Loading<span id='dots'></span></h3> <h3>Strand Lab External Cellxgene Gateway - Loading<span id='dots'></span></h3>
</header> </header>
<br> <br>
...@@ -34,15 +34,7 @@ ...@@ -34,15 +34,7 @@
<p> <p>
The page will refresh shortly. The page will refresh shortly.
</p> </p>
<a href="{{ url_for('filecrawl') }}">
Please click here to be redirected to the file directory.
</a>
<br>
<a href="{{ url_for('index') }}">
Please click here to return to the homepage.
</a>
</div>
<script> <script>
var count = 0; var count = 0;
window.setInterval(function(){ window.setInterval(function(){
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</head> </head>
<body> <body>
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar"> <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
<h3>Cellxgene Gateway - Process Error</h3> <h3>Strand Labe External Cellxgene Gateway - Process Error</h3>
</header> </header>
<br> <br>
<div style="margin-left:20px"> <div style="margin-left:20px">
...@@ -39,12 +39,6 @@ ...@@ -39,12 +39,6 @@
<li><a href="{{ relaunch_url }}"> <li><a href="{{ relaunch_url }}">
Attempt to relaunch the cellxgene server. Attempt to relaunch the cellxgene server.
</a></li> </a></li>
<li><a href="{{ url_for('filecrawl') }}">
Return to the file directory.
</a></li>
<li><a href="{{ url_for('index') }}">
Return to the homepage.
</a></li>
</ul> </ul>
</body> </body>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment