Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions website/forms.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
from django import forms
from .models import Issue, InviteFriend, UserProfile


class IssueEditForm(forms.ModelForm):

class Meta:
model = Issue
fields = ['description', 'screenshot', 'label']


class FormInviteFriend(forms.ModelForm):

class Meta:
model = InviteFriend
fields = ['recipient']
widgets = {
'recipient': forms.TextInput(attrs={'class': 'form-control'})
}


class UserProfileForm(forms.ModelForm):

class Meta:
model = UserProfile
fields = ('user_avatar',)


66 changes: 52 additions & 14 deletions website/static/css/main.css
Original file line number Diff line number Diff line change
@@ -1,30 +1,68 @@
.fa{
color: #555;
.fa {
color: #555;
}

.round-icon{
margin: 0 auto;
.round-icon {
margin: 0 auto;
height: 50px;
width: 50px;
display: flex;
flex-direction: column;
justify-content: center;
/* border: 1px solid #000; */
background: #eee;
border-radius: 50%;
font-size: 30px;
box-shadow: 0 1px 1px #dd4252;
}


.no-shadow{
box-shadow: 0 0 0 #000;
.no-shadow {
box-shadow: 0 0 0 #000;
}

.tag{
.tag {
color: #999;
}

.heading{
.heading {
font-weight: 300;
}
.navbar-static-top {
margin-bottom: 0px;
}
.navbar-static-top .navbar-header {
z-index:4;
}
.navbar-static-top .navbar-brand img {
margin-left:20px;
}
.navbar-top-links img {
width: 20px;
height: 20px;
}
.navbar-static-top textarea {
resize:vertical;
height: 34px;
}
.screenshot-hash {
border: 1px solid #d43f3a;
height: 100px;
}
.navbar-static-top input[type='file'] {
opacity: 0;
width: 1px;
height:1px;
}
#login .modal-dialog {
margin-top: 200px;
}
#login .modal-body img {
padding-top: 15px;
}
#login .btn-caution {
height:86px;
width: 86px;
font-size:28px;
margin-top:3px;
margin-right:10px;
color:#dd4252;
}
#login p {
font-size: 13px;
padding-top: 20px;
}
91 changes: 91 additions & 0 deletions website/templates/_subscriptions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{% load staticfiles %}
{% load gravatar %}
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="panel">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<img src="{% static 'img/flea.svg' %}" width="100" height="100">
</div>
<div class="col-xs-9 text-right" style="color:white;">
<div class="huge">Flea</div>
<span style="font-size:24pt">$9</span> / month
</div>
</div>
</div>
<div class="panel-footer">
<span class="pull-left" ><i class="fa fa-balance-scale"></i> $4 Bugheist / $5 tips</span>
<span class="pull-right"></span>
<div class="clearfix"></div></br><center>
<button type="submit" onclick="window.location.href='/hunt';" class="btn btn-primary btn-lg" id="btn">Start</button></center>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3" >
<img src="{% static 'img/ant.svg' %}" width="100" height="100">
</div>
<div class="col-xs-9 text-right" style="color:white;">
<div class="huge">Ant</div>
<span style="font-size:24pt">$99</span> / month
</div>
</div>
</div>
<div class="panel-footer">
<span class="pull-left"><i class="fa fa-balance-scale" style="width:20px;"></i> $49 Bugheist / $50 tips</span></br>
<span class="pull-left" style="font-size:18pt;"><i class="fa fa-bullhorn" style="width:25px;"></i> Weekly Announcement</span>
<div class="clearfix"></div></br><center>
<button type="submit" onclick="window.location.href='/hunt';" onclick="changeValue(this)" class="btn btn-primary btn-lg ">Start </button></center>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<img src="{% static 'img/wasp.svg' %}" width="100" height="100">
</div>
<div class="col-xs-9 text-right" style="color:white;">
<div class="huge">Wasp</div>
<span style="font-size:24pt">$499</span> / month
</div>
</div>
</div>
<div class="panel-footer">
<span class="pull-left" ><i class="fa fa-balance-scale" style="width:20px;"></i> $99 Bugheist / $400 tips</span></br>
<span class="pull-left" style="font-size:18pt;"><i class="fa fa-bullhorn" style="width:25px;"></i> Weekly Announcement</span>
<span class="pull-left" style="font-size:20pt;"><i class="fa fa-globe" style="width:25px;"></i> Homepage Featured</span>
<div class="clearfix"></div></br><center>
<button type="submit" onclick="window.location.href='/hunt';" class="btn btn-primary btn-lg">Start </button></center>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<img src="{% static 'img/scorpion.svg' %}" width="100" height="100">
</div>
<div class="col-xs-9 text-right" style="color:white;">
<div class="huge">Scorpion</div>
<span style="font-size:24pt">$1,499</span> / month
</div>
</div>
</div>
<div class="panel-footer">
<span class="pull-left" ><i class="fa fa-balance-scale" style="width:20px;"></i> $199 Bugheist / $1,300 tips</span></br>
<span class="pull-left" style="font-size:18pt;"><i class="fa fa-bullhorn" style="width:25px;"></i> Weekly Announcement</span>
<span class="pull-left" style="font-size:20pt;"><i class="fa fa-globe" style="width:25px;"></i> Homepage Featured</span>
<span class="pull-left" style="font-size:23pt;"><i class="fa fa-trophy" style="width:25px;"></i> Monthly Hackathon</span>
<div class="clearfix"></div></br><center>
<button type="submit" onclick="window.location.href='/hunt';" class="btn btn-primary btn-lg">Start</button></center>
</div>
</div>
</div>
</div>
90 changes: 1 addition & 89 deletions website/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,95 +77,7 @@ <h1>Subscriptions:</h1>
</div>
</div>

<div class="row">
<div class="col-lg-3 col-md-6">
<div class="panel">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<img src="{% static 'img/flea.svg' %}" width="100" height="100">
</div>
<div class="col-xs-9 text-right" style="color:white;">
<div class="huge">Flea</div>
<span style="font-size:24pt">$9</span> / month
</div>
</div>
</div>
<div class="panel-footer">
<span class="pull-left" ><i class="fa fa-balance-scale"></i> $4 Bugheist / $5 tips</span>
<span class="pull-right"></span>
<div class="clearfix"></div></br><center>
<button type="submit" onclick="window.location.href='/hunt';" class="btn btn-primary btn-lg" id="btn">Start</button></center>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3" >
<img src="{% static 'img/ant.svg' %}" width="100" height="100">
</div>
<div class="col-xs-9 text-right" style="color:white;">
<div class="huge">Ant</div>
<span style="font-size:24pt">$99</span> / month
</div>
</div>
</div>
<div class="panel-footer">
<span class="pull-left"><i class="fa fa-balance-scale" style="width:20px;"></i> $49 Bugheist / $50 tips</span></br>
<span class="pull-left" style="font-size:18pt;"><i class="fa fa-bullhorn" style="width:25px;"></i> Weekly Announcement</span>
<div class="clearfix"></div></br><center>
<button type="submit" onclick="window.location.href='/hunt';" onclick="changeValue(this)" class="btn btn-primary btn-lg ">Start </button></center>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<img src="{% static 'img/wasp.svg' %}" width="100" height="100">
</div>
<div class="col-xs-9 text-right" style="color:white;">
<div class="huge">Wasp</div>
<span style="font-size:24pt">$499</span> / month
</div>
</div>
</div>
<div class="panel-footer">
<span class="pull-left" ><i class="fa fa-balance-scale" style="width:20px;"></i> $99 Bugheist / $400 tips</span></br>
<span class="pull-left" style="font-size:18pt;"><i class="fa fa-bullhorn" style="width:25px;"></i> Weekly Announcement</span>
<span class="pull-left" style="font-size:20pt;"><i class="fa fa-globe" style="width:25px;"></i> Homepage Featured</span>
<div class="clearfix"></div></br><center>
<button type="submit" onclick="window.location.href='/hunt';" class="btn btn-primary btn-lg">Start </button></center>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<img src="{% static 'img/scorpion.svg' %}" width="100" height="100">
</div>
<div class="col-xs-9 text-right" style="color:white;">
<div class="huge">Scorpion</div>
<span style="font-size:24pt">$1,499</span> / month
</div>
</div>
</div>
<div class="panel-footer">
<span class="pull-left" ><i class="fa fa-balance-scale" style="width:20px;"></i> $199 Bugheist / $1,300 tips</span></br>
<span class="pull-left" style="font-size:18pt;"><i class="fa fa-bullhorn" style="width:25px;"></i> Weekly Announcement</span>
<span class="pull-left" style="font-size:20pt;"><i class="fa fa-globe" style="width:25px;"></i> Homepage Featured</span>
<span class="pull-left" style="font-size:23pt;"><i class="fa fa-trophy" style="width:25px;"></i> Monthly Hackathon</span>
<div class="clearfix"></div></br><center>
<button type="submit" onclick="window.location.href='/hunt';" class="btn btn-primary btn-lg">Start</button></center>
</div>
</div>
</div>
</div>
{% include '_subscriptions.html' %}

<div class="row">
<div class="col-lg-12">
Expand Down
2 changes: 1 addition & 1 deletion website/templates/add_comment_to_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ <h3>New comment</h3>
<button type="submit" class="save btn btn-default">Send</button>
</form>
</div>
{% endblock %}
{% endblock %}
Loading