allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [34/50] [abbrv] allura git commit: [#7868] ticket:760 Add React.js
Date Wed, 27 May 2015 11:58:06 GMT
http://git-wip-us.apache.org/repos/asf/allura/blob/621dbf13/Allura/allura/templates/phone_verification_fragment.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/phone_verification_fragment.html b/Allura/allura/templates/phone_verification_fragment.html
index 9985812..87b0f1b 100644
--- a/Allura/allura/templates/phone_verification_fragment.html
+++ b/Allura/allura/templates/phone_verification_fragment.html
@@ -22,8 +22,7 @@
 {% if g.theme.jinja_macros %}
   {% import g.theme.jinja_macros as theme_macros with context %}
 {% endif %}
-{% do g.register_forge_js('js/jquery-base.js') %}
-{% do g.register_forge_js('js/allura-base.js') %}
+{% do g.register_forge_js('js/react.min.js', location='head_js') %}
 {% do g.theme.require() %}
 {% do g.resource_manager.register_widgets(c) %}
 {# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ #}
@@ -41,13 +40,8 @@
           {{ blob }}
         {% endfor %}
         <style type="text/css">
-            html {
-                overflow: hidden;
-            }
-            body {
-                padding-top: 1em;
-                width: 1000px;
-            }
+            html { overflow: hidden; }
+            body { padding-top: 1em; }
         </style>
     </head>
     <body>


Mime
View raw message