mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
More riot->element renaming
This commit is contained in:
parent
739f7088a2
commit
f0a79bad32
@ -10,10 +10,10 @@ import { BrowserModule } from "@angular/platform-browser";
|
|||||||
import { AppComponent } from "./app.component";
|
import { AppComponent } from "./app.component";
|
||||||
import { HomeComponent } from "./home/home.component";
|
import { HomeComponent } from "./home/home.component";
|
||||||
import { createNewHosts, removeNgStyles } from "@angularclass/hmr";
|
import { createNewHosts, removeNgStyles } from "@angularclass/hmr";
|
||||||
import { RiotComponent } from "./riot/riot.component";
|
import { ElementComponent } from "./element/element.component";
|
||||||
import { ScalarClientApiService } from "./shared/services/scalar/scalar-client-api.service";
|
import { ScalarClientApiService } from "./shared/services/scalar/scalar-client-api.service";
|
||||||
import { ToasterModule, ToasterService } from "angular2-toaster";
|
import { ToasterModule, ToasterService } from "angular2-toaster";
|
||||||
import { ScalarCloseComponent } from "./riot/scalar-close/scalar-close.component";
|
import { ScalarCloseComponent } from "./element/scalar-close/scalar-close.component";
|
||||||
import { GenericWidgetWrapperComponent } from "./widget-wrappers/generic/generic.component";
|
import { GenericWidgetWrapperComponent } from "./widget-wrappers/generic/generic.component";
|
||||||
import { ToggleFullscreenDirective } from "./shared/directives/toggle-fullscreen.directive";
|
import { ToggleFullscreenDirective } from "./shared/directives/toggle-fullscreen.directive";
|
||||||
import { FullscreenButtonComponent } from "./elements/fullscreen-button/fullscreen-button.component";
|
import { FullscreenButtonComponent } from "./elements/fullscreen-button/fullscreen-button.component";
|
||||||
@ -22,7 +22,7 @@ import { JitsiWidgetWrapperComponent } from "./widget-wrappers/jitsi/jitsi.compo
|
|||||||
import { GCalWidgetWrapperComponent } from "./widget-wrappers/gcal/gcal.component";
|
import { GCalWidgetWrapperComponent } from "./widget-wrappers/gcal/gcal.component";
|
||||||
import { PageHeaderComponent } from "./page-header/page-header.component";
|
import { PageHeaderComponent } from "./page-header/page-header.component";
|
||||||
import { SpinnerComponent } from "./elements/spinner/spinner.component";
|
import { SpinnerComponent } from "./elements/spinner/spinner.component";
|
||||||
import { RiotHomeComponent } from "./riot/riot-home/home.component";
|
import { ElementHomeComponent } from "./element/element-home/home.component";
|
||||||
import { IntegrationBagComponent } from "./integration-bag/integration-bag.component";
|
import { IntegrationBagComponent } from "./integration-bag/integration-bag.component";
|
||||||
import { ScalarServerApiService } from "./shared/services/scalar/scalar-server-api.service";
|
import { ScalarServerApiService } from "./shared/services/scalar/scalar-server-api.service";
|
||||||
import { AdminApiService } from "./shared/services/admin/admin-api.service";
|
import { AdminApiService } from "./shared/services/admin/admin-api.service";
|
||||||
@ -173,7 +173,7 @@ export function HttpLoaderFactory(http: HttpClient) {
|
|||||||
declarations: [
|
declarations: [
|
||||||
AppComponent,
|
AppComponent,
|
||||||
HomeComponent,
|
HomeComponent,
|
||||||
RiotComponent,
|
ElementComponent,
|
||||||
IntegrationBagComponent,
|
IntegrationBagComponent,
|
||||||
PageHeaderComponent,
|
PageHeaderComponent,
|
||||||
SpinnerComponent,
|
SpinnerComponent,
|
||||||
@ -186,7 +186,7 @@ export function HttpLoaderFactory(http: HttpClient) {
|
|||||||
BigBlueButtonWidgetWrapperComponent,
|
BigBlueButtonWidgetWrapperComponent,
|
||||||
GCalWidgetWrapperComponent,
|
GCalWidgetWrapperComponent,
|
||||||
BigBlueButtonConfigComponent,
|
BigBlueButtonConfigComponent,
|
||||||
RiotHomeComponent,
|
ElementHomeComponent,
|
||||||
IboxComponent,
|
IboxComponent,
|
||||||
ConfigScreenWidgetComponent,
|
ConfigScreenWidgetComponent,
|
||||||
CustomWidgetConfigComponent,
|
CustomWidgetConfigComponent,
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
import { RouterModule, Routes } from "@angular/router";
|
import { RouterModule, Routes } from "@angular/router";
|
||||||
import { HomeComponent } from "./home/home.component";
|
import { HomeComponent } from "./home/home.component";
|
||||||
import { RiotComponent } from "./riot/riot.component";
|
import { ElementComponent } from "./element/element.component";
|
||||||
import { GenericWidgetWrapperComponent } from "./widget-wrappers/generic/generic.component";
|
import { GenericWidgetWrapperComponent } from "./widget-wrappers/generic/generic.component";
|
||||||
import { BigBlueButtonWidgetWrapperComponent } from "./widget-wrappers/bigbluebutton/bigbluebutton.component";
|
import { BigBlueButtonWidgetWrapperComponent } from "./widget-wrappers/bigbluebutton/bigbluebutton.component";
|
||||||
import { BigBlueButtonConfigComponent } from "./configs/widget/bigbluebutton/bigbluebutton.widget.component";
|
import { BigBlueButtonConfigComponent } from "./configs/widget/bigbluebutton/bigbluebutton.widget.component";
|
||||||
import { VideoWidgetWrapperComponent } from "./widget-wrappers/video/video.component";
|
import { VideoWidgetWrapperComponent } from "./widget-wrappers/video/video.component";
|
||||||
import { JitsiWidgetWrapperComponent } from "./widget-wrappers/jitsi/jitsi.component";
|
import { JitsiWidgetWrapperComponent } from "./widget-wrappers/jitsi/jitsi.component";
|
||||||
import { GCalWidgetWrapperComponent } from "./widget-wrappers/gcal/gcal.component";
|
import { GCalWidgetWrapperComponent } from "./widget-wrappers/gcal/gcal.component";
|
||||||
import { RiotHomeComponent } from "./riot/riot-home/home.component";
|
import { ElementHomeComponent } from "./element/element-home/home.component";
|
||||||
import { CustomWidgetConfigComponent } from "./configs/widget/custom/custom.widget.component";
|
import { CustomWidgetConfigComponent } from "./configs/widget/custom/custom.widget.component";
|
||||||
import { EtherpadWidgetConfigComponent } from "./configs/widget/etherpad/etherpad.widget.component";
|
import { EtherpadWidgetConfigComponent } from "./configs/widget/etherpad/etherpad.widget.component";
|
||||||
import { GoogleCalendarWidgetConfigComponent } from "./configs/widget/google-calendar/gcal.widget.component";
|
import { GoogleCalendarWidgetConfigComponent } from "./configs/widget/google-calendar/gcal.widget.component";
|
||||||
@ -61,12 +61,12 @@ const routes: Routes = [
|
|||||||
{path: "element", pathMatch: "full", redirectTo: "riot-app", data: {breadcrumb: "Home", name: "Dimension"}},
|
{path: "element", pathMatch: "full", redirectTo: "riot-app", data: {breadcrumb: "Home", name: "Dimension"}},
|
||||||
{
|
{
|
||||||
path: "riot-app",
|
path: "riot-app",
|
||||||
component: RiotComponent,
|
component: ElementComponent,
|
||||||
data: {breadcrumb: "Home", name: "Dimension"},
|
data: {breadcrumb: "Home", name: "Dimension"},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: "",
|
path: "",
|
||||||
component: RiotHomeComponent,
|
component: ElementHomeComponent,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "admin",
|
path: "admin",
|
||||||
|
@ -21,11 +21,11 @@ const CATEGORY_MAP = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "my-riot-home",
|
selector: "my-element-home",
|
||||||
templateUrl: "./home.component.html",
|
templateUrl: "./home.component.html",
|
||||||
styleUrls: ["./home.component.scss"],
|
styleUrls: ["./home.component.scss"],
|
||||||
})
|
})
|
||||||
export class RiotHomeComponent {
|
export class ElementHomeComponent {
|
||||||
public isLoading = true;
|
public isLoading = true;
|
||||||
public isError = false;
|
public isError = false;
|
||||||
public errorMessage: string;
|
public errorMessage: string;
|
@ -2,11 +2,11 @@ import { Component } from "@angular/core";
|
|||||||
import { SessionStorage } from "../shared/SessionStorage";
|
import { SessionStorage } from "../shared/SessionStorage";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "my-riot",
|
selector: "my-element",
|
||||||
templateUrl: "./riot.component.html",
|
templateUrl: "./element.component.html",
|
||||||
styleUrls: ["./riot.component.scss"],
|
styleUrls: ["./element.component.scss"],
|
||||||
})
|
})
|
||||||
export class RiotComponent {
|
export class ElementComponent {
|
||||||
constructor() {}
|
constructor() {}
|
||||||
|
|
||||||
public isAdmin(): boolean {
|
public isAdmin(): boolean {
|
Loading…
Reference in New Issue
Block a user