-
Notifications
You must be signed in to change notification settings - Fork 10
.net project (company) #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ShivaniBansal1
wants to merge
13
commits into
cybergroupdevs:master
Choose a base branch
from
ShivaniBansal1:company
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9645ac5
name changed
ShivaniBansal1 464d84f
.net project
ShivaniBansal1 4ee5eae
generated token
ShivaniBansal1 5abfb9e
login functionality added
ShivaniBansal1 f61bac5
minor changes
ShivaniBansal1 16e46d8
added functionalities
ShivaniBansal1 56c3782
changed folder structure
ShivaniBansal1 c35136e
change in view
ShivaniBansal1 bdddd9e
removed unwanted code
ShivaniBansal1 c150dd7
removed unwanted comments
ShivaniBansal1 b8278a6
nodeAssignment
ShivaniBansal1 66bf97f
t commg:
ShivaniBansal1 9d9336c
removed connection string and unwanted comments
ShivaniBansal1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| .card{ | ||
| background-color: aliceblue; | ||
| } | ||
|
|
||
| body{ | ||
| padding: 10% 30%; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| function sendJSON(){ | ||
| let name = document.getElementById("exampleInputName1").value; | ||
| console.log(name); | ||
| let username = document.getElementById("exampleInputUsername1").value; | ||
|
|
||
| let role = document.getElementById("exampleInputRole1").value | ||
| let email = document.getElementById("exampleInputEmail1").value | ||
| let password = document.getElementById("exampleInputPassword1").value | ||
| let projectID = document.getElementById("exampleInputProjectID1").value | ||
|
|
||
|
|
||
| console.log(name) | ||
|
|
||
| // var obj = { | ||
| // firstName: 'Himanshu', | ||
| // lastName: "Bansal", | ||
|
|
||
| // } | ||
|
|
||
| //Creating a XHR request | ||
| var xhr=new XMLHttpRequest(); | ||
| let url = "https://localhost:44371/api/signup"; | ||
|
|
||
| //open a connection | ||
| xhr.open("POST", url, true); | ||
|
|
||
| //set the request header that which type is being send | ||
| xhr.setRequestHeader("Content-Type", "application/json"); | ||
|
|
||
| //creating a state change callback | ||
| xhr.onreadystatechange = function() { | ||
| if (xhr.readyState==4 && xhr.readyState==200){ | ||
| alert("successfuly registered"); | ||
|
|
||
| } | ||
| } | ||
|
|
||
| //conerting JSON data to string | ||
| var data = JSON.stringify({"Name":name, "Username":username, "Role":role, "Email":email, "Password":password, "ProjectID":projectID}) | ||
|
|
||
|
|
||
| //sending data with request | ||
| xhr.send(data); | ||
|
|
||
| event.preventDefault(); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| <title>Document</title> | ||
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | ||
| <link rel="stylesheet" href=".\assets\css\login.css"> | ||
| </head> | ||
| <body class="px-30"> | ||
| <div class="card" > | ||
| <div class="card-body"> | ||
| <h5 class="card-title">Login Page</h5> | ||
| <form> | ||
| <div class="form-group"> | ||
| <label for="exampleInputEmail1">Email address</label> | ||
| <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp"> | ||
| <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small> | ||
| </div> | ||
| <div class="form-group"> | ||
| <label for="exampleInputPassword1">Password</label> | ||
| <input type="password" class="form-control" id="exampleInputPassword1"> | ||
| </div> | ||
| <div class="form-group form-check"> | ||
| <input type="checkbox" class="form-check-input" id="exampleCheck1"> | ||
| <label class="form-check-label" for="exampleCheck1">Check me out</label> | ||
| </div> | ||
| <button type="submit" class="btn btn-primary">Login</button> | ||
| </form> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| <title>Document</title> | ||
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | ||
| <link rel="stylesheet" href=".\assets\css\login.css"> | ||
| </head> | ||
| <body class="px-30"> | ||
| <div class="card" > | ||
| <div class="card-body"> | ||
| <h5 class="card-title">Sign up Page</h5> | ||
| <form> | ||
| <div class="form-group"> | ||
| <label for="exampleInputName1">Name</label> | ||
| <input type="text" class="form-control" id="exampleInputName1" > | ||
|
|
||
| </div> | ||
| <div class="form-group"> | ||
| <label for="exampleInputUsername1">Username</label> | ||
| <input type="text" class="form-control" id="exampleInputUsername1" > | ||
|
|
||
| </div> | ||
| <div class="form-group"> | ||
| <label for="exampleInputRole1">Role</label> | ||
| <input type="text" class="form-control" id="exampleInputRole1"> | ||
|
|
||
| </div> | ||
| <div class="form-group"> | ||
| <label for="exampleInputEmail1">Email address</label> | ||
| <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp"> | ||
|
|
||
| </div> | ||
| <div class="form-group"> | ||
| <label for="exampleInputPassword1">Password</label> | ||
| <input type="password" class="form-control" id="exampleInputPassword1"> | ||
| </div> | ||
|
|
||
| <div class="form-group"> | ||
| <label for="exampleInputProjectID1">ProjectID</label> | ||
| <input type="text" class="form-control" id="exampleInputProjectID1"> | ||
| </div> | ||
|
|
||
|
|
||
|
|
||
| <button onclick="sendJSON()" class="btn btn-primary">Register</button> | ||
| </form> | ||
| </div> | ||
| </div> | ||
| <script src=".\assets\scripts\signup.js"></script> | ||
|
|
||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "CurrentProjectSetting": null | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "ExpandedNodes": [ | ||
| "" | ||
| ], | ||
| "PreviewInSolutionExplorer": false | ||
| } |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.97 MB
Shivani_Bansal/company/.vs/company/v15/Server/sqlite3/storage.ide-wal
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove commented code