Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

Commit 328d6ba

Browse files
committed
remove visual dashboard container (bug 1163994)
1 parent 895dc37 commit 328d6ba

File tree

2 files changed

+56
-72
lines changed

2 files changed

+56
-72
lines changed

src/media/css/stats.styl

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ $dash-tile-width = 290px;
7676
li {
7777
background-color: #fff;
7878
height: $dash-tile-height;
79+
margin: 10px 0;
7980
position: relative;
8081
width: $dash-tile-width;
8182
}
@@ -92,13 +93,7 @@ $dash-tile-width = 290px;
9293
}
9394
}
9495

95-
.dashboard-home {
96-
// 150 x 3 + 40 x 2
97-
height: 530px;
98-
}
99-
10096
.dashboard-app {
101-
height: 340px;
10297
justify-content: space-between;
10398
margin-top: 30px;
10499
}
@@ -252,15 +247,6 @@ ul {
252247
}
253248
}
254249

255-
.page-container-app {
256-
background-color: #fff;
257-
border: 0px solid #d7d7d7;
258-
border-radius: 5px;
259-
box-shadow: 0 0 1px #a5a5a5;
260-
margin: 30px auto 50px auto;
261-
padding: 5px 0;
262-
}
263-
264250
.sidebar {
265251
float: right;
266252
height: 780px;

src/templates/homepage.html

Lines changed: 55 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,57 @@
11
<section class="main">
2-
<div class="page-container-app">
3-
<ul class="dashboard dashboard-home">
4-
<li>
5-
<a href="{{ url('total_developers') }}" data-src="total_developers">
6-
<span>{{ _('Developers') }}</span>
7-
</a>
8-
</li>
9-
<li>
10-
<a href="{{ url('total_visits') }}" data-src="total_visits">
11-
<span>{{ _('Visits') }}</span>
12-
</a>
13-
</li>
14-
<li>
15-
<a href="{{ url('apps_added') }}" data-src="apps_added">
16-
<span>{{ _('New Apps by Payment Type') }}</span>
17-
</a>
18-
</li>
19-
<li>
20-
<a href="{{ url('apps_by_type') }}" data-src="apps_by_type">
21-
<span>{{ _('New Apps by App Type') }}</span>
22-
</a>
23-
</li>
24-
<li>
25-
<a href="{{ url('apps_available_by_premium') }}" data-src="apps_available_by_premium">
26-
<span>{{ _('Apps by Payment Type') }}</span>
27-
</a>
28-
</li>
29-
<li>
30-
<a href="{{ url('apps_available_by_type') }}" data-src="apps_available_by_type">
31-
<span>{{ _('Apps by App Type') }}</span>
32-
</a>
33-
</li>
34-
<li>
35-
<a href="{{ url('apps_installed') }}" data-src="apps_installed">
36-
<span>{{ _('Apps Installed') }}</span>
37-
</a>
38-
</li>
39-
<li>
40-
<a href="{{ url('ratings') }}" data-src="ratings">
41-
<span>{{ _('App Ratings') }}</span>
42-
</a>
43-
</li>
44-
<li>
45-
<a href="{{ url('abuse_reports') }}" data-src="abuse_reports">
46-
<span>{{ _('Abuse Reports') }}</span>
47-
</a>
48-
</li>
49-
{# TODO: Implement 'RevenueStats:View' properly when available. #}
50-
{% if user.get_permission('revenue_stats') %}
51-
<li>
52-
<a href="{{ url('gross_revenue') }}" data-src="gross_revenue">
53-
<span>{{ _('Gross Revenue') }}</span>
54-
</a>
55-
</li>
56-
{% endif %}
57-
</ul>
58-
</div>
2+
<ul class="dashboard dashboard-home">
3+
<li>
4+
<a href="{{ url('total_developers') }}" data-src="total_developers">
5+
<span>{{ _('Developers') }}</span>
6+
</a>
7+
</li>
8+
<li>
9+
<a href="{{ url('total_visits') }}" data-src="total_visits">
10+
<span>{{ _('Visits') }}</span>
11+
</a>
12+
</li>
13+
<li>
14+
<a href="{{ url('apps_added') }}" data-src="apps_added">
15+
<span>{{ _('New Apps by Payment Type') }}</span>
16+
</a>
17+
</li>
18+
<li>
19+
<a href="{{ url('apps_by_type') }}" data-src="apps_by_type">
20+
<span>{{ _('New Apps by App Type') }}</span>
21+
</a>
22+
</li>
23+
<li>
24+
<a href="{{ url('apps_available_by_premium') }}" data-src="apps_available_by_premium">
25+
<span>{{ _('Apps by Payment Type') }}</span>
26+
</a>
27+
</li>
28+
<li>
29+
<a href="{{ url('apps_available_by_type') }}" data-src="apps_available_by_type">
30+
<span>{{ _('Apps by App Type') }}</span>
31+
</a>
32+
</li>
33+
<li>
34+
<a href="{{ url('apps_installed') }}" data-src="apps_installed">
35+
<span>{{ _('Apps Installed') }}</span>
36+
</a>
37+
</li>
38+
<li>
39+
<a href="{{ url('ratings') }}" data-src="ratings">
40+
<span>{{ _('App Ratings') }}</span>
41+
</a>
42+
</li>
43+
<li>
44+
<a href="{{ url('abuse_reports') }}" data-src="abuse_reports">
45+
<span>{{ _('Abuse Reports') }}</span>
46+
</a>
47+
</li>
48+
{# TODO: Implement 'RevenueStats:View' properly when available. #}
49+
{% if user.get_permission('revenue_stats') %}
50+
<li>
51+
<a href="{{ url('gross_revenue') }}" data-src="gross_revenue">
52+
<span>{{ _('Gross Revenue') }}</span>
53+
</a>
54+
</li>
55+
{% endif %}
56+
</ul>
5957
</section>

0 commit comments

Comments
 (0)