aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/admin
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-09-19 22:49:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-09-19 22:49:31 +0200
commitec8d8440a893ba64075da2e57ea04c7976e0b303 (patch)
treea8fed5e1e6e06317533ebf021c1244c057e670c2 /client/src/app/admin
parentad22074a780b4bdbe3cd9e903b3fa5ef83eaef14 (diff)
downloadPeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.tar.gz
PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.tar.zst
PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.zip
Client: use templateUrl/styleUrls instead of require
Diffstat (limited to 'client/src/app/admin')
-rw-r--r--client/src/app/admin/friends/friend-add/friend-add.component.ts4
-rw-r--r--client/src/app/admin/friends/friend-list/friend-list.component.ts4
-rw-r--r--client/src/app/admin/menu-admin.component.ts2
-rw-r--r--client/src/app/admin/users/user-add/user-add.component.ts2
-rw-r--r--client/src/app/admin/users/user-list/user-list.component.ts4
5 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/admin/friends/friend-add/friend-add.component.ts b/client/src/app/admin/friends/friend-add/friend-add.component.ts
index 68363b482..7aab82b97 100644
--- a/client/src/app/admin/friends/friend-add/friend-add.component.ts
+++ b/client/src/app/admin/friends/friend-add/friend-add.component.ts
@@ -7,8 +7,8 @@ import { FriendService } from '../shared';
7 7
8@Component({ 8@Component({
9 selector: 'my-friend-add', 9 selector: 'my-friend-add',
10 template: require('./friend-add.component.html'), 10 templateUrl: './friend-add.component.html',
11 styles: [ require('./friend-add.component.scss') ] 11 styleUrls: [ './friend-add.component.scss' ]
12}) 12})
13export class FriendAddComponent implements OnInit { 13export class FriendAddComponent implements OnInit {
14 form: FormGroup; 14 form: FormGroup;
diff --git a/client/src/app/admin/friends/friend-list/friend-list.component.ts b/client/src/app/admin/friends/friend-list/friend-list.component.ts
index c76fc4df2..afbb48c1c 100644
--- a/client/src/app/admin/friends/friend-list/friend-list.component.ts
+++ b/client/src/app/admin/friends/friend-list/friend-list.component.ts
@@ -4,8 +4,8 @@ import { Friend, FriendService } from '../shared';
4 4
5@Component({ 5@Component({
6 selector: 'my-friend-list', 6 selector: 'my-friend-list',
7 template: require('./friend-list.component.html'), 7 templateUrl: './friend-list.component.html',
8 styles: [ require('./friend-list.component.scss') ] 8 styleUrls: [ './friend-list.component.scss' ]
9}) 9})
10export class FriendListComponent implements OnInit { 10export class FriendListComponent implements OnInit {
11 friends: Friend[]; 11 friends: Friend[];
diff --git a/client/src/app/admin/menu-admin.component.ts b/client/src/app/admin/menu-admin.component.ts
index a9115d49f..59ffccf9f 100644
--- a/client/src/app/admin/menu-admin.component.ts
+++ b/client/src/app/admin/menu-admin.component.ts
@@ -2,6 +2,6 @@ import { Component } from '@angular/core';
2 2
3@Component({ 3@Component({
4 selector: 'my-menu-admin', 4 selector: 'my-menu-admin',
5 template: require('./menu-admin.component.html') 5 templateUrl: './menu-admin.component.html'
6}) 6})
7export class MenuAdminComponent { } 7export class MenuAdminComponent { }
diff --git a/client/src/app/admin/users/user-add/user-add.component.ts b/client/src/app/admin/users/user-add/user-add.component.ts
index b79437795..ab96fb01d 100644
--- a/client/src/app/admin/users/user-add/user-add.component.ts
+++ b/client/src/app/admin/users/user-add/user-add.component.ts
@@ -7,7 +7,7 @@ import { FormReactive, USER_USERNAME, USER_PASSWORD } from '../../../shared';
7 7
8@Component({ 8@Component({
9 selector: 'my-user-add', 9 selector: 'my-user-add',
10 template: require('./user-add.component.html') 10 templateUrl: './user-add.component.html'
11}) 11})
12export class UserAddComponent extends FormReactive implements OnInit { 12export class UserAddComponent extends FormReactive implements OnInit {
13 error: string = null; 13 error: string = null;
diff --git a/client/src/app/admin/users/user-list/user-list.component.ts b/client/src/app/admin/users/user-list/user-list.component.ts
index d3827eb28..03f4e5c0a 100644
--- a/client/src/app/admin/users/user-list/user-list.component.ts
+++ b/client/src/app/admin/users/user-list/user-list.component.ts
@@ -5,8 +5,8 @@ import { UserService } from '../shared';
5 5
6@Component({ 6@Component({
7 selector: 'my-user-list', 7 selector: 'my-user-list',
8 template: require('./user-list.component.html'), 8 templateUrl: './user-list.component.html',
9 styles: [ require('./user-list.component.scss') ] 9 styleUrls: [ './user-list.component.scss' ]
10}) 10})
11export class UserListComponent implements OnInit { 11export class UserListComponent implements OnInit {
12 totalUsers: number; 12 totalUsers: number;