Added issue comment and close issue feature
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
</div>
|
||||
<!-- Widgets -->
|
||||
<div class="card-group" id="widgets">
|
||||
<div class="card hide widget good" id="createissue">
|
||||
<div id="createissue" class="card hide widget good">
|
||||
<!-- <img class="card-img-top" src="..." alt="Card image cap"> -->
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Create Issue</h5>
|
||||
@@ -172,7 +172,7 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card hide widget good" id="addcollab">
|
||||
<div id="addcollab" class="card hide widget good">
|
||||
<!-- <img class="card-img-top" src="..." alt="Card image cap"> -->
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Create Collaborator</h5>
|
||||
@@ -187,7 +187,34 @@
|
||||
<input type="text" class="form-control" id="repoForCollab" placeholder="Repository To Add collaborator on ...." required>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-primary" type="button" data-toggle="modal" data-dismiss="modal" id="btnSubmitAddCollab " data-target="#submitConfirm">Submit</button>
|
||||
<div class="form-group">
|
||||
<label for="comment">Comment:</label>
|
||||
<textarea class="form-control" rows="3" id="comment"></textarea>
|
||||
</div>
|
||||
<button class="btn btn-primary" type="button" data-toggle="modal" data-dismiss="modal" id="btnSubmitAddCollab" data-target="#submitConfirm">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div id="addissuecomment" class="card hide widget good">
|
||||
<!-- <img class="card-img-top" src="..." alt="Card image cap"> -->
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Add Comment</h5>
|
||||
<form>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6 col-sm-6 col-lg-6 col-xs-6 mb-3">
|
||||
<label for="repoForIssueComment">Repository Name</label>
|
||||
<input type="text" class="form-control" id="repoForIssueComment" placeholder="Repository Name...." required>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-sm-6 col-lg-6 col-xs-6 mb-3">
|
||||
<label for="issueNumber">Issue Number</label>
|
||||
<input type="text" class="form-control" id="issueNumber" placeholder="Issue To Comment On..." required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="issueComment">Comment:</label>
|
||||
<textarea class="form-control" rows="3" id="issueComment"></textarea>
|
||||
</div>
|
||||
<button class="btn btn-primary" type="button" data-toggle="modal" data-dismiss="modal" id="btnSubmitAddComment" data-target="#submitConfirm">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -200,7 +227,25 @@
|
||||
<p>View Repositories for the user mohiit1502?</p>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-primary" type="button" data-toggle="modal" data-dismiss="modal" id="btnSubmitAddCollab " data-target="#submitConfirm">Submit</button>
|
||||
<button class="btn btn-primary" type="button" data-toggle="modal" data-dismiss="modal" id="btnSubmitViewRepo" data-target="#submitConfirm">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div id="closeissue" class="card hide widget good">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Close Issue</h5>
|
||||
<form>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6 col-sm-6 col-lg-6 col-xs-6 mb-3">
|
||||
<label for="repoForIssueClose">Repository Name</label>
|
||||
<input type="text" class="form-control" id="repoForIssueClose" placeholder="Repository Name...." required>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-sm-6 col-lg-6 col-xs-6 mb-3">
|
||||
<label for="issueNumerToClose">Issue To Close</label>
|
||||
<input type="text" class="form-control" id="issueNumerToClose" placeholder="Specify issue number..." required>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-primary" type="button" data-toggle="modal" data-dismiss="modal" id="btnSubmitCloseIssue" data-target="#submitConfirm">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -246,6 +291,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<button style="display: none" id="emptyCommandMsgDisplayer" type="submit" data-toggle="modal" data-target="#emptyCommandMessageModal"></button>
|
||||
<div class="overlay">
|
||||
<div id="loading-img"></div>
|
||||
</div>
|
||||
<!-- Cards -->
|
||||
<div class="card-group" id="conversations">
|
||||
<div class="card">
|
||||
|
||||
@@ -4,9 +4,12 @@
|
||||
<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.1.2/css/bootstrap.min.css" crossorigin="anonymous">
|
||||
<title>Login</title>
|
||||
</head>
|
||||
<body id="login">
|
||||
<a href="https://github.com/login/oauth/authorize?scope=user:email:repo&client_id=f6f649a1fe2dfea082ba">Click here</a> to begin!
|
||||
<!-- <div class="container"><button class="btn btn-primary" id="git_bridge">Login</button></div> -->
|
||||
<a href="https://github.com/login/oauth/authorize?scope=user repo notifications delete_repo&client_id=f6f649a1fe2dfea082ba" class="btn btn-primary">Login!</a>
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>
|
||||
</body>
|
||||
</html>
|
||||
32
public/validate.html
Normal file
32
public/validate.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!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>
|
||||
<style>
|
||||
#loading-img {
|
||||
background: url(http://preloaders.net/preloaders/360/Velocity.gif) center center no-repeat;
|
||||
height: 100%;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.overlay {
|
||||
background: #e9e9e9;
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
opacity: 0.5;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="overlay">
|
||||
<div id="loading-img"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user