Skip to content

Commit

Permalink
Merge pull request #505 from thelostone-mc/explorer
Browse files Browse the repository at this point in the history
dashboard: base setup
  • Loading branch information
mbeacom authored Mar 2, 2018
2 parents 30f89e1 + a1d7019 commit 2773140
Show file tree
Hide file tree
Showing 12 changed files with 137 additions and 93 deletions.
50 changes: 50 additions & 0 deletions app/assets/v2/css/gitcoin.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,56 @@
src: url('/static/v2/fonts/OpenSans/Regular.ttf');
}

@font-face {
font-family: "Muli";
src: url('/static/v2/fonts/Muli/Muli.ttf');
}

@font-face {
font-family: "Muli-Bold";
src: url('/static/v2/fonts/Muli/Muli-Bold.ttf');
}

@font-face {
font-family: "Muli-ExtraLight";
src: url('/static/v2/fonts/Muli/Muli-ExtraLight.ttf');
}

@font-face {
font-family: "Muli-SemiBold";
src: url('/static/v2/fonts/Muli/Muli-SemiBold.ttf');
}

@font-face {
font-family: "Muli-Light";
src: url('/static/v2/fonts/Muli/Muli-Light.ttf');
}

@font-face {
font-family: "Muli-Italic";
src: url('/static/v2/fonts/Muli/Muli-Italic.ttf');
}

@font-face {
font-family: "Muli-BoldItalic";
src: url('/static/v2/fonts/Muli/Muli-BoldItalic.ttf');
}

@font-face {
font-family: "Muli-ExtraLightItalic";
src: url('/static/v2/fonts/Muli/Muli-ExtraLightItalic.ttf');
}

@font-face {
font-family: "Muli-Semi-BoldItalic";
src: url('/static/v2/fonts/Muli/Muli-Semi-BoldItalic.ttf');
}

@font-face {
font-family: "Muli-LightItalic";
src: url('/static/v2/fonts/Muli/Muli-LightItalic.ttf');
}

