Files
mediacms/templates/cms/publish_media.html
Markos Gogoulos 10cc4eb069 1
2026-03-14 16:29:54 +02:00

44 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load static %}
{% block headtitle %}Publish media - {{PORTAL_NAME}}{% endblock headtitle %}
{% block headermeta %}{% endblock headermeta %}
{% block extra_head %}
<script>
(function() {
var url = new URL(window.location.href);
if (sessionStorage.getItem('lms_embed_mode') === 'true' && url.searchParams.get('mode') !== 'lms_embed_mode') {
url.searchParams.set('mode', 'lms_embed_mode');
window.location.replace(url.toString());
}
})();
</script>
<style>
#div_id_state ul {
display: flex;
flex-wrap: wrap;
gap: 12px;
list-style: none;
padding: 0;
margin: 0;
}
#div_id_state ul li {
display: flex;
align-items: center;
gap: 6px;
}
</style>
{% endblock extra_head %}
{% block innercontent %}
<div class="user-action-form-wrap">
{% include "cms/media_nav.html" with active_tab="publish" %}
<div style="max-width: 900px; margin: 0 auto; padding: 20px; border-radius: 8px; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);">
{% csrf_token %}
{% crispy form %}
</div>
</div>
{% endblock innercontent %}