Totem Prod customisation

* Web.config:
* YavscHelpers.cs:
* GoogleController.cs:
* Profile.cs: refactoring

* OAuth2.cs: refactoring

* AccountController.cs: * refactoring profile properties
* fixes profile edition auth

* instdbws.sql: remove some ownership attribution

* Web.csproj: totem prod custo

* App.master: Totem prod custo
nice and simple parralax effect,
quiet working on my android browser ...

* Profile.aspx: a smaller avatar

* style.css: Totem prod custo
This commit is contained in:
Paul Schneider 2015-10-01 21:44:54 +02:00
commit e8ccc67bb1
13 changed files with 170 additions and 99 deletions

View file

@ -118,7 +118,7 @@ namespace Yavsc.Controllers
/// </summary>
/// <param name="gat">Gat.</param>
private void SaveToken (AuthToken gat)
{
{
HttpContext.Profile.SetPropertyValue ("gtoken", gat.access_token);
if (gat.refresh_token != null)
HttpContext.Profile.SetPropertyValue ("grefreshtoken", gat.refresh_token);
@ -212,7 +212,7 @@ namespace Yavsc.Controllers
HttpContext.Profile.SetPropertyValue ("Name", me.displayName);
// TODO use image
if (me.image != null) {
HttpContext.Profile.SetPropertyValue ("avatar", me.image.url);
HttpContext.Profile.SetPropertyValue ("Avatar", me.image.url);
}
if (me.placesLived != null) {
People.Place pplace = me.placesLived.Where (x => x.primary).First ();