mirror of
https://github.com/Hopiu/django-fobi.git
synced 2026-05-11 22:33:09 +00:00
74 lines
No EOL
2.9 KiB
HTML
74 lines
No EOL
2.9 KiB
HTML
{% extends fobi_theme.base_template %}
|
|
|
|
{% load i18n static %}
|
|
|
|
{% block layout-stylesheets %}
|
|
<!-- Custom styles for this template -->
|
|
<link href="{% static 'css/fobi_example_home.css' %}" rel="stylesheet">
|
|
{% endblock layout-stylesheets %}
|
|
|
|
{% block body-attrs %} class="standalone"{% endblock body-attrs %}
|
|
|
|
{% block page-title %}{% trans 'Home' %}{% endblock %}
|
|
{% block site-title %}{% trans "django-fobi example site" %}{% endblock site-title %}
|
|
|
|
{% block navbar-menu %}
|
|
{% endblock navbar-menu %}
|
|
|
|
{% block main-content-wrapper %}
|
|
<div class="jumbotron">
|
|
<div class="container">
|
|
<h1>django-fobi</h1>
|
|
{% blocktrans %}
|
|
<p>
|
|
Welcome to `django-fobi` (later on named just `Fobi`) - a customisable, modular, developer-friendly form
|
|
builder application for Django. With `Fobi` you can build Django forms using a user-friendly GUI,
|
|
save or mail posted form data. Developer-friendly API allows you to build your own form elements
|
|
and form handlers (mechanisms for handling the submitted form data).
|
|
</p>
|
|
{% endblocktrans %}
|
|
<p><a href="http://pythonhosted.org/django-fobi/#screenshots" class="btn btn-primary btn-lg" role="button">{% trans "Learn more" %}</a></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<!-- Example row of columns -->
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<h2>{% trans "Dashboard" %}</h2>
|
|
{% url 'fobi.dashboard' as fobi_dashboard_url %}
|
|
{% blocktrans with fobi_dashboard_url as dashboard_url %}
|
|
<p>The `Fobi` dashboard, where you can see all the forms you have created, edit them (add/remove elements,
|
|
form handlers), create new forms as well as remove existing ones.</p>
|
|
<p><a class="btn btn-default" href="{{ dashboard_url }}" role="button">Go to dashboard »</a></p>
|
|
{% endblocktrans %}
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h2>{% trans "Create a form" %}</h2>
|
|
{% url 'fobi.create_form_entry' as fobi_create_form_entry_url %}
|
|
{% blocktrans with fobi_create_form_entry_url as create_form_entry_url %}
|
|
<p>Create your first form using awesome user-friendly GUI. Choose what to do with the posted data.</p>
|
|
<p><a class="btn btn-default" href="{{ create_form_entry_url }}" role="button">Create form »</a></p>
|
|
{% endblocktrans %}
|
|
</div>
|
|
<div class="col-md-4">
|
|
<h2>{% trans "See the admin part" %}</h2>
|
|
{% url 'admin:index' as fobi_admin_url %}
|
|
{% blocktrans with fobi_admin_url as admin_url %}
|
|
<p>See the Django-admin for saved data, as well as choose who to grant with permissions of using
|
|
one or another `Fobi` plugin (form element or form handler).</p>
|
|
<p><a class="btn btn-default" href="{{ admin_url }}" role="button">Go to admin »</a></p>
|
|
{% endblocktrans %}
|
|
</div>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<footer>
|
|
<p>{{ fobi_theme.footer_text|safe }}</p>
|
|
</footer>
|
|
</div> <!-- /container -->
|
|
{% endblock main-content-wrapper %}
|
|
|
|
{% block sidebar-wrapper %}
|
|
{% endblock sidebar-wrapper %} |