Commit 57f09071 authored by Taylor Hanayik's avatar Taylor Hanayik
Browse files

add simple webpage and update ci

parent f6eb5087
Pipeline #10370 passed with stages
......@@ -4,6 +4,9 @@ pages:
- docker
- apk add --no-cache build-base git git-lfs
- git lfs install
- git lfs pull
- mkdir public
- mv index.html public/
- mv Oxford-MM-0 public/
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<body style="font-family: sans-serif;">
<strong>niivue doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
<h1 style="margin: 20px;">
<div id="demo1" style="width:90%; height:400px; margin:20px;">
<canvas id="gl1" height=480 width=640>
<script src=""></script>
var volumeList = [
// first item is brackground image
url: "./Oxford-MM-0/oxford-mm-0_T1_brain.nii.gz",//"./images/RAS.nii.gz", "./images/spm152.nii.gz",
volume: {hdr: null, img: null},
name: "mni152",
intensityMin: 0, // not used yet
intensityMax: 100, // not used yet
intensityRange:[0, 100], // not used yet
colorMap: "gray",
opacity: 100,
visible: true,
var nv1 = new niivue.Niivue()
Markdown is supported
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