Coverage for templates/home.html: 53%
43 statements
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-26 00:11 +0000
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-26 00:11 +0000
1{% extends 'base_home.html' %}
2{% load i18n %}
3{% load static %}
5{% block title %}{% trans 'federated avatar hosting service' %}{% endblock %}
7{% block content %}
9{% url 'new_account' as new_account_url %}
11<div class="hero">
12 <div class="container">
13 <header>
14 <h1 id='app'>{{ site_name }}</h1>
15 <h2>{% trans 'freeing the web one face at a time' %}</h2>
16 {% if user.is_anonymous %}
17 <a href="/accounts/login/" class="btn btn-lg btn-primary">{% trans 'Login' %}</a>
18 <a href="/accounts/new/" class="btn btn-lg btn-primary">{% trans 'Sign up' %}</a>
19 {% else %}
20 <div class="btn-group">
21 <a class="btn btn-lg btn-primary dropdown-toggle" href="#" id="account_dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
22 <i class="fa fa-user" aria-hidden="true"></i> {{ request.user }}
23 </a>
24 <ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
25 <li><a href="{% url 'profile' %}"><i class="fa fa-fw fa-image" aria-hidden="true"></i> {% trans 'Profile' %}</a></li>
26 <li><a href="{% url 'user_preference' %}"><i class="fa fa-fw fa-cog" aria-hidden="true"></i> {% trans 'Preferences' %}</a></li>
27 <li><a href="{% url 'import_photo' %}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {% trans 'Import photo via mail address' %}</a></li>
28 <li><a href="{% url 'upload_export' %}"><i class="fa fa-fw fa-file-archive-o" aria-hidden="true"></i> {% trans 'Import libravatar XML export' %}</a></li>
29 <li><a href="{% url 'password_change' %}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> {% trans 'Change password' %}</a></li>
30 <li><a href="{% url 'password_reset' %}"><i class="fa fa-fw fa-unlock-alt" aria-hidden="true"></i> {% trans 'Reset password' %}</a></li>
31 <li>{% include '_account_logout.html' %}</li>
32 {% if user.is_staff %}
33 <li>
34 <a href="{% url 'admin:index' %}" target="_new"><i class="fa fa-fw fa-user-secret" aria-hidden="true"></i> {% trans 'Admin' %}</a>
35 </li>
36 {% endif %}
37 </ul>
38 </div>
39 {% endif %}
40 <a href="/tools/check/" class="btn btn-lg btn-primary">{% trans 'Check' %}</a>
41 </header>
42 </div>
43</div>
44<section class="content">
45 <div class="container">
46 <div class="text-center">
47 <h2 style="text-transform: capitalize;font-size: 35px;">{% trans 'The open avatar service' %}</h2>
48 <p>{% blocktrans %}{{ site_name }} is a service which delivers your avatar (profile picture) to other websites. If you create an account with us, your photo could start popping up next to forum posts or blog comments on any site where you left your email address.{% endblocktrans %}<br>
49 <a href="https://wiki.libravatar.org/description/">{% trans 'Read more...' %}</a></p>
50 </div>
51 <hr/>
53 <div class="main-content-container">
54 <div class="left">
56 <h2 style="text-transform: capitalize;">{% trans 'Federated Open Source Service' %}</h1>
57 <p>{% trans 'This service is powered by <a href="https://www.gnu.org/licenses/agpl.html">Free and Open Source software</a> called <a href="https://git.linux-kernel.at/oliver/ivatar" target="_new">ivatar</a>. With this software you can also <a href="https://wiki.libravatar.org/running_your_own/">run your own instance</a> and serve avatars yourself.' %}</p>
58 <hr>
59 <h2>{% trans 'Simple API for Developers' %}</h1>
60 <p>{% trans 'Application developers can easily add support for this service using our <a href="https://wiki.libravatar.org/api/">simple API</a> or one of the <a href="https://wiki.libravatar.org/libraries/">libraries and plugins</a> available for a number of platforms and languages.' %}</p>
61 <hr/>
62 <a id="contribute" class="button" href="https://wiki.libravatar.org/contribute/">{% trans 'Contribute' %}</a>
65 </div>
66 <div class="middle">
67 <h2 style="text-transform: capitalize;">Useful links</h1>
68 <a class="button" href="{% url 'contact' %}" style="width: 20rem;font-size: 18px;">{% trans 'Contact us' %}</a><br/>
69 <a class="button" href="{% url 'security' %}" style="width: 20rem;font-size: 18px;">{% trans 'Security' %}</a><br/>
70 <a class="button" href="https://git.linux-kernel.at/oliver/ivatar/" target="_new" style="width: 20rem;font-size: 18px;">{% trans 'Source code' %}</a><br/>
71 <a class="button" href="https://git.linux-kernel.at/oliver/ivatar/issues" target="_new" style="width: 20rem;font-size: 18px;">{% trans 'Report bugs' %}</a><br/>
72 <a class="button" href="https://wiki.libravatar.org/talk_to_us/" target="_new" style="width: 20rem;font-size: 18px;">{% trans 'Questions' %}</a><br/>
73 <a class="button" href="https://wiki.libravatar.org/" target="_new" style="width: 20rem;font-size: 18px;">{% trans 'Wiki' %}</a><br/>
74 <a class="button" href="http://blog.libravatar.org/" target="_new" style="width: 20rem;font-size: 18px;">{% trans 'Blog' %}</a><br/>
76 </div>
77 <div class="right">
78 <h2 style="text-transform: capitalize;">{% trans 'Social media' %}</h1>
79 <a class="button" rel="me" href="https://photog.social/@libravatar" target="_new" style="width: 20rem;font-size: 18px;">Mastodon</a><br/>
80 <a class="button" href="https://identi.ca/libravatar" target="_new" style="width: 20rem;font-size: 18px;">Identica</a><br/>
81 <a class="button" href="https://twitter.com/libravatar" target="_new" style="width: 20rem;font-size: 18px;">Twitter</a><br/>
83 </div>
84 </div>
85 <div style="padding-bottom:10px;" class="text-center">
86 <h3>{% trans 'Big thanks to our sponsors without whom none of this would be possible!' %}</h3>
87 <a href="https://fedoraproject.org/" target="_new" ><img src="{% static '/img/Fedora_logo.png' %}" title="Fedora Project" alt="{% trans 'Fedora Logo' %}"></a>
88 <br/>
89 <a href="https://gandi.net/" target="_new" ><img src="{% static '/img/gandi_logo.png' %}" height="60" title="Gandi" alt="{% trans 'Gandi Logo' %}"></a>
90 </div>
91 <div style="padding-bottom:10px;" class="text-center">
92 <h3>{% trans 'Awards' %}</h3>
93 <br/>
94 {% include 'surely-badge.html' %}
95 </div>
97 </section>
98 {% endblock %}