body {
font-family: "futura-pt", Futura;
overflow-x: hidden;
Expand Down
Binary file added app/assets/v2/fonts/Muli/Muli-Bold.ttf
Binary file not shown.
Binary file added app/assets/v2/fonts/Muli/Muli-BoldItalic.ttf
Binary file not shown.
Binary file added app/assets/v2/fonts/Muli/Muli-ExtraLight.ttf
Binary file not shown.
Binary file not shown.
Binary file added app/assets/v2/fonts/Muli/Muli-Italic.ttf
Binary file not shown.
Binary file added app/assets/v2/fonts/Muli/Muli-Light.ttf
Binary file not shown.
Binary file added app/assets/v2/fonts/Muli/Muli-LightItalic.ttf
Binary file not shown.
Binary file added app/assets/v2/fonts/Muli/Muli-Semi-BoldItalic.ttf
Binary file not shown.
Binary file added app/assets/v2/fonts/Muli/Muli-SemiBold.ttf
Binary file not shown.
Binary file added app/assets/v2/fonts/Muli/Muli.ttf
Binary file not shown.
180 changes: 87 additions & 93 deletions app/dashboard/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,118 +19,112 @@
<!DOCTYPE html>
<html lang="en">

<head>
<head>
{% include 'shared/head.html' %}
{% include 'shared/cards.html' %}
</head>
</head>

<body class="interior {{active}}">
<body class="interior {{active}}">
{% include 'shared/tag_manager_2.html' %}
<div class="container-fluid header dash">
{% include 'shared/nav_internal.html' %}

{% include 'shared/nav_internal.html' %}
</div>
<div class="row no-gutter">
<div class="col-2" style="background: #eee; ">
{% include 'shared/current_balance.html' %}
{% include 'shared/sidebar_search.html' %}
</div>

<div class="col body">
<div class="container-fluid" id="bounties">
{% include 'shared/search_bar.html' %}


<div class="row mt-2 mb-2">
<div class="col-10 ml-3 font-bigger-2" style="color: #3e24fb;padding-left: 1rem;">
<span id="modifiers">
Funded Issues
</span>
<span id=stats class="font-bigger-1 pl-1"></span>
</div>
<div class="col-2"></div>
</div>
<div class="row loading justify-content-center align-items-center loading_img">
<img src="{% static "v2/images/loading_v2.gif" %}">
</div>
<div class="row nonefound" style="display:none;">
<img src="{% static "v2/images/shrug_bot.png" %}">
<h3>No results found.</h3>
<p>Please try another query</p>
<p>- or -</p>
<p>
<a href="#" class="save_search">save search</a> to be notified when results do appear.
</p>
</div>
<div class="col-2" style="background: #eee; ">
{% include 'shared/current_balance.html' %}
{% include 'shared/sidebar_search.html' %}
</div>

<div class="col body">
<div class="container-fluid" id="bounties">
{% include 'shared/search_bar.html' %}
<div class="row mt-2 mb-2">
<div class="col-10 ml-3 font-bigger-2" style="color: #3e24fb;padding-left: 1rem;">
<span id="modifiers">Funded Issues</span>
<span id=stats class="font-bigger-1 pl-1"></span>
</div>
<div class="col-2"></div>
</div>
<div class="row loading justify-content-center align-items-center loading_img">
<img src="{% static "v2/images/loading_v2.gif" %}">
</div>
<div class="row nonefound" style="display:none;">
<img src="{% static "v2/images/shrug_bot.png" %}">
<h3>No results found.</h3>
<p>Please try another query</p>
<p>- or -</p>
<p>
<a href="#" class="save_search">save search</a>
to be notified when results do appear.
</p>
</div>
</div>
</div>
</div>

<!-- JSRender stuff -->
<script id="result" type="text/x-jsrender">
<div class="row result bounty_row pt-2 [[:network]]" href="[[:action]]">
[[if my_bounty]]
<div class="col-2 justify-content-center special_tag hide_min_viewport" style="text-align: center">
[[if avatar_url]]
<img src='[[:avatar_url]]' style="margin: 0px auto 5px; display: block;" class='avatar'>
[[/if]]
[[:my_bounty]]
</div>
[[else]]
[[if avatar_url]]
<div class="col-2 d-flex justify-content-center special_tag hide_min_viewport">
<img src='[[:avatar_url]]' class='avatar'>
</div>
[[else]]
<div class="col-2 pt-3 d-flex justify-content-center">
<div class="experience [[:experience_level]]">&nbsp;</div>
</div>
[[/if]]
[[/if]]
<div class="col-7 d-flex flex-column">
<div class="w-75 d-flex flex-column pb-2" style="border-bottom: 1px solid #f9f9f9">
<div class="font-bigger-1">
[[if network != 'mainnet']]
([[:network]])
[[/if]]
[[:title]]</div>
<div class="font-smaller-2">
[[if github_comments]]
<span class="github-comment">[[:github_comments]]</span>
[[/if]]
[[:p]]
</div>
</div>
<!-- JSRender stuff -->
<script id="result" type="text/x-jsrender">
<div class="row result bounty_row pt-2 [[:network]]" href="[[:action]]">
[[if my_bounty]]
<div class="col-2 justify-content-center special_tag hide_min_viewport" style="text-align: center">
[[if avatar_url]]
<img src='[[:avatar_url]]' style="margin: 0px auto 5px; display: block;" class='avatar'>
[[/if]]
[[:my_bounty]]
</div>
[[else]]
[[if avatar_url]]
<div class="col-2 d-flex justify-content-center special_tag hide_min_viewport">
<img src='[[:avatar_url]]' class='avatar'>
</div>
[[else]]
<div class="col-2 pt-3 d-flex justify-content-center">
<div class="experience [[:experience_level]]">&nbsp;</div>
</div>
<div class="col-1 d-flex align-items-center">
<a class="btn btn-sm btn-darkBlue font-smaller-2" role="button" href="#">
[[:rounded_amount]] <span class="font-smaller-4">[[:token_name]]</span>
</a>
[[/if]]
[[/if]]
<div class="col-7 d-flex flex-column">
<div class="w-75 d-flex flex-column pb-2" style="border-bottom: 1px solid #f9f9f9">
<div class="font-bigger-1">
[[if network != 'mainnet']]
([[:network]])
[[/if]]
[[:title]]
</div>
<div class="col-1 d-flex align-items-center">
[[if value_in_usdt]]
<a class="btn btn-sm btn-darkBlue font-smaller-2 hide_min_viewport" role="button" href="#">
[[:value_in_usdt]] <span class="font-smaller-4">USD</span>
</a>
[[/if]]
<div class="font-smaller-2">
[[if github_comments]]
<span class="github-comment">[[:github_comments]]</span>
[[/if]]
[[:p]]
</div>
</div>
</div>

</script>

<div class="col-1 d-flex align-items-center">
<a class="btn btn-sm btn-darkBlue font-smaller-2" role="button" href="#">
[[:rounded_amount]] <span class="font-smaller-4">[[:token_name]]</span>
</a>
</div>
<div class="col-1 d-flex align-items-center">
[[if value_in_usdt]]
<a class="btn btn-sm btn-darkBlue font-smaller-2 hide_min_viewport" role="button" href="#">
[[:value_in_usdt]] <span class="font-smaller-4">USD</span>
</a>
[[/if]]
</div>
</div>
</script>

{% include 'shared/bottom_notification.html' %}
{% include 'shared/analytics.html' %}
{% include 'shared/footer_scripts.html' %}
{% include 'shared/rollbar.html' %}
{% include 'shared/footer.html' %}

<script src="{% static "v2/js/tokens.js" %}"></script>
<script src="{% static "v2/js/pages/dashboard.js" %}"></script>
<script src="{% static "v2/js/shared.js" %}"></script>

<script>
document.keywords = {{keywords | safe}};
</script>

</body>
<script src="{% static "v2/js/tokens.js" %}"></script>
<script src="{% static "v2/js/pages/dashboard.js" %}"></script>
<script src="{% static "v2/js/shared.js" %}"></script>
<script>
document.keywords = {{keywords | safe}};
</script>
</body>
</html>

0 comments on commit 2773140

Please sign in to comment.