File: 01_use_libjs-query_package.patch

package info (click to toggle)
recon-ng 5.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 612 kB
  • sloc: python: 3,535; javascript: 643; sh: 90; makefile: 4
file content (28 lines) | stat: -rw-r--r-- 1,659 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: use javascript functions from libjs-jquery package instead of fetching them from network.
Author: Marcos Fouces <marcos@debian.org>
Last-Update: 2018-11-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/recon/core/web/templates/index.html
+++ b/recon/core/web/templates/index.html
@@ -8,7 +8,7 @@
     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='normalize.css') }}">
     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='skeleton.css') }}">
     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='recon.css') }}">
-    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
+    <script type="text/javascript" src="{{ url_for('static', filename='jquery.min.js') }}"></script>
     <script type="text/javascript" src="{{ url_for('static', filename='sorttable.js') }}"></script>
 </head>
 <body>
--- a/recon/core/web/templates/pushpin.html
+++ b/recon/core/web/templates/pushpin.html
@@ -9,7 +9,7 @@
     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='skeleton.css') }}">
     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='recon.css') }}">
     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='pushpin.css') }}">
-    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
+    <script type="text/javascript" src="{{ url_for('static', filename='jquery.min.js') }}"></script>
 </head>
 <body>
     <div class="toolbar rounded shaded">