mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-18 21:09:42 -05:00
Added: a) playlists' functions/pages, b) advanced filters in search results page, c) role filter in users management page, d) media search field in navigation tabs of profiles' pages
This commit is contained in:
17
templates/cms/playlist.html
Executable file
17
templates/cms/playlist.html
Executable file
@@ -0,0 +1,17 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block headtitle %}Playlist - {{PORTAL_NAME}}{% endblock headtitle %}
|
||||
|
||||
{% block topimports %}
|
||||
<link href="{% static "css/playlist.css" %}" rel="preload" as="style">
|
||||
<link href="{% static "css/playlist.css" %}" rel="stylesheet">
|
||||
{%endblock topimports %}
|
||||
|
||||
{% block content %}
|
||||
{% if user %}<div id="page-playlist"></div>{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/playlist.js" %}"></script>
|
||||
{% endblock bottomimports %}
|
||||
33
templates/cms/user_playlists.html
Executable file
33
templates/cms/user_playlists.html
Executable file
@@ -0,0 +1,33 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block headtitle %}{% if user.name %}{{user.name}} - {% endif %}Playlists - {{PORTAL_NAME}}{% endblock headtitle %}
|
||||
|
||||
{% block headermeta %}
|
||||
|
||||
<meta property="og:title" content="{% if user.name %}{{user.name}} - {% endif %}Playlists - {{PORTAL_NAME}}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
{% endblock headermeta %}
|
||||
|
||||
{% block topimports %}
|
||||
<link href="{% static "css/profile-playlists.css" %}" rel="preload" as="style">
|
||||
<link href="{% static "css/profile-playlists.css" %}" rel="stylesheet">
|
||||
{%endblock topimports %}
|
||||
|
||||
{% block innercontent %}
|
||||
{% if user %}{% else %}
|
||||
No such user
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if user %}<div id="page-profile-playlists"></div>{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/profile-playlists.js" %}"></script>
|
||||
{% endblock bottomimports %}
|
||||
Reference in New Issue
Block a user