diff --git a/website/static/css/style.css b/website/static/css/style.css index e87738815..5e001e0a3 100644 --- a/website/static/css/style.css +++ b/website/static/css/style.css @@ -337,4 +337,39 @@ a:hover{ } .leaderboard-rank { margin-top: -33px; +} +.form-group span { + margin-left: 60px; +} +.form-group .btn-primary { + width: 100%; +} +textarea { + resize: vertical; +} +input[type='file'] { + opacity: 0; + width: 1px; + height:1px; +} +.submit_button { + width: 100%; +} +.panel-heading .col-xs-3 { + width:75px; + height:75px; +} +.panel-heading .col-xs-3 { + background-color:white; + width:75px; + height:75px; +} +.panel-heading .col-xs-9 { + color:white; +} +.owasp-panel { + background-color:#234082; +} +.owasp-panel .col-xs-9{ + color:white; } \ No newline at end of file diff --git a/website/templates/index.html b/website/templates/index.html index 112e9318e..9ed5e04c1 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -4,143 +4,199 @@ {% load socialaccount %} {% load humanize %} {% providers_media_js %} + {% block content %} -
-
- - - -
-
-
-

Featured Websites

+

Win points for reporting bugs on any website!

- {% for domain in domains %} -
-
-
-
-
- -
-
-
{{domain.get_name}}
-
{% if domain.prize %}Grand Prize ${{domain.prize}}{% endif %}
-
-
-
- - - +
+
+ {% csrf_token %} +
+ + {% if request.GET.url %} + + {% else %} + + {% endif %} + {% if form.url.errors %} + + {% endif %}
-
-{% endfor %} - -
-
-
-
-
- -
-
-
OWASP
-
Grand Prize $100
-
-
+
+ + + + {% if form.description.errors %} + + {% endif %}
- - - -
+ +
+ {% if request.GET.hash %}
+ + + {% else %} + + + + + + {% endif %} + {% if form.screenshot.errors %} + + {% endif %} +
+ +
+ +
+
-
-
-
-

Activity

+
+ + +
+
-
-
-
- Latest -
-
-
- {% for activity in activities %} - {% include '_activity.html' %} - {% endfor %} -
- View All Activity + +
+
+
+

Featured Websites

-
-
-
-
-
-
- {% now "F" %} Leaderboard -
-
- The 1st Place Hunter for {% now "F" %} will receive -
- $?? from [ Your Website Here ] -
- - - - - -
+
+ {% for domain in domains %} +
+
+
+
+
+ +
+
+
{{domain.get_name}}
+
{% if domain.prize %}Grand Prize ${{domain.prize}}{% endif %}
+
+
+
+ + +
+ {% endfor %} -
- {% if leaderboard %} - {% for leader in leaderboard %} -
- {% if leader.socialaccount_set.all.0.get_avatar_url %} - - {% else %} - - {% endif %} - {{leader.username}} - {{leader.total_score}} Points - {{forloop.counter|ordinal}} +
+
+
+
+
+
- {% endfor %} - {% else %} -
- Leaderboard reset for {% now "F" %}. Be first to find issues! - {% endif %} +
+
OWASP
+
Grand Prize $100
+
+
+
+ + +
- View All
+
+
+

Latest activity

+
+
+ {% for activity in activities %} + {% include '_activity.html' %} + {% endfor %} +
+ View All Activity +
+
- - +
+
+
+ {% now "F" %} Leaderboard +
+
+ The 1st Place Hunter for {% now "F" %} will receive +
+ $?? from [ Your Website Here ] +
+ + + + + +
+
+
+ +
+ {% if leaderboard %} + {% for leader in leaderboard %} +
+ {% if leader.socialaccount_set.all.0.get_avatar_url %} + + {% else %} + + {% endif %} + {{leader.username}} + {{leader.total_score}} Points + {{forloop.counter|ordinal}} +
+ {% endfor %} + {% else %} +
+ Leaderboard reset for {% now "F" %}. Be first to find issues! + {% endif %} +
+ View All +
+
+
+ +
+
+ + +
+
+