forked from GNUsocial/gnu-social
[CSS] .section-widget class and derivatives replaced as .frame-section, since a widget implies a simple element with a specific function
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
{% block collection_items %}
|
||||
{% for key, attachment in attachments %}
|
||||
<section class="section-widget section-padding">
|
||||
<section class="frame-section frame-section-padding">
|
||||
{% include '/cards/attachments/view.html.twig' with {'attachment': attachment, 'note': bare_notes[key], 'title': attachment.getBestTitle(bare_notes[key])} only %}
|
||||
<a class="section-widget-button-like"
|
||||
<a class="frame-section-button-like"
|
||||
href="{{ attachment.getDownloadUrl(bare_notes[key]) }}"> {{ 'Download link' | trans }}</a>
|
||||
</section>
|
||||
{% else %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% import '/cards/note/view.html.twig' as noteView %}
|
||||
|
||||
<section class="section-widget section-padding">
|
||||
<section class="frame-section frame-section-padding">
|
||||
<div class="section-title">
|
||||
<h2 class="heading-no-margin">
|
||||
{{ 'Notes related' | trans }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<section class="section-widget section-padding">
|
||||
<section class="frame-section frame-section-padding">
|
||||
<div class="section-title">
|
||||
<h2 class="heading-no-margin">
|
||||
{{ 'Attachment tags' | trans }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if actor_tags is not empty %}
|
||||
<div class="section-widget section-padding">
|
||||
<div class="frame-section frame-section-padding">
|
||||
<h2>Related tags:</h2>
|
||||
{% for at in actor_tags %}
|
||||
{% include 'cards/tag/actor_tag.html.twig' with { 'tag': at, 'actor': null } %}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if note_tags is not empty %}
|
||||
<div class="section-widget section-padding">
|
||||
<div class="frame-section frame-section-padding">
|
||||
<h2>Related tags:</h2>
|
||||
|
||||
{% for nt in note_tags %}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
{% block body %}
|
||||
{% if note is defined or actor is defined %}
|
||||
<div class="section-padding">
|
||||
<div class="frame-section-padding">
|
||||
{% if note is defined and note is not null %}
|
||||
{{ noteView.macro_note(note, {}) }}
|
||||
{% elseif actor is defined and actor is not null %}
|
||||
@@ -20,7 +20,7 @@
|
||||
<p>{{ label }}</p>
|
||||
{{ form(tags_form) }}
|
||||
{% endif %}
|
||||
<div class="section-widget-button-like">
|
||||
<div class="frame-section-button-like">
|
||||
<a href="{{ url('settings', {'open': 'settings-muting-' ~ type ~ '-tags-details'}) }}">{% trans %}Go to %type% muting settings{% endtrans %}</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<section class="section-widget">
|
||||
<details class="section-widget-title-details" title="Expand if you want to access more options.">
|
||||
<summary class="section-title-summary">
|
||||
<section class="frame-section">
|
||||
<details class="section-details-title" title="Expand if you want to access more options.">
|
||||
<summary class="details-title-summary">
|
||||
<h2>Web Monetization</h2>
|
||||
</summary>
|
||||
<section class="section-form">
|
||||
|
||||
Reference in New Issue
Block a user