https://github.com/digitalearthafrica/deafrica-sandbox-templates
https://github.com/digitalearthafrica/deafrica-sandbox-templates
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.6%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: digitalearthafrica
- Language: HTML
- Default Branch: main
- Size: 42 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
JupyterHub Templates
This repository contains templates used for JupyterHub.
* templates contains customized templates
Note: By default, JupyterHub already has these files in /usr/local/share/jupyterhub/templates
Customised Errors
The custom/error.html is extending https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyterhub/templates/error.html
the Structure of the template is ```python {% block h1error %} {% endblock h1error %}
{% block errordetail %}
{% endblock errordetail %}
``
use{{ super() }}to inherit original message, or leave it out to completely override the{% block %}`.
404
template code snippet
Sandbox error html render
html
<div class="error">
<h1>
404 : Not Found
</h1>
<p>Jupyter has lots of moons, but this is not one...</p>
</div>
403
401
template code snippet
python
{% elif status_code == 401 %}
<p>
Session has expired: Please <a href="https://{{ domain_name }}/hub/logout">login</a> again.
</p>
Sandbox error html render
html
<div class="error">
<h1>401 : Unauthorized</h1>
<p>Session has expired: Please <a href="https://sandbox.dev.digitalearth.africa/hub/logout">login</a> again.</p>
</div>
400
500
Owner
- Name: Digital Earth Africa
- Login: digitalearthafrica
- Kind: organization
- Website: https://digitalearthafrica.org
- Repositories: 16
- Profile: https://github.com/digitalearthafrica
GitHub Events
Total
- Push event: 4
- Create event: 1
Last Year
- Push event: 4
- Create event: 1
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Nikita Gandhi | n****i@g****m | 1 |
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0