[UI] Fixed FAQ template issues

This commit is contained in:
rainydaysavings 2020-07-19 12:15:04 +01:00 committed by Hugo Sales
parent 19a96539aa
commit 0b0bd31a4b
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
6 changed files with 101 additions and 153 deletions

View File

@ -2,7 +2,6 @@
display: flex;
flex-wrap: wrap;
margin-top: calc(2 * var(--unit-size) + var(--main-size) + 0.15em);
;
justify-content: center;
align-items: center;
margin-left: calc(var(--nav-size));

View File

@ -3,34 +3,15 @@
{% block title %}Help{% endblock %}
{% block body %}
<div class='content'>
<nav class='faq-nav'>
<ul>
<li>
<a href="{{ path('doc_faq') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_faq' %}active{% endif %}'>FAQ</a>
</li>
<li>
<a href="{{ path('doc_contact') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_contact' %}active{% endif %}'>Contact</a>
</li>
<li>
<a href="{{ path('doc_tags') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_tags' %}active{% endif %}'>Tags</a>
</li>
<li>
<a href="{{ path('doc_groups') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_groups' %}active{% endif %}'>Groups</a>
</li>
<li>
<a href="{{ path('doc_openid') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_openid' %}active{% endif %}'>OpenID</a>
</li>
</ul>
</nav>
<div class="markd">
{% block markdown %}
{{ parent() }}
{% endblock %}
{% block markdown %}
{% apply markdown_to_html %}
## Bugs
If you think you've found a bug in the underlying [GNU social](https://gnu.io/social/) software, or if there's a new feature you'd like to see, add it into the [GNU social task list](https://git.gnu.io/gnu/gnu-social/issues). Don't forget to
check the list of existing bugs to make sure it hasn't already been reported! ## Post a notice If you have a question about how to do something, just post a notice with your question, preferrably tagged with #NewHere. Watch your inbox for replies.
## Post a notice
If you have a question about how to do something, just post a notice with your question, preferrably tagged with #NewHere. Watch your inbox for replies.
{% endapply %}
{% endblock %}
</div>
</div>
{% endblock %}

View File

@ -1,42 +1,37 @@
{% extends 'faq/faq.html.twig' %}
{% block title %}Help{% endblock %}
{% block body %}
<div class='content'>
<nav class='faq-nav'>
<ul>
<li>
<a href="{{ path('doc_faq') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_faq' %}active{% endif %}'>FAQ</a>
</li>
<li>
<a href="{{ path('doc_contact') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_contact' %}active{% endif %}'>Contact</a>
</li>
<li>
<a href="{{ path('doc_tags') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_tags' %}active{% endif %}'>Tags</a>
</li>
<li>
<a href="{{ path('doc_groups') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_groups' %}active{% endif %}'>Groups</a>
</li>
<li>
<a href="{{ path('doc_openid') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_openid' %}active{% endif %}'>OpenID</a>
</li>
</ul>
</nav>
<div class="markd">
{% block markdown %}
{{ parent() }}
{% endblock %}
{% block markdown %}
{% apply markdown_to_html %}
## Groups
Users on GNU social can create _groups_ that other users can join. Groups can be a great way to share information and entertainment with a group of people who have a common interest or background; who work together on a team; or who have a
particular knowledge or skill. You can find out about groups on the server on the Groups page. You can join a group by clicking on the "Join" button either in the group list or on the group's home page. ## Starting a new group You can start a new
group for friends and colleagues. Note that all groups are free for anyone to join. To start a new group, use the **new group** tool and fill out the form. Describe your group as best you can if you want people to be able to find it. When choosing
the nickname for your group, try to keep it short. The nickname is sometimes included in messages to and from the group, so the less chars the better. Try using acronyms for organizations, or airport codes for places (like 'pdx' instead of
'portland'). ## Sending messages to a group You can send a message to a group using the syntax "!groupname" anywhere in the message. If you have more than one group named, the notice will go to each group. Only members can send notices to a group,
and groups do not respond to direct messages (DMs). You can also select the group from the "To:" drop down when posting. You can make a group message private by clicking the "private" button before posting. ## Receiving messages New group messages
will appear in your inbox, and will also come to your phone or IM client if you've set them up to receive notices. ## Private groups The administrator can make a group private. For a private group, all notices will marked as private for group members
only. Also, administrators will have to approve all new members to the group. Private groups are visible in the group directory.
Users on GNU social can create groups that other users can join. Groups can be a great way to share information and entertainment with a group of people who have a common interest or background; who work together on a team; or who have a particular knowledge or skill.
You can find out about groups on the server on the Groups page. You can join a group by clicking on the "Join" button either in the group list or on the group's home page.
## Starting a new group
You can start a new group for friends and colleagues. Note that all groups are free for anyone to join.
To start a new group, use the new group tool and fill out the form. Describe your group as best you can if you want people to be able to find it.
When choosing the nickname for your group, try to keep it short. The nickname is sometimes included in messages to and from the group, so the less chars the better. Try using acronyms for organizations, or airport codes for places (like 'pdx' instead of 'portland').
## Sending messages to a group
You can send a message to a group using the syntax "!groupname" anywhere in the message. If you have more than one group named, the notice will go to each group. Only members can send notices to a group, and groups do not respond to direct messages (DMs).
You can also select the group from the "To:" drop down when posting.
You can make a group message private by clicking the "private" button before posting.
## Receiving messages
New group messages will appear in your inbox, and will also come to your phone or IM client if you've set them up to receive notices.
## Private groups
The administrator can make a group private. For a private group, all notices will marked as private for group members only. Also, administrators will have to approve all new members to the group.
Private groups are visible in the group directory.
{% endapply %}
{% endblock %}
</div>
</div>
{% endblock %}

