Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Remove login page title #319

Merged
merged 6 commits into from
Jun 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/login/login.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ login {
.random-input {
margin: 0 0 25px 0;
}

md-card {
padding-top: 40px;
}
}
3 changes: 0 additions & 3 deletions src/components/login/login.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
md-card
md-card-title
md-card-title-text
span.md-title Sign In
md-card-content(flex='100', flex-gt-sm='70', flex-offset-gt-sm='15')
form(ng-submit='$ctrl.passConfirmSubmit()')
md-input-container.md-block
Expand Down
5 changes: 0 additions & 5 deletions test/components/login/login.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ describe('Login component', () => {
$rootScope.$digest();
});

const HEADER_TEXT = 'Sign In';
it(`should contain header saying "${HEADER_TEXT}"`, () => {
expect(element.find('.md-title').text()).to.equal(HEADER_TEXT);
});

const PASS_LABEL_TEXT = 'Enter your passphrase';
it(`should contain a form input with label saying "${PASS_LABEL_TEXT}"`, () => {
expect(element.find('form md-input-container label.pass').text()).to.equal(PASS_LABEL_TEXT);
Expand Down