Skip to content

Commit

Permalink
#28: Updates to component upload form
Browse files Browse the repository at this point in the history
  • Loading branch information
jdaguil committed Dec 20, 2016
1 parent 2009232 commit 8982417
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
4 changes: 0 additions & 4 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,3 @@ div.dataTables_scrollHead th:first-child { /*For rounded table border*/
height: 75%;
padding: 10px 0;
}

/*////// Component Export //////*/

#export-input { width: 550px;}
14 changes: 8 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
<script src="assets/js/export-to-dejacode.js"></script>
<script src="assets/js/nodeview.js"></script>
<script src="assets/js/select2.js"></script>
<script src="http://1000hz.github.io/bootstrap-validator/dist/validator.min.js"></script>

</head>
<body>
<div class="row">
Expand Down Expand Up @@ -88,7 +90,7 @@
<table id="clues-table" class="display table table-striped table-bordered dataTable no-footer" cellspacing="0" width="100%" >
</table>
<div id="component-container">
<p class="lead text-center">Component Summary</p>
<p class="lead">Component Summary</p>
<table id="components-table" class="display table table-striped table-bordered dataTable no-footer" cellspacing="0" width="100%" >
</table>
</div>
Expand Down Expand Up @@ -173,16 +175,16 @@ <h4 class="modal-title" id="myModalLabel">Upload Components to DejaCode</h4>
<div class="form-group">
<h4>Product Information</h4>
<p> Enter the Product Name and Version you want the components to be added to</p>
<input type="text" class="form-control" id="product-name" placeholder="Product Name" required>
<input type="text" class="form-control" id="product-version" placeholder="Product Version" required>
<input type="text" class="form-control" id="product-name" placeholder="Product Name" required size="26">
<input type="text" class="form-control" id="product-version" placeholder="Product Version" required size="26">

<h4>DejaCode API URL</h4>
<p> Enter the URL (For example, https://enterprise.dejacode.com)</p>
<input type="text" class="form-control" id="api-url" placeholder="DejaCode API URL" required>
<p> Enter the URL (For example, https://enterprise.dejacode.com/api/v2/product_components/)</p>
<input type="text" class="form-control" id="api-url" placeholder="DejaCode API URL" required size="76">

<h4>Please provide your API key</h4>
<p> Your API key can be found in your DejaCode Profile Settings</p>
<input type="password" class="form-control" id="export-input" placeholder="DejaCode API Key" required>
<input type="password" class="form-control" id="export-input" placeholder="DejaCode API Key" required size="76">
</div>
</form>
</div>
Expand Down

0 comments on commit 8982417

Please sign in to comment.