From c35e6365ffc48e1d77fc3fe0f13be853b70ff1d4 Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Wed, 27 May 2020 23:03:00 +0100 Subject: [PATCH] From PI --- dasettings/templates/dasettings/settings.html | 128 +++++++++--------- .../__pycache__/__init__.cpython-37.pyc | Bin 160 -> 143 bytes .../__pycache__/settings.cpython-37.pyc | Bin 2936 -> 3957 bytes .../__pycache__/urls.cpython-37.pyc | Bin 1511 -> 2475 bytes media/ag_default.jpg | Bin 38719 -> 0 bytes .../__pycache__/__init__.cpython-37.pyc | Bin 0 -> 150 bytes .../__pycache__/counter_tag.cpython-37.pyc | Bin 0 -> 12780 bytes users/__pycache__/__init__.cpython-37.pyc | Bin 150 -> 133 bytes users/signals.py | 4 +- 9 files changed, 66 insertions(+), 66 deletions(-) create mode 100644 standards/templatetags/__pycache__/__init__.cpython-37.pyc create mode 100644 standards/templatetags/__pycache__/counter_tag.cpython-37.pyc diff --git a/dasettings/templates/dasettings/settings.html b/dasettings/templates/dasettings/settings.html index 44ceb7a..afea91e 100644 --- a/dasettings/templates/dasettings/settings.html +++ b/dasettings/templates/dasettings/settings.html @@ -6,13 +6,13 @@ @@ -20,14 +20,14 @@ + {% endif %} + {% if user|usergperm:"structuremanager" %}
Struktur{% if request.user.profile.showtooltips %} {% endif %} @@ -136,7 +136,7 @@ {% endblock %}
{% endif %} - {% if user|usergperm:"usermanager" %} + {% if user|usergperm:"usermanager" %}
Mitarbeiter{% if request.user.profile.showtooltips %} {% endif %} @@ -147,7 +147,7 @@ {% endblock %}
{% endif %} - {% if user|usergperm:"groupmanager" %} + {% if user|usergperm:"groupmanager" %}
Gruppen{% if request.user.profile.showtooltips %} {% endif %} @@ -158,9 +158,9 @@ {% endblock %}
{% endif %} - {% if user|usergperm:"modulesconfig" %} + {% if user|usergperm:"modulesconfig" %}
-
Module{% if request.user.profile.showtooltips %} {% endif %}
+
Module{% if request.user.profile.showtooltips %} {% endif %}
{% block moduls_content %} {% include "dasettings/moduls_content.html" %} {% endblock %} @@ -172,7 +172,7 @@ var defaultsettingsview = "profil"; /* COOKIE FOR SAVING OPEN TAB */ - $(document).ready(function(){ + $(document).ready(function(){ $(".toast").toast({ autohide: true, @@ -180,15 +180,15 @@ var defaultsettingsview = "profil"; }); //Check prev Side var activeTab = localStorage.getItem('activeTabSettings'); - - if(activeTab){ + + if(activeTab){ if($('#' + activeTab).find().prevObject.length != 0){ - $('#' + activeTab).tab('show'); + $('#' + activeTab).tab('show'); $(".nav-link").removeClass("active"); - + $("#" + activeTab + "-tab").addClass("active"); - + } else{ @@ -197,19 +197,19 @@ var defaultsettingsview = "profil"; } } else{ - + $("#profil-tab").addClass("active"); $('#profil').tab('show'); } }); - - + + $('#settingsTabs a').on('click', function (e) { e.preventDefault(); - $(this).tab('show'); + $(this).tab('show'); lastview_name = $(this)[0]['hash'].substring(1); - localStorage.setItem('activeTabSettings', lastview_name); + localStorage.setItem('activeTabSettings', lastview_name); }); @@ -242,9 +242,9 @@ var VIDEOTITLE_agency = "Informationsvideo Agentur und Agenturfunktionen" -$(document).ready(function(){ +$(document).ready(function(){ - $("#modaltitle_video_agn").html(VIDEOTITLE_agn); + $("#modaltitle_video_agn").html(VIDEOTITLE_agn); //VIDEOCONTROLS $( MODALNAME_agn ).on('shown.bs.modal', function(e){ @@ -265,25 +265,25 @@ $(document).ready(function(){ player_agn = new YT.Player('video-placeholder_agn', { width: 760, height: 500, - videoId: VIDEOURL_agn, + videoId: VIDEOURL_agn, }); player_structure = new YT.Player('video-placeholder_structure', { width: 760, height: 500, - videoId: VIDEOURL_structure, + videoId: VIDEOURL_structure, }); player_users = new YT.Player('video-placeholder_users', { width: 760, height: 500, - videoId: VIDEOURL_users, + videoId: VIDEOURL_users, }); player_agency = new YT.Player('video-placeholder_agency', { width: 760, height: 500, - videoId: VIDEOURL_agency, + videoId: VIDEOURL_agency, }); } @@ -303,7 +303,7 @@ $(document).ready(function(){
@@ -316,9 +316,9 @@ $(document).ready(function(){ -->