Skip to content

Commit 02bc510

Browse files
committed
Primer avance del proyecto realizado por Fernando Herrera, AdminPro
1 parent 6e173c6 commit 02bc510

4,526 files changed

Lines changed: 941063 additions & 341 deletions

File tree

Some content is hidden

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

src/app/app-routing.module.ts

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
11
import { NgModule } from '@angular/core';
22
import { RouterModule, Routes } from '@angular/router';
3+
import { DashboardComponent } from './pages/dashboard/dashboard.component';
4+
import { LoginComponent } from './auth/login/login.component';
5+
import { RegisterComponent } from './auth/register/register.component';
6+
import { ProgressComponent } from './pages/progress/progress.component';
7+
import { Grafica1Component } from './pages/grafica1/grafica1.component';
8+
import { Page404Component } from './pages/404/404.component';
9+
import { PagesComponent } from './pages/pages.component';
310

4-
const routes: Routes = [];
11+
const routes: Routes = [
12+
{
13+
path: '',
14+
component: PagesComponent,
15+
children: [
16+
{ path: 'dashboard', component: DashboardComponent },
17+
{ path: 'progress', component: ProgressComponent },
18+
{ path: 'grafica1', component: Grafica1Component },
19+
{ path: '', redirectTo: '/dashboard', pathMatch: 'full' },
20+
]
21+
},
22+
23+
{ path: 'login', component: LoginComponent },
24+
{ path: 'register', component: RegisterComponent },
25+
26+
{ path: '**', component: Page404Component },
27+
];
528

