Browse Source

Temp

pull/1/head
Sebastian 10 years ago
parent
commit
a49e7282e5
  1. 2
      src/PinkParrot/Modules/UI/Account/AccountController.cs
  2. 9
      src/PinkParrot/app/app.component.ts
  3. 7
      src/PinkParrot/app/app.module.ts
  4. 9
      src/PinkParrot/app/app.routes.ts
  5. 9
      src/PinkParrot/app/framework/declarations.ts
  6. 9
      src/PinkParrot/app/framework/framework.module.ts
  7. 9
      src/PinkParrot/app/main.ts
  8. 9
      src/PinkParrot/app/polyfills.ts
  9. 7
      src/PinkParrot/app/shared/guards/auth.guard.ts
  10. 1
      src/PinkParrot/app/shared/services/auth.service.ts
  11. 9
      src/PinkParrot/app/vendor.ts

2
src/PinkParrot/Modules/UI/Account/AccountController.cs

@ -13,7 +13,7 @@ using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.MongoDB;
using Microsoft.AspNetCore.Mvc;
// ReSharper disable RedundantIfElseBlock
// ReSharper disable ConvertIfStatementToReturnStatement
namespace PinkParrot.Modules.UI.Account

9
src/PinkParrot/app/app.component.ts

@ -1,4 +1,11 @@
import * as Ng2 from '@angular/core';
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
import * as Ng2 from '@angular/core';
@Ng2.Component({
selector: 'my-app',

7
src/PinkParrot/app/app.module.ts

@ -1,3 +1,10 @@
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
import * as Ng2 from '@angular/core';
import * as Ng2Browser from '@angular/platform-browser';

9
src/PinkParrot/app/app.routes.ts

@ -1,4 +1,11 @@
import * as Ng2 from '@angular/core';
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
import * as Ng2 from '@angular/core';
import * as Ng2Router from '@angular/router';
import {

9
src/PinkParrot/app/framework/declarations.ts

@ -1,4 +1,11 @@
export * from './angular/cloak.directive';
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
export * from './angular/cloak.directive';
export * from './angular/color-picker.component';
export * from './angular/date-time.pipes';
export * from './angular/drag-model.directive';

9
src/PinkParrot/app/framework/framework.module.ts

@ -1,4 +1,11 @@
import * as Ng2 from '@angular/core';
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
import * as Ng2 from '@angular/core';
import * as Ng2Http from '@angular/http';
import * as Ng2Forms from '@angular/forms';
import * as Ng2Common from '@angular/common';

9
src/PinkParrot/app/main.ts

@ -1,4 +1,11 @@
import './theme/theme.scss';
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
import './theme/theme.scss';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';

9
src/PinkParrot/app/polyfills.ts

@ -1,4 +1,11 @@
import 'core-js/es6';
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
import 'core-js/es6';
import 'reflect-metadata';
require('zone.js/dist/zone');

7
src/PinkParrot/app/shared/guards/auth.guard.ts

@ -1,3 +1,10 @@
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
import * as Ng2 from '@angular/core';
import * as Ng2Router from '@angular/router';

1
src/PinkParrot/app/shared/services/auth.service.ts

@ -42,6 +42,7 @@ export class AuthService {
this.userManager.getUser()
.then((user) => {
debugger;
this.currentUser = user;
})
.catch((err) => {

9
src/PinkParrot/app/vendor.ts

@ -1,4 +1,11 @@
// Angular 2
/*
*PinkParrot CMS
*
* @license
* Copyright (c) Sebastian Stehle. All rights reserved
*/
// Angular 2
import '@angular/platform-browser';
import '@angular/platform-browser-dynamic';
import '@angular/core';

Loading…
Cancel
Save