init
This commit is contained in:
17
www/templates/spiel1.html
Normal file
17
www/templates/spiel1.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<ion-view view-title="Wo ist das Tier">
|
||||
<ion-content class="padding">
|
||||
|
||||
<div ng-repeat="spiel in spiele">
|
||||
<div class="row" style="font-size: 12px;" ng-if="$even">
|
||||
<div style="width: 100%; text-align: center;" class="col">
|
||||
<img ng-class="{'shake':error}" class="myborder animated" src="img/{{ spiele[$index].bild }}"width="96" height="96" alig="center" ng-click="answer(spiele[$index].id)">
|
||||
<br>
|
||||
</div>
|
||||
<div style="width: 100%; text-align: center;" class="col">
|
||||
<img ng-class="{'shake':error}" class="myborder animated" src="img/{{ spiele[$index + 1].bild }}"width="96" height="96" alig="center" ng-click="answer(spiele[$index + 1].id)">
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
17
www/templates/spiel2.html
Normal file
17
www/templates/spiel2.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<ion-view view-title="Das Tier macht...">
|
||||
<ion-content class="padding">
|
||||
|
||||
<div ng-repeat="spiel in spiele">
|
||||
<div class="row" style="font-size: 12px;" ng-if="$even">
|
||||
<div style="width: 100%; text-align: center;" class="col">
|
||||
<img class="myborder animated" src="img/{{ spiele[$index].bild }}"width="96" height="96" alig="center" ng-click="play('/android_asset/www/sounds/' + spiele[$index].sound1)">
|
||||
<br>
|
||||
</div>
|
||||
<div style="width: 100%; text-align: center;" class="col">
|
||||
<img class="myborder animated" src="img/{{ spiele[$index + 1].bild }}"width="96" height="96" alig="center" ng-click="play('/android_asset/www/sounds/' + spiele[$index + 1].sound1)">
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
15
www/templates/tab-dash.html
Normal file
15
www/templates/tab-dash.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<ion-view view-title="Ein Kinderspiel">
|
||||
<ion-content class="padding">
|
||||
|
||||
<div class="row">
|
||||
<div style="width: 100%; text-align: center;" class="col">
|
||||
<img class="myborder" src="img/elefant.jpg" height="128" width="128" ng-click="starte_spiel1()">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div style="width: 100%; text-align: center;" class="col">
|
||||
<img class="myborder" src="img/schaf.jpg" height="128" width="128" ng-click="starte_spiel2()">
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
22
www/templates/tabs.html
Normal file
22
www/templates/tabs.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!--
|
||||
Create tabs with an icon and label, using the tabs-positive style.
|
||||
Each tab's child <ion-nav-view> directive will have its own
|
||||
navigation history that also transitions its views in and out.
|
||||
-->
|
||||
<ion-tabs class="tabs-icon-top tabs-color-active-positive">
|
||||
|
||||
<!-- Dashboard Tab -->
|
||||
<ion-tab title="Spiele" icon-off="ion-home" icon-on="ion-home" href="#/tab/dash">
|
||||
<ion-nav-view name="tab-dash"></ion-nav-view>
|
||||
</ion-tab>
|
||||
|
||||
<ion-tab title="Wo ist das Tier" icon="ion-ios-search-strong" href="#/tab/spiel1">
|
||||
<ion-nav-view name="tab-spiel1"></ion-nav-view>
|
||||
</ion-tab>
|
||||
|
||||
<ion-tab title="Das Tier macht..." icon="
|
||||
ion-music-note" href="#/tab/spiel2">
|
||||
<ion-nav-view name="tab-spiel2"></ion-nav-view>
|
||||
</ion-tab>
|
||||
|
||||
</ion-tabs>
|
||||
Reference in New Issue
Block a user