Last change
on this file since 26723 was
26723,
checked in by mistic100, 10 years ago
|
use external JS with template features
|
File size:
1.2 KB
|
Line | |
---|
1 | {combine_css path=$OAUTH_PATH|cat:'template/oauth_sprites.css'} |
---|
2 | |
---|
3 | {combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js'} |
---|
4 | {combine_css id='colorbox' path="themes/default/js/plugins/colorbox/style2/colorbox.css"} |
---|
5 | |
---|
6 | {if $OAUTH.providers.Persona.enabled} |
---|
7 | {combine_script id='persona' path='https://login.persona.org/include.js' load='footer'} |
---|
8 | {/if} |
---|
9 | |
---|
10 | {combine_script id='oauth' load='footer' require='jquery.colorbox' template=true path=$OAUTH_PATH|cat:'template/script.js'} |
---|
11 | |
---|
12 | {html_style} |
---|
13 | #openid_form { padding:20px; } |
---|
14 | #openid_form h3, #openid_form .oauth_38px { display:inline-block; vertical-align:middle; margin:0; } |
---|
15 | #openid_label.error { color:red; font-weight:bold; } |
---|
16 | {/html_style} |
---|
17 | |
---|
18 | |
---|
19 | <div style="display:none;"> |
---|
20 | <form id="openid_form" action=""> |
---|
21 | <div> |
---|
22 | <span class="oauth_38px"></span> |
---|
23 | <h3>OpendID</h3> |
---|
24 | </div> |
---|
25 | <div> |
---|
26 | <br> |
---|
27 | <label id="openid_label" for="openid_identifier"></label> |
---|
28 | <br> |
---|
29 | <input type="text" name="openid_identifier" id="openid_identifier" size="50"> |
---|
30 | </div> |
---|
31 | <div> |
---|
32 | <br> |
---|
33 | <input type="submit" name="{'Submit'|translate}"> |
---|
34 | <a href="#" id="openid_cancel">{'Cancel'|translate}</a> |
---|
35 | </div> |
---|
36 | </form> |
---|
37 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.