Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
dca2b95e
Commit
dca2b95e
authored
Feb 18, 2015
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7010 from edx/will/ecom-1060
ECOM-1060: Logistration third-party auth improvements
parents
1fb580e3
a5f173df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
9 deletions
+16
-9
lms/static/sass/views/_login-register.scss
+2
-2
lms/templates/student_account/login.underscore
+2
-0
lms/templates/student_account/register.underscore
+12
-7
No files found.
lms/static/sass/views/_login-register.scss
View file @
dca2b95e
...
...
@@ -84,7 +84,7 @@ $sm-btn-linkedin: #0077b5;
form
{
border
:
1px
solid
$gray-l4
;
border-radius
:
5px
;
padding
:
0
25px
;
padding
:
0
px
25px
20px
25px
;
}
.section-title
{
...
...
@@ -155,7 +155,7 @@ $sm-btn-linkedin: #0077b5;
display
:
block
;
font-weight
:
normal
;
color
:
$gray
;
margin
:
10px
;
margin
:
10px
10px
0px
10px
;
color
:
$m-gray-l1
;
text-align
:
center
;
}
...
...
lms/templates/student_account/login.underscore
View file @
dca2b95e
...
...
@@ -32,6 +32,7 @@
<button type="submit" class="action action-primary action-update js-login login-button"><%- gettext("Sign in") %></button>
<% if ( context.providers.length > 0 && !context.currentProvider ) { %>
<div class="login-providers">
<div class="section-title lines">
<h2>
...
...
@@ -48,6 +49,7 @@
<% }
}); %>
</div>
<% } %>
</form>
<div class="toggle-form">
...
...
lms/templates/student_account/register.underscore
View file @
dca2b95e
...
...
@@ -11,7 +11,7 @@
<%- _.sprintf( gettext("We just need a little more information before you start learning with %(platformName)s."), context ) %>
</p>
</div>
<% } else { %>
<% } else
if ( context.providers.length > 0 )
{ %>
<div class="login-providers">
<div class="section-title lines">
<h2>
...
...
@@ -28,14 +28,19 @@
<% }
}); %>
</div>
<div class="section-title lines">
<h2>
<span class="text"><%- gettext("or create a new one here") %></span>
</h2>
</div>
<% } else { %>
<div class="section-title lines">
<h2>
<span class="text"><%- gettext("Create a new account") %></span>
</h2>
</div>
<% } %>
<div class="section-title lines">
<h2>
<span class="text"><%- gettext("or create a new one here") %></span>
</h2>
</div>
<%= context.fields %>
<button type="submit" class="action action-primary action-update js-register register-button"><%- gettext("Create your account") %></button>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment