Skip to content

Commit

Permalink
Included dropdown button in IntoJs (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitanand001 authored and souravbadami committed Jun 16, 2017
1 parent 4112d18 commit fbddd9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions website/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
</label>
{% endif %}
</div>
<select name="label" class="form-control">
<select data-intro="Categorize the bug." data-step="3" name="label" class="form-control">
<option value="0" selected="selected">Bug Type</option>
<option value="1">Number error</option>
<option value="2">Functional</option>
Expand All @@ -144,7 +144,7 @@
{% else %}
<span>
<input type="file" class="required" id='${multipartFilePath}' name="screenshot" onchange="$(this).parent().find('span').html($(this).val().replace('C:\\fakepath\\', ''))"/>
<button class="btn btn-primary" data-intro="Upload a screenshot of the concerned page." data-step="3" name="test_files" type="button" onclick="$(this).parent().find('input[type=file]').click();">
<button class="btn btn-primary" data-intro="Upload a screenshot of the concerned page." data-step="4" name="test_files" type="button" onclick="$(this).parent().find('input[type=file]').click();">
<i class="fa fa-upload" aria-hidden="true"></i> Upload Screenshot
</button>
&nbsp;
Expand All @@ -157,7 +157,7 @@
</label>
{% endif %}
</div>
<button type="submit" name="reportbug_button" id="btn" class="btn btn-default" data-intro="Click here to report the bug to BugHeist." data-step="4">Report Bug</button>
<button type="submit" name="reportbug_button" id="btn" class="btn btn-default" data-intro="Click here to report the bug to BugHeist." data-step="5">Report Bug</button>
<i class="fa fa-trophy" aria-hidden="true">+3</i>
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions website/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h3><strong>Design</strong></h3>
<h1 class="page-sub-header">Featured Websites</h1>
</div>
</div>
<div class="row" data-intro="These are the lists of featured websites on BugHeist." data-step="5">
<div class="row" data-intro="These are the lists of featured websites on BugHeist." data-step="6">
{% for domain in domains %}
<div class="col-lg-6 col-md-6">
<div class="panel" id="hunt_{{domain.id}}" style="background-color:{{domain.get_color}}">
Expand Down Expand Up @@ -192,7 +192,7 @@ <h1 class="page-sub-header">Featured Websites</h1>
</div>
</div>

<div class="row" data-intro="View latest activities here." data-step="6">
<div class="row" data-intro="View latest activities here." data-step="7">
<div class="col-lg-12">
<h1 class="page-sub-header">Latest activity</h1>
</div>
Expand Down

0 comments on commit fbddd9c

Please sign in to comment.