629
@NgModule({
730
imports: [RouterModule.forRoot(routes)],

src/app/app.component.html

Lines changed: 1 addition & 336 deletions
Large diffs are not rendered by default.

src/app/app.module.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
1+
;
2+
import { HeaderComponent } from './shared/header/header.component';
3+
import { SidebarComponent } from './shared/sidebar/sidebar.component';
4+
import { BreadcrumbsComponent } from './shared/breadcrumbs/breadcrumbs.component';
5+
import { DashboardComponent } from './pages/dashboard/dashboard.component';
16
import { NgModule } from '@angular/core';
27
import { BrowserModule } from '@angular/platform-browser';
38

49
import { AppRoutingModule } from './app-routing.module';
510
import { AppComponent } from './app.component';
11+
import { LoginComponent } from './auth/login/login.component';
12+
import { RegisterComponent } from './auth/register/register.component';
13+
import { Page404Component } from './pages/404/404.component';
14+
import { ProgressComponent } from './pages/progress/progress.component';
15+
import { Grafica1Component } from './pages/grafica1/grafica1.component';
16+
import { PagesComponent } from './pages/pages.component';
617

718
@NgModule({
819
declarations: [
9-
AppComponent
20+
AppComponent,
21+
LoginComponent,
22+
RegisterComponent,
23+
Page404Component,
24+
DashboardComponent,
25+
BreadcrumbsComponent,
26+
SidebarComponent,
27+
HeaderComponent, ProgressComponent, Grafica1Component, PagesComponent
1028
],
1129
imports: [
1230
BrowserModule,
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/*
2+
Template Name: Admin pro Admin
3+
Author: Wrappixel
4+
Email: niravjoshi87@gmail.com
5+
File: scss
6+
*/
7+
/*
8+
Template Name: Admin Pro Admin
9+
Author: Wrappixel
10+
Email: niravjoshi87@gmail.com
11+
File: scss
12+
*/
13+
/*Theme Colors*/
14+
/*bootstrap Color*/
15+
/*Light colors*/
16+
/*Normal Color*/
17+
/*Extra Variable*/
18+
/*******************
19+
Login register and recover password Page
20+
******************/
21+
.login-register {
22+
background-size: cover;
23+
background-repeat: no-repeat;
24+
background-position: center center;
25+
height: 100%;
26+
width: 100%;
27+
padding: 10% 0;
28+
position: fixed; }
29+
30+
.login-box {
31+
width: 400px;
32+
margin: 0 auto; }
33+
.login-box .footer {
34+
width: 100%;
35+
left: 0px;
36+
right: 0px; }
37+
.login-box .social {
38+
display: block;
39+
margin-bottom: 30px; }
40+
41+
#recoverform {
42+
display: none; }
43+
44+
.login-sidebar {
45+
padding: 0px;
46+
margin-top: 0px; }
47+
.login-sidebar .login-box {
48+
right: 0px;
49+
position: absolute;
50+
height: 100%; }
51+
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<!-- ============================================================== -->
2+
<!-- Main wrapper - style you can find in pages.scss -->
3+
<!-- ============================================================== -->
4+
<section id="wrapper" class="login-register login-sidebar" style="background-image:url(../assets/images/background/login-register.jpg);">
5+
<div class="login-box card">
6+
<div class="card-body">
7+
<form class="form-horizontal form-material" id="loginform" action="index.html">
8+
<a href="javascript:void(0)" class="text-center db"><img src="../assets/images/logo-icon.png" alt="Home" /><br/><img src="../assets/images/logo-text.png" alt="Home" /></a>
9+
<div class="form-group m-t-40">
10+
<div class="col-xs-12">
11+
<input class="form-control" type="text" required="" placeholder="Username">
12+
</div>
13+
</div>
14+
<div class="form-group">
15+
<div class="col-xs-12">
16+
<input class="form-control" type="password" required="" placeholder="Password">
17+
</div>
18+
</div>
19+
<div class="form-group row">
20+
<div class="col-md-12">
21+
<div class="checkbox checkbox-primary pull-left p-t-0">
22+
<input id="checkbox-signup" type="checkbox" class="filled-in chk-col-light-blue">
23+
<label for="checkbox-signup"> Remember me </label>
24+
</div>
25+
<a href="javascript:void(0)" id="to-recover" class="text-dark pull-right"><i class="fa fa-lock m-r-5"></i> Forgot pwd?</a> </div>
26+
</div>
27+
<div class="form-group text-center m-t-20">
28+
<div class="col-xs-12">
29+
<button class="btn btn-info btn-lg btn-block text-uppercase btn-rounded" type="submit">Log In</button>
30+
</div>
31+
</div>
32+
<div class="row">
33+
<div class="col-xs-12 col-sm-12 col-md-12 m-t-10 text-center">
34+
<div class="social"><a href="javascript:void(0)" class="btn btn-facebook" data-toggle="tooltip" title="Login with Facebook"> <i aria-hidden="true" class="fa fa-facebook"></i> </a> <a href="javascript:void(0)" class="btn btn-googleplus" data-toggle="tooltip" title="Login with Google"> <i aria-hidden="true" class="fa fa-google-plus"></i> </a> </div>
35+
</div>
36+
</div>
37+
<div class="form-group m-b-0">
38+
<div class="col-sm-12 text-center">
39+
Don't have an account? <a href="pages-register2.html" class="text-primary m-l-5"><b>Sign Up</b></a>
40+
</div>
41+
</div>
42+
</form>
43+
<form class="form-horizontal" id="recoverform" action="index.html">
44+
<div class="form-group ">
45+
<div class="col-xs-12">
46+
<h3>Recover Password</h3>
47+
<p class="text-muted">Enter your Email and instructions will be sent to you! </p>
48+
</div>
49+
</div>
50+
<div class="form-group ">
51+
<div class="col-xs-12">
52+
<input class="form-control" type="text" required="" placeholder="Email">
53+
</div>
54+
</div>
55+
<div class="form-group text-center m-t-20">
56+
<div class="col-xs-12">
57+
<button class="btn btn-primary btn-lg btn-block text-uppercase waves-effect waves-light" type="submit">Reset</button>
58+
</div>
59+
</div>
60+
</form>
61+
</div>
62+
</div>
63+
</section>
64+
<!-- ============================================================== -->
65+
<!-- End Wrapper -->
66+
<!-- ============================================================== -->
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { Component } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-login',
5+
templateUrl: './login.component.html',
6+
styleUrl: './login.component.css'
7+
})
8+
export class LoginComponent {
9+
10+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/*
2+
Template Name: Admin pro Admin
3+
Author: Wrappixel
4+
Email: niravjoshi87@gmail.com
5+
File: scss
6+
*/
7+
/*
8+
Template Name: Admin Pro Admin
9+
Author: Wrappixel
10+
Email: niravjoshi87@gmail.com
11+
File: scss
12+
*/
13+
/*Theme Colors*/
14+
/*bootstrap Color*/
15+
/*Light colors*/
16+
/*Normal Color*/
17+
/*Extra Variable*/
18+
/*******************
19+
Login register and recover password Page
20+
******************/
21+
.login-register {
22+
background-size: cover;
23+
background-repeat: no-repeat;
24+
background-position: center center;
25+
height: 100%;
26+
width: 100%;
27+
padding: 10% 0;
28+
position: fixed; }
29+
30+
.login-box {
31+
width: 400px;
32+
margin: 0 auto; }
33+
.login-box .footer {
34+
width: 100%;
35+
left: 0px;
36+
right: 0px; }
37+
.login-box .social {
38+
display: block;
39+
margin-bottom: 30px; }
40+
41+
#recoverform {
42+
display: none; }
43+
44+
.login-sidebar {
45+
padding: 0px;
46+
margin-top: 0px; }
47+
.login-sidebar .login-box {
48+
right: 0px;
49+
position: absolute;
50+
height: 100%; }
51+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!-- ============================================================== -->
2+
<!-- Main wrapper - style you can find in pages.scss -->
3+
<!-- ============================================================== -->
4+
<section id="wrapper" class="login-register login-sidebar" style="background-image:url(../assets/images/background/login-register.jpg);">
5+
<div class="login-box card">
6+
<div class="card-body">
7+
<form class="form-horizontal form-material" id="loginform" action="index.html">
8+
<a href="javascript:void(0)" class="text-center db"><img src="../assets/images/logo-icon.png" alt="Home" /><br/><img src="../assets/images/logo-text.png" alt="Home" /></a>
9+
<h3 class="box-title m-t-40 m-b-0">Register Now</h3><small>Create your account and enjoy</small>
10+
<div class="form-group m-t-20">
11+
<div class="col-xs-12">
12+
<input class="form-control" type="text" required="" placeholder="Name">
13+
</div>
14+
</div>
15+
<div class="form-group ">
16+
<div class="col-xs-12">
17+
<input class="form-control" type="text" required="" placeholder="Email">
18+
</div>
19+
</div>
20+
<div class="form-group ">
21+
<div class="col-xs-12">
22+
<input class="form-control" type="password" required="" placeholder="Password">
23+
</div>
24+
</div>
25+
<div class="form-group">
26+
<div class="col-xs-12">
27+
<input class="form-control" type="password" required="" placeholder="Confirm Password">
28+
</div>
29+
</div>
30+
<div class="form-group row">
31+
<div class="col-md-12">
32+
<div class="checkbox checkbox-primary p-t-0">
33+
<input id="checkbox-signup" type="checkbox">
34+
<label for="checkbox-signup"> I agree to all <a href="#">Terms</a></label>
35+
</div>
36+
</div>
37+
</div>
38+
<div class="form-group text-center m-t-20">
39+
<div class="col-xs-12">
40+
<button class="btn btn-info btn-lg btn-block text-uppercase waves-effect waves-light" type="submit">Sign Up</button>
41+
</div>
42+
</div>
43+
<div class="form-group m-b-0">
44+
<div class="col-sm-12 text-center">
45+
<p>Already have an account? <a href="pages-login-2.html" class="text-info m-l-5"><b>Sign In</b></a></p>
46+
</div>
47+
</div>
48+
</form>
49+
</div>
50+
</div>
51+
</section>
52+
<!-- ============================================================== -->
53+
<!-- End Wrapper -->
54+
<!-- ============================================================== -->
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { Component } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-register',
5+
templateUrl: './register.component.html',
6+
styleUrl: './register.component.css'
7+
})
8+
export class RegisterComponent {
9+
10+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
Template Name: Admin pro Admin
3+
Author: Wrappixel
4+
Email: niravjoshi87@gmail.com
5+
File: scss
6+
*/
7+
/*
8+
Template Name: Admin Pro Admin
9+
Author: Wrappixel
10+
Email: niravjoshi87@gmail.com
11+
File: scss
12+
*/
13+
/*Theme Colors*/
14+
/*bootstrap Color*/
15+
/*Light colors*/
16+
/*Normal Color*/
17+
/*Extra Variable*/
18+
/*******************
19+
Error Page
20+
******************/
21+
.error-box {
22+
height: 100%;
23+
position: fixed;
24+
background: url(../../../assets/images/background/error-bg.jpg) no-repeat center center #fff;
25+
width: 100%; }
26+
.error-box .footer {
27+
width: 100%;
28+
left: 0px;
29+
right: 0px; }
30+
31+
.error-body {
32+
padding-top: 5%; }
33+
.error-body h1 {
34+
font-size: 210px;
35+
font-weight: 900;
36+
text-shadow: 4px 4px 0 #ffffff, 6px 6px 0 #263238;
37+
line-height: 210px; }
38+

0 commit comments

Comments
 (0)