Skip to content
Snippets Groups Projects
Commit 8754327c authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

Add some examples for launch badges (closes #1)

parent 94ad5722
No related branches found
No related tags found
No related merge requests found
Pipeline #339904 passed
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="149" height="20" role="img" aria-label="Launch: RWTHjupyter"><title>Launch: RWTHjupyter</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="149" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="66" height="20" fill="#555"/><rect x="66" width="83" height="20" fill="#00549f"/><rect width="149" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAAOCAQAAAAlUpyVAAAACXBIWXMAAAEWAAABFgGExyN2AAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAYtJREFUOI2tks0rhFEUxn/uiEKhKEpK2bBjIQs26l0aGwsWLEQKZcP/oKwsyEeKUCymlJJ4U0h2JJQoO58LkZp8jDMWc2a8921kfDx385z73HN/ndtFotaKyLkMS4Gsaf0shSCNiTwEIFO+ruSrDEBm47XBVoByBthjSetMuqw8KCX8Un5UTOUEuVDfLQFPkk7331EbOARZ0aqJGXWlBK2OTslQN4SDw3AiGcTBYe4rVHrCXRkXxOWOHCCNbcJkAdDLiKejiGZ1J8YFz4Pum02Quu+niimgO1FOWdC9BiqsM/1fXebTgdzLPS1JUFIs7azqJJvmllEN0mgH4F3rGqpSQuWSTz7x57amCjNKPQAv9IE5ZEeTSgCOiGhdnRLKJw/KPDKvNgMB8MwF8MSqVX+nNhwcNpKgrKtjXzrEpZWPpYSIa9e4xuU6Kcocs6W2Q7LBRJiymtc5+xHMkv8HxufKoxWACV49h6NM/h9qmSt1PQDmhpCVTxP+J5R5Y1xtldQCn3PG8gcWf4v6ACBbrlHxc+tNAAAAAElFTkSuQmCC"/><text aria-hidden="true" x="425" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="390">Launch</text><text x="425" y="140" transform="scale(.1)" fill="#fff" textLength="390">Launch</text><text aria-hidden="true" x="1065" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="730">RWTHjupyter</text><text x="1065" y="140" transform="scale(.1)" fill="#fff" textLength="730">RWTHjupyter</text></g></svg>
\ No newline at end of file
...@@ -55,3 +55,26 @@ A normal user can start up to 10 named servers. E.g. for using several profiles ...@@ -55,3 +55,26 @@ A normal user can start up to 10 named servers. E.g. for using several profiles
**Schema:** `https://jupyter.rwth-aachen.de/hub/spawn?profile={{ profile_slug }}&next=/user-redirect/lab/tree/{{ notebook_path }}` **Schema:** `https://jupyter.rwth-aachen.de/hub/spawn?profile={{ profile_slug }}&next=/user-redirect/lab/tree/{{ notebook_path }}`
**Example:** https://jupyter.rwth-aachen.de/hub/spawn?profile=gdet3&next=/user-redirect/lab/tree/gdet3/GDET3%20Faltung%20GUI.ipynb **Example:** https://jupyter.rwth-aachen.de/hub/spawn?profile=gdet3&next=/user-redirect/lab/tree/gdet3/GDET3%20Faltung%20GUI.ipynb
## Badge
You can use the following Markdown or HTML snippets to embed a badge into your `README.md` files or Moodle activities for launching a Notebook:
### Example
[![](https://jupyter.pages.rwth-aachen.de/documentation/images/badge-launch-rwth-jupyter.svg)](https://jupyter.rwth-aachen.de/hub/spawn?profile=pti&next=/user-redirect/lab/tree/pti/index.ipynb)
[![](https://mybinder.org/static/images/badge_logo.svg)](https://mybinder.org/v2/git/https%3A%2F%2Fgit.rwth-aachen.de%2FIENT%2Fpti/master?urlpath=lab/tree/index.ipynb)
### Markdown
```markdown
[![](https://jupyter.pages.rwth-aachen.de/documentation/images/badge-launch-rwth-jupyter.svg)](https://jupyter.rwth-aachen.de/hub/spawn?profile=pti&next=/user-redirect/lab/tree/pti/index.ipynb)
[![](https://mybinder.org/static/images/badge_logo.svg)](https://mybinder.org/v2/git/https%3A%2F%2Fgit.rwth-aachen.de%2FIENT%2Fpti/master?urlpath=lab/tree/index.ipynb)
```
### HTML
```html
<a href="https://jupyter.rwth-aachen.de/hub/spawn?profile=pti&next=/user-redirect/lab/tree/pti/index.ipynb"><img src="https://jupyter.pages.rwth-aachen.de/documentation/images/badge-launch-rwth-jupyter.svg" /></a>
<a href="https://mybinder.org/v2/git/https%3A%2F%2Fgit.rwth-aachen.de%2FIENT%2Fpti/master?urlpath=lab/tree/index.ipynb"><img src="https://mybinder.org/static/images/badge_logo.svg" /></a>
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment