Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
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
ulakbus
ulakbus-ui
Commits
8f170910
Commit
8f170910
authored
Jun 03, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme enhancement +++ and some cleaning on js files
parent
bc297880
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
+5
-10
README.md
README.md
+4
-7
login.js
app/login/login.js
+0
-2
login_test.js
app/login/login_test.js
+1
-1
No files found.
README.md
View file @
8f170910
...
...
@@ -4,16 +4,13 @@
##Get Ready For Development
1.
Get Repo
```
git clone git@hdjskdhajsk
```
1.
Get Repo
`git clone git@github.com:zetaops/zaerp-ui.git`
*if you are not familiar to git follow these guides:*
-
https://git-scm.com/doc
-
https://try.github.io/levels/1/challenges/1
-https://git-scm.com/doc
-https://try.github.io/levels/1/challenges/1
2.
Download and Install nodejs:
*
https://nodejs.org/download/
*
https://nodejs.org/download/
3.
Install Bower
...
...
app/login/login.js
View file @
8f170910
...
...
@@ -76,9 +76,7 @@ login.controller('LoginCtrl', function ($scope, $q, $timeout, $http, $location,
$scope
.
onSubmit
=
function
(
form
){
$scope
.
$broadcast
(
'schemaFormValidate'
);
if
(
form
.
$valid
){
var
credentials
=
{
email
:
form
.
email
.
$modelValue
,
password
:
form
.
password
.
$modelValue
};
console
.
log
(
form
);
LoginService
.
login
(
credentials
);
}
else
{
...
...
app/login/login_test.js
View file @
8f170910
...
...
@@ -61,7 +61,7 @@ describe('zaerp.login module', function () {
var
cred
=
{
email
:
'test@test.com'
,
password
:
'password'
};
LoginService
.
login
(
cred
)
.
then
(
function
(
data
)
{
expect
(
data
.
id
).
not
.
toBe
(
null
);
expect
(
data
).
not
.
toBe
(
null
);
});
$httpBackend
.
flush
();
...
...
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