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:
parent
82de63a0ba
commit
e8ccc67bb1
13 changed files with 170 additions and 99 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue