Skip to content

Commit

Permalink
load example email from netlify #5
Browse files Browse the repository at this point in the history
  • Loading branch information
njahn82 committed Dec 3, 2020
1 parent e228ebc commit 2f889d1
Showing 1 changed file with 33 additions and 6 deletions.
39 changes: 33 additions & 6 deletions vignettes/german.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,38 @@
title: "Beispiel E-Mail (Deutsch)"
---

<div class="alert alert-info" role="alert">
<strong>Demnächst mit interaktiver Vorschau.</strong>
Das hier ist nur ein Bildschirmfoto.
<style>
.shiny-app-frame {
margin-top: 50px;
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
}
.shiny-app-frame iframe {
width: 100%;
height: 100%;
border: none;
}
/* must be hidden otherwise it gets overlaid over the app */
footer{
visibility: hidden
}
.page-header{
visibility: hidden
}
</style>


<!-- TODO this needs to be updated manually, until https://github.com/subugoe/hoad/issues/180 -->

<div class="shiny-app-frame">
<iframe id="2343078" src="https://oa-schnelltest-beispiele.netlify.app/">
<p>Ihr Browser kann leider keine eingebetteten Frames anzeigen:
Sie können die eingebettete Seite über den folgenden Verweis aufrufen:
<a href="https://oa-schnelltest-beispiele.netlify.app/">https://oa-schnelltest-beispiele.netlify.app/</a>
</p>
</iframe>
</div>

```{r echo=FALSE, out.width="100%"}
knitr::include_graphics("german/german.png")
```

1 comment on commit 2f889d1

@maxheld83
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, I should've thought of netlify!
btw, I build a wrapper to avoid copy/pasting the iframe html: https://subugoe.github.io/shinycaas/reference/include_app2.html
still have to add that to hooad

Please sign in to comment.