File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 11<script lang =" ts" >
22 import DataSet from ' ../data/DataSet' ;
3- import { datasetTree } from ' ../store' ;
3+ import { datasetTree , version } from ' ../store' ;
44 import ImportDataSetsMenu from ' ./ImportDataSetsMenu.svelte' ;
55 import TreeInnerNode from ' ./tree/TreeInnerNode.svelte' ;
66 import TreeLeafNode from ' ./tree/TreeLeafNode.svelte' ;
1919 {/if }
2020 {/each }
2121 </div >
22+ <div class =" credits" >
23+ <a href ="https://github.com/cmu-delphi/www-epivis/releases/v {version }" >EpiVis v{version }</a > © {new Date ().getFullYear ()},
24+ Delphi Group<br />
25+ <a href =" https://github.com/cmu-delphi/www-epivis/" >Source Code</a > under
26+ <a href =" https://github.com/cmu-delphi/www-epivis/blob/main/LICENSE" >MIT license</a ><br />
27+ </div >
2228</side >
2329
2430<style >
2531 .left {
2632 padding : 0.5em 1em 0.5em 0.5em ;
2733 border-right : 1px solid grey ;
34+ display : flex ;
35+ flex-direction : column ;
2836 }
2937 .tree {
3038 margin-top : 1em ;
39+ flex : 1 1 0 ;
3140 }
3241 .tree > :global(div .tv_node ) {
3342 padding-left : 0 !important ;
3443 }
44+ .credits {
45+ font-size : 0.75rem ;
46+ }
3547 </style >
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ import { NavMode } from './components/chartUtils';
33import DataSet , { DataGroup } from './data/DataSet' ;
44import deriveLinkDefaults , { getDirectLinkImpl } from './deriveLinkDefaults' ;
55
6+ declare const __VERSION__ : string ;
7+
8+ export const version = __VERSION__ ;
9+
610const defaults = deriveLinkDefaults ( ) ;
711
812export const datasetTree = writable < DataGroup > ( defaults . group ) ;
You can’t perform that action at this time.
0 commit comments