File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 9
9
z-index : 1 ;
10
10
}
11
11
12
+ .upload-data-banner {
13
+ position : fixed;
14
+ top : 0 ;
15
+ width : 100% ;
16
+ }
17
+
12
18
.node text {
13
19
font : 10px sans-serif;
14
20
}
Original file line number Diff line number Diff line change 60
60
<button class =" modal-close" {{ action (action (mut showUploadModal ) false )}} ></button >
61
61
</div >
62
62
63
- {{ outlet }}
63
+ {{ #if graph.data }}
64
+ {{ outlet }}
65
+ {{ else }}
66
+ <section class =" upload-data-banner hero is-fullheight is-light" >
67
+ <div class =" hero-body" >
68
+ <div class =" container has-text-centered" >
69
+ <a href =" #" {{ action (action (mut showUploadModal ) true )}} >
70
+ <h1 class =" title" >
71
+ <i class =" fa fa-exclamation-triangle" ></i >
72
+ </h1 >
73
+ <h2 class =" subtitle" >
74
+ Please upload data.
75
+ </h2 >
76
+ </a >
77
+ </div >
78
+ </div >
79
+ </section >
80
+ {{ /if }}
You can’t perform that action at this time.
0 commit comments