Sam Jeston
History
26 lines·
1012 Bytes
·HTML
| 1 | {% extends "base.html" %} |
| 2 | {% block content %} |
| 3 | <section class="hero"> |
| 4 | <h1>Git hosting you run yourself.</h1> |
| 5 | <p class="hero-lead">Openhub is a small, self-hosted home for your repositories. Push over SSH, browse code and history, and review changes with pull requests.</p> |
| 6 | <div class="hero-actions"> |
| 7 | {% if can_register %}<a class="btn btn-primary btn-lg" href="/register">Create an account</a>{% endif %} |
| 8 | <a class="btn btn-lg" href="/login">Sign in</a> |
| 9 | </div> |
| 10 | </section> |
| 11 | <section class="section"> |
| 12 | <div class="section-header"> |
| 13 | <h2>Public repositories</h2> |
| 14 | <a href="/explore">View all {{ crate::web::fmt::icon("arrow-right")|safe }}</a> |
| 15 | </div> |
| 16 | {% if repos.is_empty() %} |
| 17 | <div class="blankslate"> |
| 18 | {{ crate::web::fmt::icon("book-marked")|safe }} |
| 19 | <h3>No public repositories yet</h3> |
| 20 | <p>Repositories made public on this server will appear here.</p> |
| 21 | </div> |
| 22 | {% else %} |
| 23 | <div class="box">{% include "partials/repo_list.html" %}</div> |
| 24 | {% endif %} |
| 25 | </section> |
| 26 | {% endblock %} |