Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Component, Input } from "@angular/core";
- @Component({
- selector: "general-content-comp",
- templateUrl: "./general-content.component.html",
- styleUrls: ["./general-content.component.css"]
- })
- export class generalContentComp {
- @Input() isLogdIn: boolean = true;
- @Input() h2Text: string = "Test";
- @Input() breadcrumbs = [
- { aText: "תלמידים", aHref: "#" },
- { aText: "אוכלוסיות", aHref: "#" },
- { aText: "חינוך מיוחד", aHref: "#" },
- { aText: "שעות סיוע תגבור לתלמיד בחינוך מיוחד", aHref: "" }
- ];
- fileName:string;
- linksData: ILinksData[] = [
- //1
- {
- isNotLoggedIn:false,
- isNotLoggedIn_aText:'להזדהות',
- isNotLoggedIn_aHref:'#',
- title:'דוחות וניתוח מידע',
- linkTitle:[
- {
- aText:'התפלגות שירותי חמ"נ בבית הספר',
- aHref:'#',
- isNew:true,
- // externalAlertText:'אין לך הרשאות לצפות בניתוח המידע זה',
- reportBtn:[
- {
- reportBtn_text:'דוח סייעות',
- reportBtn_fileName:'idan.xls',
- reportBtn_iconSrcEnable:'excel icon.png',
- reportBtn_iconSrcDisable:'excelIcon.png',
- reportBtn_iconAlt:'קובץ להורדה'
- },
- {
- reportBtn_text:'דוח אחר',
- reportBtn_fileName:'idan.pdf',
- reportBtn_iconSrcEnable:'excel icon.png',
- reportBtn_iconSrcDisable:'excelIcon.png',
- reportBtn_iconAlt:'קובץ להורדה'
- },
- ],
- },
- {
- aText:'דו”ח סייעות',
- aHref:'#',
- externalAlertText:'אין לך הרשאות לצפות בניתוח המידע זה',
- reportBtn:[
- {
- reportBtn_text:'דוח סייעות',
- reportBtn_fileName:'idan.xls',
- reportBtn_iconSrcEnable:'excel icon.png',
- reportBtn_iconSrcDisable:'excelIcon.png',
- reportBtn_iconAlt:'קובץ להורדה'
- }
- ]
- },
- {
- aText:'דו”ח אחר ',
- aHref:'#'
- },
- ],
- pText:'שלוש שורות של הסבר לגבי ניתוח המידע ושוב שלוש שורות של הסבר לגבי ניתוח המידע',
- inAccLink:[
- {
- aText:'מעבר לעמוד ניתוח מידע',
- aHref:'#',
- }
- ],
- allLinks:{
- aText:'לעוד דוחות וקישורים',
- aHref:'#'
- }
- },
- //2
- {
- title:'קישורים ',
- linkTitle:[
- {
- aText:'מדב”ס/אופקית',
- aHref:'#',
- isNew:true,
- icon:[
- {
- iconSrc:'link.png',
- iconAlt:'קישור חיצוני'
- }
- ]
- },
- {
- aText:' מע’ תיק עו”ה מקוון ',
- aHref:'#',
- icon:[
- {
- iconSrc:'link.png',
- iconAlt:'קישור חיצוני'
- },
- {
- iconSrc:'Internet Explorer.png',
- iconAlt:'קישור חיצוני'
- },
- ]
- },
- {
- aText:' פורטל עובדי הוראה ',
- aHref:'#',
- icon:[
- {
- iconSrc:'link.png',
- iconAlt:'קישור חיצוני'
- },
- ]
- },
- {
- aText:' מע’ הערכת עובדי הוראה ',
- aHref:'#',
- icon:[
- {
- iconSrc:'link.png',
- iconAlt:'קישור חיצוני'
- },
- ]
- },
- {
- aText:' מע’ פרישת עו”ה רשמיים ',
- aHref:'#',
- icon:[
- {
- iconSrc:'link.png',
- iconAlt:'קישור חיצוני'
- },
- ]
- }
- ],
- pText:'שלוש שורות של הסבר לגבי ניתוח המידע ושוב שלוש שורות של הסבר לגבי ניתוח המידע',
- inAccLink:[
- {
- aText:'מעבר לעמוד ניתוח מידע',
- aHref:'#'
- }
- ],
- allLinks:{
- aText:'לעוד דוחות וקישורים',
- aHref:'#'
- }
- },
- // 3
- {
- title:'מסמכים להורדה ',
- linkTitle:[
- {
- aText:'מסמך ראשון להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ],
- },
- {
- aText:'מסמך שני נוסף להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך שלישי ונוסף להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- }
- ],
- pText:'שלוש שורות של הסבר לגבי ניתוח המידע ושוב שלוש שורות של הסבר לגבי ניתוח המידע',
- inAccLink:[
- {
- aText:'מעבר לעמוד ניתוח מידע',
- aHref:'#'
- }
- ]
- },
- // 4
- {
- title:'חוזרי מנכ”ל ',
- linkTitle:[
- {
- aText:'מסמך ראשון להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך שני נוסף להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך שלישי ונוסף להורדה ',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך רביעי ונוסף להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך חמישי ונוסף להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- }
- ],
- pText:'שלוש שורות של הסבר לגבי ניתוח המידע ושוב שלוש שורות של הסבר לגבי ניתוח המידע',
- inAccLink:[
- {
- aText:'מעבר לעמוד ניתוח מידע',
- aHref:'#'
- }
- ]
- },
- // 5
- {
- title:'חומרי הדרכה ',
- linkTitle:[
- {
- aText:'סרטון הדרכה ',
- aHref:'#',
- icon:[
- {
- iconSrc:'vector-smart-object.png',
- iconAlt:'סרטון'
- },
- ]
- },
- {
- aText:'מסמך שני נוסף להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך שלישי ונוסף להורדה ',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- ],
- pText:'שלוש שורות של הסבר לגבי ניתוח המידע ושוב שלוש שורות של הסבר לגבי ניתוח המידע',
- inAccLink:[
- {
- aText:'מעבר לעמוד ניתוח מידע',
- aHref:'#'
- }
- ]
- },
- // 6
- {
- title:'שירותים ',
- linkTitle:[
- {
- aText:'מסמך ראשון להורדה',
- aHref:'#',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך שני נוסף להורדה',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך שלישי ונוסף להורדה ',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך רביעי ונוסף להורדה ',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- {
- aText:'מסמך חמישי ונוסף להורדה ',
- aHref:'#',
- aDownload:'sample.pdf',
- icon:[
- {
- iconSrc:'attachment.png',
- iconAlt:'הורדה'
- },
- ]
- },
- ],
- pText:'שלוש שורות של הסבר לגבי ניתוח המידע ושוב שלוש שורות של הסבר לגבי ניתוח המידע',
- inAccLink:[
- {
- aText:'מעבר לעמוד ניתוח מידע',
- aHref:'#'
- }
- ]
- }
- ];
- openDialog(event){
- this.fileName = event;
- }
- }
- interface ILinksData {
- isNotLoggedIn?:boolean;
- isNotLoggedIn_aHref?:string;
- isNotLoggedIn_aText?:string;
- title: string;
- linkTitle?: ILinkTitle[];
- pText?: string;
- btnReportText?:string;
- externalAlertText?:string;
- inAccLink?: ILinkTitle[];
- icon?: IIcon[];
- allLinks?: ILinkTitle;
- }
- interface ILinkTitle {
- aText: string;
- aHref: string;
- icon?:IIcon[];
- aDownload?:string;
- imgDownloadSrc?: string;
- imgDownloadAlt?: string;
- isReport?:boolean;
- isNew?:boolean;
- reportBtn?: IReportButton[];
- externalAlertText?:string;
- }
- interface IIcon {
- iconSrc: string;
- iconAlt: string;
- }
- interface IReportButton{
- reportBtn_text?:string;
- reportBtn_fileName?:string;
- reportBtn_iconSrcEnable?:string;
- reportBtn_iconSrcDisable?:string;
- reportBtn_iconAlt?:string;
- }
Add Comment
Please, Sign In to add comment