Skip to content

Commit 219354e

Browse files
author
Stephen Cobbe
committed
added SimpleBusinessDashboard
1 parent 53c7b10 commit 219354e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+29738
-1
lines changed

Dropbox.Api.sln

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 2013
3-
VisualStudioVersion = 12.0.40629.0
3+
VisualStudioVersion = 12.0.31101.0
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlogDemo", "Examples\SimpleBlogDemo\SimpleBlogDemo.csproj", "{8772EB1E-3019-4FB3-9059-67681693E873}"
66
EndProject
@@ -18,6 +18,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dropbox.Api.Portable40", "D
1818
EndProject
1919
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dropbox.Api", "Dropbox.Api\Dropbox.Api.csproj", "{68180B54-4724-4CD1-BAA6-EE7BC309797C}"
2020
EndProject
21+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBusinessDashboard", "Examples\SimpleBusinessDashboard\SimpleBusinessDashboard.csproj", "{B762DE35-E606-4B57-8860-1A662DF5624C}"
22+
EndProject
2123
Global
2224
GlobalSection(SharedMSBuildProjectFiles) = preSolution
2325
Examples\UniversalDemo\UniversalDemo\UniversalDemo.Shared\UniversalDemo.Shared.projitems*{51d9899c-31d6-4c22-b894-e9498cb90577}*SharedItemsImports = 4
@@ -129,6 +131,16 @@ Global
129131
{68180B54-4724-4CD1-BAA6-EE7BC309797C}.Release|ARM.ActiveCfg = Release|Any CPU
130132
{68180B54-4724-4CD1-BAA6-EE7BC309797C}.Release|x64.ActiveCfg = Release|Any CPU
131133
{68180B54-4724-4CD1-BAA6-EE7BC309797C}.Release|x86.ActiveCfg = Release|Any CPU
134+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
135+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Debug|Any CPU.Build.0 = Debug|Any CPU
136+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Debug|ARM.ActiveCfg = Debug|Any CPU
137+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Debug|x64.ActiveCfg = Debug|Any CPU
138+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Debug|x86.ActiveCfg = Debug|Any CPU
139+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Release|Any CPU.ActiveCfg = Release|Any CPU
140+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Release|Any CPU.Build.0 = Release|Any CPU
141+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Release|ARM.ActiveCfg = Release|Any CPU
142+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Release|x64.ActiveCfg = Release|Any CPU
143+
{B762DE35-E606-4B57-8860-1A662DF5624C}.Release|x86.ActiveCfg = Release|Any CPU
132144
EndGlobalSection
133145
GlobalSection(SolutionProperties) = preSolution
134146
HideSolutionNode = FALSE
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
namespace SimpleBusinessDashboard
5+
{
6+
public class BundleConfig
7+
{
8+
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
9+
public static void RegisterBundles(BundleCollection bundles)
10+
{
11+
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
12+
"~/Scripts/jquery-{version}.js"));
13+
14+
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
15+
"~/Scripts/jquery.validate*"));
16+
17+
// Use the development version of Modernizr to develop with and learn from. Then, when you're
18+
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
19+
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
20+
"~/Scripts/modernizr-*"));
21+
22+
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
23+
"~/Scripts/bootstrap.js"));
24+
25+
bundles.Add(new ScriptBundle("~/bundles/graph").Include(
26+
"~/Scripts/raphael-min.js",
27+
"~/Scripts/morris.min.js",
28+
"~/Scripts/morris-data.js",
29+
"~/Scripts/sb-admin-2.js",
30+
"~/Scripts/morris.js",
31+
"~/Scripts/sb-admin-2.js"));
32+
33+
bundles.Add(new StyleBundle("~/Content/css").Include(
34+
"~/Content/bootstrap.css",
35+
"~/Content/Site.css",
36+
"~/Content/sb-admin-2.css",
37+
"~/Content/morris.css"));
38+
}
39+
}
40+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Web;
2+
using System.Web.Mvc;
3+
4+
namespace SimpleBusinessDashboard
5+
{
6+
public class FilterConfig
7+
{
8+
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9+
{
10+
filters.Add(new HandleErrorAttribute());
11+
}
12+
}
13+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
using System.Web.Mvc;
6+
using System.Web.Routing;
7+
8+
namespace SimpleBusinessDashboard
9+
{
10+
public class RouteConfig
11+
{
12+
public static void RegisterRoutes(RouteCollection routes)
13+
{
14+
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
15+
16+
routes.MapRoute(
17+
name: "Default",
18+
url: "{controller}/{action}/{id}",
19+
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
20+
);
21+
}
22+
}
23+
}
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
body {
2+
background:url(../images/body-bg.png);
3+
min-height: 100%;
4+
display: inline-block;
5+
width: 100%;
6+
text-align: center;
7+
}
8+
9+
.body-content {
10+
padding: 0;
11+
display: inline-block;
12+
text-align: left;
13+
background-color: white;
14+
}
15+
16+
.dl-horizontal dt {
17+
white-space: normal;
18+
}
19+
20+
.highlight {
21+
background-color: #f7f7f9;
22+
border: 1px solid #e1e1e8;
23+
border-radius: 4px;
24+
margin-bottom: 14px;
25+
}
26+
27+
.margin-top-10 {
28+
margin-top: 10px;
29+
}
30+
31+
.margin-top-20 {
32+
margin-top: 20px;
33+
}
34+
35+
#nav-bar-blue {
36+
background:url(../images/blue-bg.png);
37+
border-color: transparent;
38+
width: 960px;
39+
margin: 0 auto;
40+
min-height: 0;
41+
height: 20px;
42+
}
43+
44+
#nav-bar {
45+
background:url(../images/white-bg.png);
46+
border-color: transparent;
47+
width: 960px;
48+
margin: 0 auto;
49+
min-height: 0;
50+
height: 60px;
51+
padding-top: 9px;
52+
}
53+
54+
#main-display {
55+
width: 960px;
56+
padding-left: 40px;
57+
padding-right: 40px;
58+
padding-bottom: 30px;
59+
background-color: white;
60+
}
61+
62+
#heading-1 {
63+
font-size: 28px;
64+
font-family: 'Open Sans', sans-serif;
65+
color: #636363;
66+
padding-left: 145px;
67+
font-weight: bold;
68+
}
69+
70+
.dbx-logo {
71+
float: right;
72+
padding-top: 17px;
73+
padding-right: 18px;
74+
}
75+
76+
.dbx-logo-img {
77+
width: 25px;
78+
height: 25px;
79+
}
80+
81+
.dbx-logo-img-small {
82+
width: 20px;
83+
height: 20px;
84+
}
85+
86+
.dbx-logo-txt {
87+
width: 90px;
88+
height: 22px;
89+
}
90+
91+
.custom-glyph {
92+
margin-top: 50%;
93+
font-size: 40px;
94+
}
95+
96+
#main-content-form {
97+
text-align: center;
98+
}
99+
100+
.custom-btn {
101+
display: inline-block;
102+
font-size: 14px;
103+
text-align: center;
104+
vertical-align: middle;
105+
border: 1px solid transparent;
106+
border-radius: 4px;
107+
background-color: #f2f2f2;
108+
border-color: #e6e6e6;
109+
110+
font-family: "Lucida Grande", "Segoe UI", "Tahoma", "Helvetica Neue", "Helvetica", sans-serif;
111+
font-size: 16px;
112+
font-weight: 600;
113+
color: #636363;
114+
text-decoration: none;
115+
116+
padding-left: 7px;
117+
padding-right: 9px;
118+
padding-top: 3px;
119+
padding-bottom: 3px;
120+
margin-top: 50px;
121+
margin-bottom: 30px;
122+
}
123+
124+
.custom-btn:hover {
125+
text-decoration: none;
126+
background-color: #e6e6e6;
127+
color: #636363;
128+
}
129+
130+
.custom-alert {
131+
max-width: 930px;
132+
margin-top: 15px;
133+
margin-left: 15px;
134+
margin-right: 15px;
135+
}
136+
137+
input#img-btn {
138+
background: #f2f2f2 url('../images/dropbox-logo.png') no-repeat 5% 50%;
139+
background-size: 20px 20px;
140+
padding-left: 36px;
141+
}
142+
143+
input#img-btn:hover {
144+
background: #e6e6e6 url('../images/dropbox-logo.png') no-repeat 5% 50%;
145+
background-size: 20px 20px;
146+
padding-left: 36px;
147+
}
148+
149+
.graph-header {
150+
font-weight: bold;
151+
}
152+
153+
.boxhead a {
154+
color: #FFFFFF;
155+
text-decoration: none;
156+
}
157+
158+
#main-header {
159+
font-size: 24px;
160+
font-family: 'Open Sans', sans-serif;
161+
color: #636363;
162+
text-align: left;
163+
}
164+
.glyphicon-refresh-animate {
165+
-animation: spin .7s infinite linear;
166+
-webkit-animation: spin2 .7s infinite linear;
167+
}
168+
169+
@-webkit-keyframes spin2 {
170+
from { -webkit-transform: rotate(0deg);}
171+
to { -webkit-transform: rotate(360deg);}
172+
}
173+
174+
@keyframes spin {
175+
from { transform: scale(1) rotate(0deg);}
176+
to { transform: scale(1) rotate(360deg);}
177+
}

0 commit comments

Comments
 (0)