Compare commits
3 Commits
1237ee4439
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| cf6128c248 | |||
| 1fd6dd632e | |||
| e291379602 |
24
README.md
24
README.md
@@ -2,26 +2,6 @@
|
||||
|
||||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.2.2.
|
||||
|
||||
## Development server
|
||||
## Visitor counter
|
||||
|
||||
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
|
||||
|
||||
## Code scaffolding
|
||||
|
||||
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
||||
|
||||
## Build
|
||||
|
||||
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
||||
|
||||
## Running unit tests
|
||||
|
||||
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
||||
|
||||
## Running end-to-end tests
|
||||
|
||||
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
|
||||
|
||||
## Further help
|
||||
|
||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
||||

|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<a [href]="url">
|
||||
<img [src]="svg" [alt]="url" [title]="text" />
|
||||
<img [src]="svg" [alt]="url" [title]="text | translate" />
|
||||
<span>{{ text | translate }}</span>
|
||||
</a>
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
#lang_btn
|
||||
>{{ getLang() }}</span
|
||||
>
|
||||
<a href="https://git.nwaifu.su/neuro_llc/NwaifuWeb">
|
||||
<fa-icon [icon]="faGithub" class="sourcecode-icon" title="Source code"></fa-icon>
|
||||
<a href="https://git.nwaifu.su/neuro_llc/NwaifuWeb" [title]="source_code_btn_title | translate">
|
||||
<fa-icon [icon]="faGithub" class="sourcecode-icon"></fa-icon>
|
||||
</a>
|
||||
<fa-icon [icon]="faVolume"></fa-icon>
|
||||
<fa-icon [icon]="faPower"></fa-icon>
|
||||
|
||||
@@ -3,17 +3,20 @@ import { Component, ElementRef, HostListener, ViewChild } from "@angular/core";
|
||||
import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
|
||||
import { faGithub } from "@fortawesome/free-brands-svg-icons";
|
||||
import { faPowerOff, faVolumeHigh } from "@fortawesome/free-solid-svg-icons";
|
||||
import { TranslationPipe } from '../../pipes/translation.pipe';
|
||||
import { PanelSevice } from "../../services/panel.service";
|
||||
import { TranslateService } from "../../services/translate.service";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "app-panel",
|
||||
imports: [CommonModule, FontAwesomeModule],
|
||||
imports: [CommonModule, FontAwesomeModule, TranslationPipe],
|
||||
templateUrl: "./panel.component.html",
|
||||
styleUrls: ["./panel.component.less"],
|
||||
})
|
||||
export class PanelComponent {
|
||||
source_code_btn_title = "SOURCE_CODE_TITLE"
|
||||
|
||||
public time = "";
|
||||
faGithub = faGithub;
|
||||
faVolume = faVolumeHigh;
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
"MODAL_TEXT": "Hello, World!",
|
||||
"TELEGRAM_LABEL": "Telegram channel",
|
||||
"GITHUB_LABEL": "Admin's Github",
|
||||
"GITEA_LABEL": "Neuro LLC Gitea"
|
||||
"GITEA_LABEL": "Neuro LLC Gitea",
|
||||
"SOURCE_CODE_TITLE": "Source code"
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
"MODAL_TEXT": "こんにちは、世界!",
|
||||
"TELEGRAM_LABEL": "Telegramチャンネル",
|
||||
"GITHUB_LABEL": "管理者Github",
|
||||
"GITEA_LABEL": "Neuro LLC Gitea"
|
||||
"GITEA_LABEL": "Neuro LLC Gitea",
|
||||
"SOURCE_CODE_TITLE": "ソースコード"
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
"MODAL_TEXT": "Здравствуйте, мир!",
|
||||
"TELEGRAM_LABEL": "Телеграм канал",
|
||||
"GITHUB_LABEL": "Github админа",
|
||||
"GITEA_LABEL": "Neuro LLC Gitea"
|
||||
"GITEA_LABEL": "Neuro LLC Gitea",
|
||||
"SOURCE_CODE_TITLE": "Исходный код"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user