admin rendering
This commit is contained in:
		@ -6850,6 +6850,16 @@ a.tag:hover {
 | 
				
			|||||||
  margin-top: auto !important;
 | 
					  margin-top: auto !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.grid-2 {
 | 
				
			||||||
 | 
					  display: grid;
 | 
				
			||||||
 | 
					  grid-template-columns: 1fr 1fr;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.grid-3 {
 | 
				
			||||||
 | 
					  display: grid;
 | 
				
			||||||
 | 
					  grid-template-columns: 1fr 1fr 1fr;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.flex-row {
 | 
					.flex-row {
 | 
				
			||||||
  display: flex;
 | 
					  display: flex;
 | 
				
			||||||
  flex-direction: row;
 | 
					  flex-direction: row;
 | 
				
			||||||
 | 
				
			|||||||
@ -12,11 +12,10 @@
 | 
				
			|||||||
            :init-data="{% track_inline_data formset=formset %}"
 | 
					            :init-data="{% track_inline_data formset=formset %}"
 | 
				
			||||||
            settings-url="{% url "api:user-settings" %}"
 | 
					            settings-url="{% url "api:user-settings" %}"
 | 
				
			||||||
            data-prefix="{{ formset.prefix }}-">
 | 
					            data-prefix="{{ formset.prefix }}-">
 | 
				
			||||||
        {% comment %}
 | 
					 | 
				
			||||||
        <template #title>
 | 
					        <template #title>
 | 
				
			||||||
            <h5 class="title is-4">{% trans "Playlist" %}</h5>
 | 
					            <h5 class="title is-4">{% trans "Playlist" %}</h5>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
        <template v-slot:top="{items}">
 | 
					        <template #top="{items}">
 | 
				
			||||||
            <input type="hidden" name="{{ formset.prefix }}-TOTAL_FORMS"
 | 
					            <input type="hidden" name="{{ formset.prefix }}-TOTAL_FORMS"
 | 
				
			||||||
                :value="items.length || 0"/>
 | 
					                :value="items.length || 0"/>
 | 
				
			||||||
            <input type="hidden" name="{{ formset.prefix }}-INITIAL_FORMS"
 | 
					            <input type="hidden" name="{{ formset.prefix }}-INITIAL_FORMS"
 | 
				
			||||||
@ -80,7 +79,6 @@
 | 
				
			|||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
        {% endif %}
 | 
					        {% endif %}
 | 
				
			||||||
        {% endfor %}
 | 
					        {% endfor %}
 | 
				
			||||||
    {% endcomment %}
 | 
					 | 
				
			||||||
    </a-playlist-editor>
 | 
					    </a-playlist-editor>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
{% endwith %}
 | 
					{% endwith %}
 | 
				
			||||||
 | 
				
			|||||||
@ -12,7 +12,7 @@
 | 
				
			|||||||
                <span>{% translate "Today" %}</span>
 | 
					                <span>{% translate "Today" %}</span>
 | 
				
			||||||
            </h1>
 | 
					            </h1>
 | 
				
			||||||
            {% if diffusions %}
 | 
					            {% if diffusions %}
 | 
				
			||||||
            <div class="card-grid">
 | 
					            <div class="grid-3">
 | 
				
			||||||
                {% for obj in diffusions %}
 | 
					                {% for obj in diffusions %}
 | 
				
			||||||
                    {% page_widget "card" obj.episode diffusion=obj timetable=True admin=True tag_class="" %}
 | 
					                    {% page_widget "card" obj.episode diffusion=obj timetable=True admin=True tag_class="" %}
 | 
				
			||||||
                {% endfor %}
 | 
					                {% endfor %}
 | 
				
			||||||
 | 
				
			|||||||
@ -14,6 +14,10 @@
 | 
				
			|||||||
.push-right, .flex-push-right { margin-left: auto !important; }
 | 
					.push-right, .flex-push-right { margin-left: auto !important; }
 | 
				
			||||||
.push-bottom { margin-top: auto !important; }
 | 
					.push-bottom { margin-top: auto !important; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.grid-2 { display: grid; grid-template-columns: 1fr 1fr }
 | 
				
			||||||
 | 
					.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.flex-row { display: flex; flex-direction: row }
 | 
					.flex-row { display: flex; flex-direction: row }
 | 
				
			||||||
.flex-column { display: flex; flex-direction: column }
 | 
					.flex-column { display: flex; flex-direction: column }
 | 
				
			||||||
.flex-grow-0 { flex-grow: 0 !important; }
 | 
					.flex-grow-0 { flex-grow: 0 !important; }
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user