diff Agendas/trunk/src/Agendas.Web/Views/Perfil/Index.cshtml @ 168:97e51ddeeb58

Cambios menores en UI
author nelopauselli
date Sat, 06 Aug 2011 03:34:45 -0300
parents 62dc9fb3a03e
children 1deccd6c3cb2
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Views/Perfil/Index.cshtml	Sat Aug 06 02:51:07 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web/Views/Perfil/Index.cshtml	Sat Aug 06 03:34:45 2011 -0300
@@ -1,34 +1,38 @@
 @model AltNetHispano.Agendas.Web.Models.PerfilIndexModel
 <h2>Perfil</h2>
-<p>
-    Hola @Model.DisplayName, estas son tus cuentas registradas
-</p>
-<table>
-    <thead>
-        <tr>
-            <th>Proveedor</th>
-            <th>username</th>
-            <th>Acciones</th>
-        </tr>
-    </thead>
-    <tbody>
-        @foreach (var item in Model.Cuentas)
-        {
-        <tr>
-            <td>@item.IdentityProvider</td>
-            <td>@item.UserName</td>
-            <td>
-				@Html.ActionLink("Quitar", "Remove", new { identityProvider = item.IdentityProvider, userName = item.UserName })
-			</td>
-        </tr>
-        }
-    </tbody>
-</table>
+<div id="content">
+	<p>
+		Hola @Model.DisplayName, tu mail registrado es @Html.DisplayFor(m=>m.Email), tu blog @Html.DisplayFor(m=>m.Blog) y estas tus cuentas registradas
+	</p>
+	<table>
+		<thead>
+			<tr>
+				<th>Proveedor</th>
+				<th>username</th>
+				<th>Acciones</th>
+			</tr>
+		</thead>
+		<tbody>
+			@foreach (var item in Model.Cuentas)
+			{
+			<tr>
+				<td>@item.IdentityProvider</td>
+				<td>@item.UserName</td>
+				<td class="buttons">
+					@Html.ActionLink("Quitar", "Remove", new { identityProvider = item.IdentityProvider, userName = item.UserName })
+				</td>
+			</tr>
+			}
+		</tbody>
+	</table>
+</div>
 
-<p>
-@Html.ActionLink("Asociar cuenta de Twitter", "AddTwitterAccount")
-<!--
+<div class="buttons">
+	@Html.ActionLink("Asociar cuenta de Twitter", "AddTwitterAccount")
+	<!--
+	<br/>
+	@Html.ActionLink("Asociar cuenta de Google", "AddGoogleAccount")
+	-->
+	@Html.ActionLink("Modificar datos", "Modificar", "Persona", new {id=Model.Id}, null)
+</div>
 <br/>
-@Html.ActionLink("Asociar cuenta de Google", "AddGoogleAccount")
--->
-<br/>