Skip to content

Commit

Permalink
Fixed site tour. #450 (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
souravbadami authored Jul 30, 2017
1 parent cf57e60 commit 1596afb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions website/templates/base_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,21 @@
<ul class="nav navbar-nav navbar-right">
<li><p class="navbar-text">Found a bug ?</p></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>Report here</b> <span class="caret"></span></a>
<a href="#" class="dropdown-toggle" data-intro="Click here to report any kind of bug." data-step="1" data-toggle="dropdown"><b>Report here</b> <span class="caret"></span></a>
<ul id="issue-dp" class="dropdown-menu">
<li>
<div class="row">
<div class="col-md-12">
<form class="form" action="/issue/" method="post" enctype="multipart/form-data">
{% csrf_token %}
<div class="form-group">
<input class="form-control required" data-intro="Enter the website's complete url where you found the bug." data-step="1" placeholder="www.testsite.com/bug-found" name="url" value="{{form.url.value|default:""}}">
<input class="form-control required" placeholder="www.testsite.com/bug-found" name="url" value="{{form.url.value|default:""}}">
</div>
<div class="form-group">
<textarea data-required="true" name="description" id="description" data-intro="Describe the nature of bug." data-step="2" class="form-control required" rows="3" placeholder="{% trans "Describe bug issue" %}">{{form.description.value|default:""}}</textarea>
<textarea data-required="true" name="description" id="description" class="form-control required" rows="3" placeholder="{% trans "Describe bug issue" %}">{{form.description.value|default:""}}</textarea>
</div>
<div class="form-group">
<select required data-intro="Categorize the bug." data-step="3" name="label" class="form-control">
<select required name="label" class="form-control">
<option value="0" selected="selected">General</option>
<option value="1">Number error</option>
<option value="2">Functional</option>
Expand All @@ -135,14 +135,14 @@
<div class="form-group">
<span>
<input type="file" class="required" id='${multipartFilePath}' name="screenshot"/>
<button style="width: 100%" class="btn btn-primary" data-intro="Upload a screenshot of the concerned page." data-step="4" name="test_files" type="button">
<button style="width: 100%" class="btn btn-primary" name="test_files" type="button">
<i class="fa fa-upload" aria-hidden="true"></i> {% trans "Upload Screenshot" %}
</button>
<center><span style="margin-top: 10px;" class="badge badge-important"></span></center>
</span>
</div>
<div class="bottom text-center">
<button type="submit" class="btn btn-default" data-intro="Click here to report the bug to BugHeist." data-step="5">{% trans "Report Bug" %} <i class="fa fa-trophy" aria-hidden="true">+3</i></button>
<button type="submit" class="btn btn-default">{% trans "Report Bug" %} <i class="fa fa-trophy" aria-hidden="true">+3</i></button>
</div>
</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 @@ -121,7 +121,7 @@ <h4 class="card-title">{% trans "Design" %}</h4>
<h1 class="page-sub-header">{% trans "Featured Websites" %}</h1>
</div>
</div>
<div class="row" data-intro="These are the lists of featured websites on BugHeist." data-step="6">
<div class="row" data-intro="These are the lists of featured websites on BugHeist." data-step="2">
{% 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 @@ -221,7 +221,7 @@ <h1 class="page-sub-header">{% trans "Featured Websites" %}</h1>
</div>
</div>

<div class="row" data-intro="View latest activities here." data-step="7">
<div class="row" data-intro="View latest activities here." data-step="3">
<div class="col-md-8">
<h1 class="page-sub-header">Latest activity</h1>
<div class="list-group">
Expand Down

0 comments on commit 1596afb

Please sign in to comment.