[LNT] r209022 - Unify the use of jQuery

Yi Kong Yi.Kong at arm.com
Fri May 16 13:55:20 PDT 2014


Author: kongyi
Date: Fri May 16 15:55:20 2014
New Revision: 209022

URL: http://llvm.org/viewvc/llvm-project?rev=209022&view=rev
Log:
Unify the use of jQuery

Use of jquery-latest is not recommended
Replace the use of 1.5 with 1.7 to fix some rendering issues on older IE
versions

Modified:
    lnt/trunk/lnt/server/ui/templates/layout.html
    lnt/trunk/lnt/server/ui/templates/v4_graph.html
    lnt/trunk/lnt/server/ui/templates/v4_summary_report.html
    lnt/trunk/lnt/server/ui/templates/v4_summary_report_ui.html

Modified: lnt/trunk/lnt/server/ui/templates/layout.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/layout.html?rev=209022&r1=209021&r2=209022&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/layout.html (original)
+++ lnt/trunk/lnt/server/ui/templates/layout.html Fri May 16 15:55:20 2014
@@ -9,7 +9,8 @@
               }}" rel="stylesheet" media='screen and (max-width: 750px)' >
   <link href="{{ url_for('.static', filename='wide.css')
               }}" rel="stylesheet" media='screen and (min-width: 750px)'>
-  <script src="http://code.jquery.com/jquery-latest.js"></script>
+  <script src="{{ url_for('.static', filename='jquery/1.7.2/jquery-1.7.2.min.js')
+               }}"> </script>
   <script src="{{ url_for('.static', filename='bootstrap/js/bootstrap.min.js')
                }}"></script>
   <meta name="viewport" content="width=device-width, initial-scale=1.0">

Modified: lnt/trunk/lnt/server/ui/templates/v4_graph.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_graph.html?rev=209022&r1=209021&r2=209022&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_graph.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_graph.html Fri May 16 15:55:20 2014
@@ -7,9 +7,6 @@
   <script src="{{ url_for('.static', filename='sorttable.js') }}"></script>
   <script language="javascript" type="text/javascript"
           src="{{ url_for('.static',
-                          filename='jquery/1.5/jquery.min.js') }}"> </script>
-  <script language="javascript" type="text/javascript"
-          src="{{ url_for('.static',
                           filename='flot/jquery.flot.min.js') }}"> </script>
   <script language="javascript" type="text/javascript"
           src="{{ url_for('.static',

Modified: lnt/trunk/lnt/server/ui/templates/v4_summary_report.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_summary_report.html?rev=209022&r1=209021&r2=209022&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_summary_report.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_summary_report.html Fri May 16 15:55:20 2014
@@ -4,7 +4,7 @@
   <script src="{{ url_for('.static', filename='popup.js') }}"></script>
    <script language="javascript" type="text/javascript"
            src="{{ url_for('.static',
-                           filename='jquery/1.5/jquery.min.js') }}"> </script>
+                           filename='jquery/1.7.2/jquery-1.7.2.min.js') }}"> </script>
    <script language="javascript" type="text/javascript"
            src="{{ url_for('.static',
                            filename='flot/jquery.flot.min.js') }}"> </script>

Modified: lnt/trunk/lnt/server/ui/templates/v4_summary_report_ui.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/v4_summary_report_ui.html?rev=209022&r1=209021&r2=209022&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/v4_summary_report_ui.html (original)
+++ lnt/trunk/lnt/server/ui/templates/v4_summary_report_ui.html Fri May 16 15:55:20 2014
@@ -5,7 +5,7 @@
   <script src="{{ url_for('.static',filename='json2.js')}}"></script>
   <script language="javascript" type="text/javascript"
            src="{{ url_for('.static',
-                           filename='jquery/1.5/jquery.min.js') }}"></script>
+                           filename='jquery/1.7.2/jquery-1.7.2.min.js') }}"></script>
   <script src="{{ url_for('.static',filename='v4_summary_report_ui.js')}}"></script>
 
 





More information about the llvm-commits mailing list