Skip to content

Commit 8982417

Browse files
committed
#28: Updates to component upload form
1 parent 2009232 commit 8982417

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

assets/css/main.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,3 @@ div.dataTables_scrollHead th:first-child { /*For rounded table border*/
183183
height: 75%;
184184
padding: 10px 0;
185185
}
186-
187-
/*////// Component Export //////*/
188-
189-
#export-input { width: 550px;}

index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
<script src="assets/js/export-to-dejacode.js"></script>
5353
<script src="assets/js/nodeview.js"></script>
5454
<script src="assets/js/select2.js"></script>
55+
<script src="http://1000hz.github.io/bootstrap-validator/dist/validator.min.js"></script>
56+
5557
</head>
5658
<body>
5759
<div class="row">
@@ -88,7 +90,7 @@
8890
<table id="clues-table" class="display table table-striped table-bordered dataTable no-footer" cellspacing="0" width="100%" >
8991
</table>
9092
<div id="component-container">
91-
<p class="lead text-center">Component Summary</p>
93+
<p class="lead">Component Summary</p>
9294
<table id="components-table" class="display table table-striped table-bordered dataTable no-footer" cellspacing="0" width="100%" >
9395
</table>
9496
</div>
@@ -173,16 +175,16 @@ <h4 class="modal-title" id="myModalLabel">Upload Components to DejaCode</h4>
173175
<div class="form-group">
174176
<h4>Product Information</h4>
175177
<p> Enter the Product Name and Version you want the components to be added to</p>
176-
<input type="text" class="form-control" id="product-name" placeholder="Product Name" required>
177-
<input type="text" class="form-control" id="product-version" placeholder="Product Version" required>
178+
<input type="text" class="form-control" id="product-name" placeholder="Product Name" required size="26">
179+
<input type="text" class="form-control" id="product-version" placeholder="Product Version" required size="26">
178180

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

183185
<h4>Please provide your API key</h4>
184186
<p> Your API key can be found in your DejaCode Profile Settings</p>
185-
<input type="password" class="form-control" id="export-input" placeholder="DejaCode API Key" required>
187+
<input type="password" class="form-control" id="export-input" placeholder="DejaCode API Key" required size="76">
186188
</div>
187189
</form>
188190
</div>

0 commit comments

Comments
 (0)