Skip to content

Commit

Permalink
filemanager issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanhashmey committed Jan 26, 2024
1 parent 5b72b8c commit 514d1a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion baseTemplate/static/baseTemplate/newBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,17 @@ function getCookie(name) {
return cookieValue;
}

var newapp = angular.module('cybercpV2', []);
var newapp = angular.module('cybercpV2', ['angularFileUpload']);

newapp.config(['$interpolateProvider', function ($interpolateProvider) {
$interpolateProvider.startSymbol('{$');
$interpolateProvider.endSymbol('$}');
}]);

newapp.controller('dashboardV2', function ($scope, $http, $timeout) {
alert('dashboardV2');


function getStuff() {


Expand Down
11 changes: 11 additions & 0 deletions baseTemplate/templates/baseTemplate/newBase.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,19 @@
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/[email protected]/dist/flowbite.js"></script>
{% load static %}

<script src="{% static 'baseTemplate/angularjs.1.6.5.js' %}"></script>
<script src="{% static 'baseTemplate/jquery.3.2.1.js' %}"></script>


<script src="{% static 'filemanager/js/es5-shim.min.js' %}"></script>
<script src="{% static 'filemanager/js/es5-sham.min.js' %}"></script>
<script src="{% static 'filemanager/js/jquery-1.8.3.min.js' %}"></script>
<script src="{% static 'filemanager/js/console-sham.js' %}"></script>
<script src="{% static 'filemanager/js/ace/ace.js' %}"></script>


<script src="{% static 'filemanager/js/angular-file-upload.min.js' %}"></script>
<link rel="stylesheet" type="text/css" href="{% static 'baseTemplate/custom-js/pnotify.custom.min.css' %}">
<link type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css"
rel="stylesheet"/>
Expand Down

0 comments on commit 514d1a8

Please sign in to comment.