-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
123 lines (119 loc) · 3.85 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Welcome to Shiny Server!</title>
<style type="text/css">
body, html {
font-family: Helvetica, Arial, sans-serif;
background-color: #F5F5F5;
color: #114;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#titleBar {
height: 80px;
background-color: #3475b4;
overflow: hidden;
border-bottom: 1px solid #3475b3;
-moz-box-shadow: 0px 0px 10px 3px #BBC;
-webkit-box-shadow: 0px 0px 10px 3px #BBC;
box-shadow: 0px 0px 10px 3px #BBC;
}
#titleBar #container {
margin-top: 14px;
}
#titleBar h1 {
margin: 0 auto .5em auto;
padding: .2em;
color: #EEE;
text-align: center;
}
#intro {
background-color: #DDD;
margin: 1em 1em 0 1em;
padding: .75em;
text-align: center;
border: 1px solid #CCC;
font-size: 18px;
}
#intro p {
margin: .3em 0 .3em 0;
}
#outer-content {
max-width: 910px;
margin-left: auto;
margin-right: auto;
}
#content {
margin: 1em auto 1em auto;
float: left;
}
#main{
margin-right: 350px;
float: left;
line-height: 24px;
}
#shiny{
float: left;
width: 305px;
margin-left: -330px;
padding-left: 20px;
border-left: 1px solid #AAA;
}
#shiny iframe {
margin-top: 30px;
}
.caption{
font-size: 13px;
}
code {
background-color: #E5E5E5;
border: 1px solid #AAA;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
padding: 0 .5em 0 .5em;
}
</style>
</head>
<body>
<div id="titleBar">
<div id="container">
<h1>Welcome to Shiny Server!</h1>
</div>
</div>
<div id="outer-content">
<div id="intro">
<p> This site is operating on a Docker deployment of Shiny - <a href="https://hub.docker.com/r/rocker/shiny/" target="_blank">rocker/shiny </a> </p>
</div>
<div id="content">
<div id="main">
<h2> Why? </h2>
<p> If you've been directed here from my other domain, <a href="https://blog.spatialmsk.com/" target="_blank"> spatialmsk.com </a> — then you know why you're here! If not, then you can read briefly <a href="https://blog.spatialmsk.com/about/" target="_blank">about me</a>. </p>
<p> The purpose of this site is for the deployment of Shiny applications. With open source repositorie, the sky is the limit on what can be developed and deployed! I definitely feel like we live in a magical era that will only get better as innovation and collaboration continues to grow in popularity. </p>
<h2> Want to know more? </h2>
<p> You can look at <a href="http://shiny.rstudio.com/">shiny.rstudio.com</a> to take a deeper dive into Shiny or take a look at some of the <a href="http://docs.rstudio.com/shiny-server/#quick-start">Shiny Server Quick Start Guides</a> to learn about some of the different things Shiny Server can do. </p>
<h2> What are the apps on the right? </h2>
<p> The apps on the right are entirely for demonstrative purposes. They are examples from the intial setup of Shiny Server. </p>
</div>
<div id="shiny">
<iframe src="./sample-apps/hello/" style="border: 1px solid #AAA; width: 290px; height: 460px"></iframe>
<div class="caption">
<p> Example of a <code>shiny app</code>. </p>
</div>
<iframe src="./sample-apps/rmd/" style="border: 1px solid #AAA; width: 290px; height: 420px"></iframe>
<div class="caption">
<p> Example of a Shiny doc with <code>rmarkdown</code>. </p>
</div>
</div>
</div>
</div>
</body>
</html>