mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
new user dialog stub added
This commit is contained in:
parent
9afc2629f4
commit
4fda33778c
9
frontend/app/admin/newuser/new.user.admin.component.html
Normal file
9
frontend/app/admin/newuser/new.user.admin.component.html
Normal file
@ -0,0 +1,9 @@
|
||||
<app-frame>
|
||||
<md-card>
|
||||
<md-card-title>User management</md-card-title>
|
||||
<md-card-content>
|
||||
|
||||
<button md-button (click)="addUser()">+ add user</button>
|
||||
</md-card-content>
|
||||
</md-card>
|
||||
</app-frame>
|
18
frontend/app/admin/newuser/new.user.admin.component.ts
Normal file
18
frontend/app/admin/newuser/new.user.admin.component.ts
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
import {Component} from 'angular2/core';
|
||||
import {MATERIAL_DIRECTIVES} from "ng2-material/all";
|
||||
import {MATERIAL_BROWSER_PROVIDERS} from "ng2-material/all";
|
||||
|
||||
@Component({
|
||||
selector: 'admin-new-user',
|
||||
templateUrl: 'app/admin/newuser/new.user.admin.component.html',
|
||||
styleUrls:['app/admin/newuser/new.user.admin.component.css'],
|
||||
directives:[MATERIAL_DIRECTIVES],
|
||||
providers:[MATERIAL_BROWSER_PROVIDERS]
|
||||
})
|
||||
export class NewUserComponent{
|
||||
constructor() {
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user