hub.sr.ht/hubsrht/templates/sources-new.html

51 lines
1.5 KiB
HTML

{% extends "resource-new.html" %}
{% block title %}
<title>New source repository - {{project.name}}</title>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-lg-10" method="POST">
<h3>Add source code repository</h3>
<div class="event-list">
<div class="event">
<a
class="btn btn-primary pull-right"
href="{{url_for("sources.git_new_GET",
owner=owner, project_name=project.name)}}"
>Add git repositories&nbsp;{{icon('caret-right')}}</a>
<h3 style="border: none; padding-bottom: 0">
Git
</h3>
</div>
<div class="event">
<a
class="btn btn-primary pull-right"
href="{{url_for("sources.hg_new_GET",
owner=owner, project_name=project.name)}}"
>Add hg repositories&nbsp;{{icon('caret-right')}}</a>
<h3 style="border: none; padding-bottom: 0">
Mercurial
</h3>
</div>
</div>
{# TODO
<div class="form-group text-right">
<div class="form-check form-check-inline">
<label class="form-check-label">
<input
class="form-check-input"
type="checkbox"
name="remember-preference"> Remember my preference
</label>
</div>
</div>
#}
<div class="alert alert-info">
{{cfg("sr.ht", "site-name")}} supports multiple version control systems.
You may use any combination of version control systems in your project.
If you're not sure, choose git.
</div>
</div>
</div>
{% endblock %}