-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Implementa el controlador `DetalleTelefonoCtrl` para traer los detalles de un teléfono específico de un archivo JSON utilizando el servicio `$http`. - Actualiza la plantilla de la vista del detalle de un teléfono. - Agrega CSS para hacer que la vista de los detalles de un teléfono se vea "bonita".
- Loading branch information
Israel Guzman
committed
Aug 30, 2014
1 parent
f2c91bb
commit 6559869
Showing
4 changed files
with
196 additions
and
4 deletions.
There are no files selected for viewing
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,113 @@ | ||
TBD: vista detalle para <span>{{idTelefono}}</span> | ||
<img ng-src="{{telefono.images[0]}}" class="phone"> | ||
|
||
<h1>{{telefono.name}}</h1> | ||
|
||
<p>{{telefono.description}}</p> | ||
|
||
<ul class="phone-thumbs"> | ||
<li ng-repeat="img in telefono.images"> | ||
<img ng-src="{{img}}"> | ||
</li> | ||
</ul> | ||
|
||
<ul class="specs"> | ||
<li> | ||
<span>Availability and Networks</span> | ||
<dl> | ||
<dt>Availability</dt> | ||
<dd ng-repeat="availability in telefono.availability">{{availability}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Battery</span> | ||
<dl> | ||
<dt>Type</dt> | ||
<dd>{{telefono.battery.type}}</dd> | ||
<dt>Talk Time</dt> | ||
<dd>{{telefono.battery.talkTime}}</dd> | ||
<dt>Standby time (max)</dt> | ||
<dd>{{telefono.battery.standbyTime}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Storage and Memory</span> | ||
<dl> | ||
<dt>RAM</dt> | ||
<dd>{{telefono.storage.ram}}</dd> | ||
<dt>Internal Storage</dt> | ||
<dd>{{telefono.storage.flash}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Connectivity</span> | ||
<dl> | ||
<dt>Network Support</dt> | ||
<dd>{{telefono.connectivity.cell}}</dd> | ||
<dt>WiFi</dt> | ||
<dd>{{telefono.connectivity.wifi}}</dd> | ||
<dt>Bluetooth</dt> | ||
<dd>{{telefono.connectivity.bluetooth}}</dd> | ||
<dt>Infrared</dt> | ||
<dd>{{telefono.connectivity.infrared}}</dd> | ||
<dt>GPS</dt> | ||
<dd>{{telefono.connectivity.gps}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Android</span> | ||
<dl> | ||
<dt>OS Version</dt> | ||
<dd>{{telefono.android.os}}</dd> | ||
<dt>UI</dt> | ||
<dd>{{telefono.android.ui}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Size and Weight</span> | ||
<dl> | ||
<dt>Dimensions</dt> | ||
<dd ng-repeat="dim in telefono.sizeAndWeight.dimensions">{{dim}}</dd> | ||
<dt>Weight</dt> | ||
<dd>{{telefono.sizeAndWeight.weight}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Display</span> | ||
<dl> | ||
<dt>Screen size</dt> | ||
<dd>{{telefono.display.screenSize}}</dd> | ||
<dt>Screen resolution</dt> | ||
<dd>{{telefono.display.screenResolution}}</dd> | ||
<dt>Touch screen</dt> | ||
<dd>{{telefono.display.touchScreen}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Hardware</span> | ||
<dl> | ||
<dt>CPU</dt> | ||
<dd>{{telefono.hardware.cpu}}</dd> | ||
<dt>USB</dt> | ||
<dd>{{telefono.hardware.usb}}</dd> | ||
<dt>Audio / headtelefono jack</dt> | ||
<dd>{{telefono.hardware.audioJack}}</dd> | ||
<dt>FM Radio</dt> | ||
<dd>{{telefono.hardware.fmRadio}}</dd> | ||
<dt>Accelerometer</dt> | ||
<dd>{{telefono.hardware.accelerometer}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Camera</span> | ||
<dl> | ||
<dt>Primary</dt> | ||
<dd>{{telefono.camera.primary}}</dd> | ||
<dt>Features</dt> | ||
<dd>{{telefono.camera.features.join(', ')}}</dd> | ||
</dl> | ||
</li> | ||
<li> | ||
<span>Additional Features</span> | ||
<dd>{{telefono.additionalFeatures}}</dd> | ||
</li> | ||
</ul> |
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