forked from ChananM/AgudaJce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added home-data component and refresh button animation (from Lior)
- Loading branch information
Showing
22 changed files
with
149,361 additions
and
35 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<ion-nav [root]="rootPage"></ion-nav> | ||
<ion-nav [root]="rootPage"></ion-nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { HomeDataComponent } from './home-data/home-data'; | ||
|
||
@NgModule({ | ||
declarations: [HomeDataComponent], | ||
imports: [], | ||
exports: [HomeDataComponent] | ||
}) | ||
export class ComponentsModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- Generated template for the HomeDataComponent component --> | ||
<div class="data-header"> | ||
{{headline}} | ||
</div> | ||
<div class="data-content"> | ||
{{content}} | ||
</div> | ||
<p></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
home-data { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Component, Input } from '@angular/core'; | ||
|
||
/** | ||
* Generated class for the HomeDataComponent component. | ||
* | ||
* See https://angular.io/api/core/Component for more info on Angular | ||
* Components. | ||
*/ | ||
@Component({ | ||
selector: 'home-data', | ||
templateUrl: 'home-data.html' | ||
}) | ||
export class HomeDataComponent { | ||
|
||
@Input() headline: string; | ||
@Input() content: string; | ||
|
||
constructor() { | ||
} | ||
|
||
ngOnInit(){ | ||
|
||
} | ||
|
||
ngOnChange(data){ | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
<!-- Generated template for the RefreshComponent component --> | ||
<button (click)="doRefresh();"><i class="fas fa-sync"></i></button> | ||
<button class='spinner' (click)="doRefresh();"> | ||
<i class="fas fa-sync"></i> | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
page-home {} | ||
main { | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<ion-tabs class="tabbar_red"> | ||
<ion-tab [root]="tab1Root" tabTitle="בית" tabIcon="home"></ion-tab> | ||
<ion-tab [root]="tab2Root" tabTitle="יומן" tabIcon="calendar"></ion-tab> | ||
<ion-tab [root]="tab3Root" tabTitle="גלריה" tabIcon="images"></ion-tab> | ||
<ion-tab [root]="tab4Root" tabTitle="מידע" tabIcon="information-circle"></ion-tab> | ||
<ion-tab [root]="homeTab" tabTitle="בית" tabIcon="home"></ion-tab> | ||
<ion-tab [root]="calendarTab" tabTitle="יומן" tabIcon="calendar"></ion-tab> | ||
<ion-tab [root]="galleryTab" tabTitle="גלריה" tabIcon="images"></ion-tab> | ||
<ion-tab [root]="infoTab" tabTitle="מידע" tabIcon="information-circle"></ion-tab> | ||
</ion-tabs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.tabbar_red .tabbar { | ||
background: red; | ||
} | ||
|
||
.tabbar a[aria-selected=true] { | ||
background: brown; | ||
} | ||
|
||
.tabbar .tab-button-text { | ||
color: azure; | ||
font-weight: bold; | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
|
||
.tabbar .icon { | ||
color: azure; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.