Skip to content

Commit

Permalink
Removed legacy templates
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Mar 18, 2024
1 parent 41bf802 commit 3ca7390
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 228 deletions.
4 changes: 2 additions & 2 deletions src/app/components/metergroup/metergroup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommonModule } from '@angular/common';
import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, ElementRef, Input, NgModule, QueryList, TemplateRef, ViewChild, ViewEncapsulation, effect, forwardRef, inject, viewChild } from '@angular/core';
import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, ElementRef, Input, NgModule, QueryList, TemplateRef, ViewChild, ViewEncapsulation, effect, forwardRef, inject } from '@angular/core';
import { PrimeTemplate, SharedModule } from 'primeng/api';
import { DomHandler } from 'primeng/dom';
import { MeterItem } from './metergroup.interface';
Expand Down Expand Up @@ -142,7 +142,7 @@ export class MeterGroup implements AfterContentInit {

iconTemplate: TemplateRef<any> | undefined;

container = viewChild('container', { read: ElementRef });
container = ViewChild('container', { read: ElementRef });

containerEffect = effect(() => {
const _container = this.container();
Expand Down
227 changes: 1 addition & 226 deletions src/app/showcase/pages/templates/templates.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,51 +125,6 @@ <h1>Templates</h1>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/sapphire-ng" rel="noopener noreferrer" target="_blank">
<img alt="Sapphire" src="https://primefaces.org/cdn/primeng/images/layouts/sapphire-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/sapphire-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/sapphire-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/serenity-ng" rel="noopener noreferrer" target="_blank">
<img alt="Serenity" src="https://primefaces.org/cdn/primeng/images/layouts/serenity-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/serenity-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/serenity-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/babylon-ng" rel="noopener noreferrer" target="_blank">
<img alt="Babylon" src="https://primefaces.org/cdn/primeng/images/layouts/babylon-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/babylon-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/babylon-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/avalon-ng" rel="noopener noreferrer" target="_blank">
Expand All @@ -185,185 +140,5 @@ <h1>Templates</h1>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/roma-ng" rel="noopener noreferrer" target="_blank">
<img alt="Roma" src="https://primefaces.org/cdn/primeng/images/layouts/roma-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/roma-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/roma-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/prestige-ng" rel="noopener noreferrer" target="_blank">
<img alt="Prestige" src="https://primefaces.org/cdn/primeng/images/layouts/prestige-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/prestige-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/prestige-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/mirage-ng" rel="noopener noreferrer" target="_blank">
<img alt="Mirage" src="https://primefaces.org/cdn/primeng/images/layouts/mirage-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/mirage-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/mirage-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/olympia-ng" rel="noopener noreferrer" target="_blank">
<img alt="Olympia" src="https://primefaces.org/cdn/primeng/images/layouts/olympia-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/olympia-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/olympia-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/california-ng" rel="noopener noreferrer" target="_blank">
<img alt="California" src="https://primefaces.org/cdn/primeng/images/layouts/california-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/california-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/california-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/ecuador-ng" rel="noopener noreferrer" target="_blank">
<img alt="Ecuador" src="https://primefaces.org/cdn/primeng/images/layouts/ecuador-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/ecuador-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/ecuador-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/harmony-ng" rel="noopener noreferrer" target="_blank">
<img alt="Harmony" src="https://primefaces.org/cdn/primeng/images/layouts/harmony-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/harmony-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/harmony-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/manhattan-ng" rel="noopener noreferrer" target="_blank">
<img alt="Manhattan" src="https://primefaces.org/cdn/primeng/images/layouts/manhattan-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/manhattan-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/manhattan-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/paradise-ng" rel="noopener noreferrer" target="_blank">
<img alt="Paradise" src="https://primefaces.org/cdn/primeng/images/layouts/paradise-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/paradise-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/paradise-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/morpheus-ng" rel="noopener noreferrer" target="_blank">
<img alt="Morpheus" src="https://primefaces.org/cdn/primeng/images/layouts/morpheus-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/morpheus-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/morpheus-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/barcelona-ng" rel="noopener noreferrer" target="_blank">
<img alt="Barcelona" src="https://primefaces.org/cdn/primeng/images/layouts/barcelona-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/barcelona-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/barcelona-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
<div class="col-12 lg:col-6 xl:col-4">
<div class="card mb-0">
<a href="https://www.primefaces.org/omega-ng" rel="noopener noreferrer" target="_blank">
<img alt="Omega" src="https://primefaces.org/cdn/primeng/images/layouts/omega-ng.jpg" class="w-full" />
</a>
<div class="flex gap-3 mt-3">
<a href="https://www.primefaces.org/omega-ng" class="flex-1 p-button p-component" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Preview</span>
</a>
<a href="https://www.primefaces.org/layouts/omega-ng" class="flex-1 p-button p-component p-button-outlined" rel="noopener noreferrer" target="_blank">
<span class="p-button-label white-space-nowrap">Learn More</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>

0 comments on commit 3ca7390

Please sign in to comment.