View File

@ -3,42 +3,27 @@
{% block title %}Help{% endblock %}
{% block body %}
<div class='content'>
<nav class='faq-nav'>
<ul>
<li>
<a href="{{ path('doc_faq') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_faq' %}active{% endif %}'>FAQ</a>
</li>
<li>
<a href="{{ path('doc_contact') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_contact' %}active{% endif %}'>Contact</a>
</li>
<li>
<a href="{{ path('doc_tags') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_tags' %}active{% endif %}'>Tags</a>
</li>
<li>
<a href="{{ path('doc_groups') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_groups' %}active{% endif %}'>Groups</a>
</li>
<li>
<a href="{{ path('doc_openid') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_openid' %}active{% endif %}'>OpenID</a>
</li>
</ul>
</nav>
<div class="markd">
{% block markdown %}
{{ parent() }}
{% endblock %}
{% block markdown %}
{% apply markdown_to_html %}
## Openid
GNU social supports the [OpenID](http://openid.net/) standard for single signon between Web sites. OpenID lets you log into many different Web sites without using a different password for each. (See [Wikipedia's OpenID
article](http://en.wikipedia.org/wiki/OpenID) for more information.) If you already have an account on GNU social, you can **login** with your username and password as usual. To use OpenID in the future, you can **add an OpenID to your account**
after you have logged in normally. There are many [Public OpenID providers](http://wiki.openid.net/OpenID-Providers), and you may already have an OpenID-enabled account on another service. - On wikis: If you have an account on an OpenID-enabled wiki,
like [Wikitravel](http://wikitravel.org/), [wikiHow](http://www.wikihow.com/), [Vinismo](http://vinismo.com/), [AboutUs](http://aboutus.org/) or [Keiki](http://kei.ki/), you can log in to LoadAverage by entering the **full URL** of your user page on
that other wiki in the box above. For example, _http://kei.ki/en/User:Evan_. - [Yahoo!](http://openid.yahoo.com/) : If you have an account with Yahoo!, you can log in to this site by entering your Yahoo!-provided OpenID in the box above. Yahoo!
OpenID URLs have the form _https://me.yahoo.com/yourusername_. - [AOL](http://dev.aol.com/aol-and-63-million-openids) : If you have an account with [AOL](http://www.aol.com/), like an [AIM](http://www.aim.com/) account, you can log in to LoadAverage
by entering your AOL-provided OpenID in the box above. AOL OpenID URLs have the form _http://openid.aol.com/yourusername_. Your username should be all lowercase, no spaces. -
[Blogger](http://bloggerindraft.blogspot.com/2008/01/new-feature-blogger-as-openid-provider.html), [Wordpress.com](http://faq.wordpress.com/2007/03/06/what-is-openid/), [LiveJournal](http://www.livejournal.com/openid/about.bml),
[Vox](http://bradfitz.vox.com/library/post/openid-for-vox.html) : If you have a blog on any of these services, enter your blog URL in the box above. For example, _http://yourusername.blogspot.com/_, _http://yourusername.wordpress.com/_,
_http://yourusername.livejournal.com/_, or _http://yourusername.vox.com/_. Additionally, once you have an account on GNU social, you can use your profile's URL as an OpenID elsewhere as well.
GNU social supports the OpenID standard for single signon between Web sites. OpenID lets you log into many different Web sites without using a different password for each. (See Wikipedia's OpenID article for more information.)
If you already have an account on GNU social, you can login with your username and password as usual. To use OpenID in the future, you can add an OpenID to your account after you have logged in normally.
There are many Public OpenID providers, and you may already have an OpenID-enabled account on another service.
> **On wikis:** If you have an account on an OpenID-enabled wiki, like Wikitravel, wikiHow, Vinismo, AboutUs or Keiki, you can log in to GNU social by entering the full URL of your user page on that other wiki in the box above. For example, http://kei.ki/en/User:Evan.
> **Yahoo!:** If you have an account with Yahoo!, you can log in to this site by entering your Yahoo!-provided OpenID in the box above. Yahoo! OpenID URLs have the form https://me.yahoo.com/yourusername.
> **AOL:** If you have an account with AOL, like an AIM account, you can log in to GNU social by entering your AOL-provided OpenID in the box above. AOL OpenID URLs have the form http://openid.aol.com/yourusername. Your username should be all lowercase, no spaces.
> **Blogger, Wordpress.com, LiveJournal, Vox:** If you have a blog on any of these services, enter your blog URL in the box above. For example, http://yourusername.blogspot.com/, http://yourusername.wordpress.com/, http://yourusername.livejournal.com/, or http://yourusername.vox.com/.
Additionally, once you have an account on GNU social, you can use your profile's URL (https://gnusocial.org/yourusername) as an OpenID elsewhere as well.
{% endapply %}
{% endblock %}
</div>
</div>
{% endblock %}

View File

@ -3,40 +3,28 @@
{% block title %}Help{% endblock %}
{% block body %}
<div class='content'>
<nav class='faq-nav'>
<ul>
<li>
<a href="{{ path('doc_faq') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_faq' %}active{% endif %}'>FAQ</a>
</li>
<li>
<a href="{{ path('doc_contact') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_contact' %}active{% endif %}'>Contact</a>
</li>
<li>
<a href="{{ path('doc_tags') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_tags' %}active{% endif %}'>Tags</a>
</li>
<li>
<a href="{{ path('doc_groups') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_groups' %}active{% endif %}'>Groups</a>
</li>
<li>
<a href="{{ path('doc_openid') }}" class='hover-effect {% if app.request.attributes.get('_route') starts with 'doc_openid' %}active{% endif %}'>OpenID</a>
</li>
</ul>
</nav>
<div class="markd">
{% block markdown %}
{% apply markdown_to_html %}
## What are Tags?
GNU social supports [tags](https://en.wikipedia.org/wiki/Tag_(metadata)) to help you organize your activities here. You can use tags for people and for notices. ## Tagging a notice You can tag a notice using a _hashtag_; a #
character followed by letters and numbers as well as '.', '-', and '_'. Note that accented latin characters are not supported, and non-roman scripts are right out. The HTML for the notice will link to a stream of all the other notices with that tag.
This can be a great way to keep track of a conversation. ## Tagging yourself You can also add tags for yourself on your profile page or by using the edit tags button on your profile page. Use single words to describe yourself, your experiences and
your interest. The tags will become links on your profile page to a list of all the users on the site who use that same tag. It can be a nice way to find people who are related to you geographically or who have a common interest. ## Tagging others
You can also tag other users by using the edit tags button next to their profile. Such tags are called _people tags_. Once you have created a people tag, you can add or remove users from it using the tag's edit form. This makes it easy to organize
your subscriptions into groups and sort through them separately. Also, it will let you create custom lists of people that others can subscribe to. You can also send a notice "to the attention of" your subscribers whom you've marked with a particular
tag (note: _not_ people who've marked themselves with that tag). "@#family hello" will send a notice to all your subscribers you've marked with the tag 'family'. ## Private and public people tags A private people tag is only visible to the creator,
it cannot be subscribed to, but the timeline can be viewed. To create a new private prepend a '.' to the tag in the tags editing box. To set an existing public tag as private or vice-versa, go to the tag's edit page.
{% endapply %}
{% endblock %}
</div>
</div>
{{ parent() }}
{% endblock %}
{% block markdown %}
{% apply markdown_to_html %}
## Tags
GNU social supports tags to help you organize your activities here. You can use tags for people and for notices.
## Tagging a notice
You can tag a notice using a hashtag; a # character followed by letters and numbers as well as '.', '-', and '_'. Note that accented latin characters are not supported, and non-roman scripts are right out.
The HTML for the notice will link to a stream of all the other notices with that tag. This can be a great way to keep track of a conversation.
## Tagging yourself
You can also add tags for yourself on your profile settings page or by using the edit tags button on your profile page. Use single words to describe yourself, your experiences and your interest. The tags will become links on your profile page to a list of all the users on the site who use that same tag. It can be a nice way to find people who are related to you geographically or who have a common interest.
## Tagging others
You can also tag other users by using the edit tags button next to their profile. Such tags are called people tags. Once you have created a people tag, you can add or remove users from it using the tag's edit form. This makes it easy to organize your subscriptions into groups and sort through them separately. Also, it will let you create custom lists of people that others can subscribe to.
You can also send a notice "to the attention of" your subscribers whom you've marked with a particular tag (note: not people who've marked themselves with that tag). "@#family hello" will send a notice to all your subscribers you've marked with the tag 'family'.
## Private and public people tags
A private people tag is only visible to the creator, it cannot be subscribed to, but the timeline can be viewed. To create a new private prepend a '.' to the tag in the tags editing box. To set an existing public tag as private or vice-versa, go to the tag's edit page.
{% endapply %}
{% endblock %}