mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-18 21:09:42 -05:00
feat: bulk actions API
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
{% endblock innercontent %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/add-media.js" %}"></script>
|
||||
<script src="{% static "js/add-media.js" %}?v={{ VERSION }}"></script>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function(event) {
|
||||
function getCSRFToken() {
|
||||
|
||||
@@ -41,5 +41,5 @@
|
||||
{% block content %}<div id="page-categories"></div>{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/categories.js" %}"></script>
|
||||
<script src="{% static "js/categories.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
{% block content %}<div id="page-embed"></div>{% endblock content %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/embed.js" %}"></script>
|
||||
<script src="{% static "js/embed.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -43,5 +43,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/featured.js" %}"></script>
|
||||
<script src="{% static "js/featured.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/history.js" %}"></script>
|
||||
<script src="{% static "js/history.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -48,5 +48,5 @@
|
||||
{% block content %}<div id="page-home"></div>{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/index.js" %}"></script>
|
||||
<script src="{% static "js/index.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -43,5 +43,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/latest.js" %}"></script>
|
||||
<script src="{% static "js/latest.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/liked.js" %}"></script>
|
||||
<script src="{% static "js/liked.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -14,5 +14,5 @@
|
||||
{% block content %}<div id="page-manage-comments"></div>{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/manage-comments.js" %}"></script>
|
||||
<script src="{% static "js/manage-comments.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -19,6 +19,6 @@ window.CATEGORIES = {{ categories|safe }};
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/manage-media.js" %}"></script>
|
||||
<script src="{% static "js/manage-media.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
|
||||
@@ -14,5 +14,5 @@
|
||||
{% block content %}<div id="page-manage-users"></div>{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/manage-users.js" %}"></script>
|
||||
<script src="{% static "js/manage-users.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -129,5 +129,5 @@
|
||||
{% block content %}<div id="page-media"></div>{% endblock content %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/media.js" %}"></script>
|
||||
<script src="{% static "js/media.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -41,5 +41,5 @@
|
||||
{% block content %}<div id="page-members"></div>{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/members.js" %}"></script>
|
||||
<script src="{% static "js/members.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/playlist.js" %}"></script>
|
||||
<script src="{% static "js/playlist.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -43,5 +43,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/recommended.js" %}"></script>
|
||||
<script src="{% static "js/recommended.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/search.js" %}"></script>
|
||||
<script src="{% static "js/search.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -41,5 +41,5 @@
|
||||
{% block content %}<div id="page-tags"></div>{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/tags.js" %}"></script>
|
||||
<script src="{% static "js/tags.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -29,5 +29,5 @@ No such user
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/profile-media.js" %}"></script>
|
||||
<script src="{% static "js/profile-media.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
@@ -29,5 +29,5 @@ No such user
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/profile-about.js" %}"></script>
|
||||
<script src="{% static "js/profile-about.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
@@ -29,5 +29,5 @@ No such user
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/profile-playlists.js" %}"></script>
|
||||
<script src="{% static "js/profile-playlists.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
|
||||
37
templates/cms/user_shared_by_me.html
Normal file
37
templates/cms/user_shared_by_me.html
Normal file
@@ -0,0 +1,37 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block headtitle %}{% if user.name %}{{user.name}} - {% endif %}{{PORTAL_NAME}}{% endblock headtitle %}
|
||||
|
||||
{% block headermeta %}
|
||||
|
||||
<meta property="og:title" content="{% if user.name %}{{user.name}} - {% endif %}{{PORTAL_NAME}}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
{% endblock headermeta %}
|
||||
|
||||
{% block topimports %}
|
||||
{% load static %}
|
||||
<link href="{% static "css/profile-media.css" %}?v={{ VERSION }}" rel="preload" as="style">
|
||||
<link href="{% static "css/profile-media.css" %}?v={{ VERSION }}" rel="stylesheet">
|
||||
{%endblock topimports %}
|
||||
|
||||
{% block innercontent %}
|
||||
{% if user %}{% else %}
|
||||
No such user
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if user %}
|
||||
<div id="page-profile-media"></div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/profile-media.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
34
templates/cms/user_shared_with_me.html
Normal file
34
templates/cms/user_shared_with_me.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{% extends "base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block headtitle %}{% if user.name %}{{user.name}} - {% endif %}{{PORTAL_NAME}}{% endblock headtitle %}
|
||||
|
||||
{% block headermeta %}
|
||||
|
||||
<meta property="og:title" content="{% if user.name %}{{user.name}} - {% endif %}{{PORTAL_NAME}}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:description" content="">
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
{% endblock headermeta %}
|
||||
|
||||
{% block topimports %}
|
||||
{% load static %}
|
||||
<link href="{% static "css/profile-media.css" %}?v={{ VERSION }}" rel="preload" as="style">
|
||||
<link href="{% static "css/profile-media.css" %}?v={{ VERSION }}" rel="stylesheet">
|
||||
{%endblock topimports %}
|
||||
|
||||
{% block innercontent %}
|
||||
{% if user %}{% else %}
|
||||
No such user
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if user %}<div id="page-profile-media"></div>{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block bottomimports %}
|
||||
<script src="{% static "js/profile-media.js" %}?v={{ VERSION }}"></script>
|
||||
{% endblock bottomimports %}
|
||||
Reference in New Issue
Block a user