You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/05/27 13:58:06 UTC
[34/50] [abbrv] allura git commit: [#7868] ticket:760 Add React.js
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>