A new presentation, using parallax effects

* style.css: Makes a better style

* Banner.png: Made obsolete

* Profile.cs: Groups profile properties

* ChangeLog:
* ChangeLog: Must not exist in the source tree

* Web.config:
* instdbws.sql: Groups profile properties

* App.master: A better Html structure

* AccountController.cs: Fixes the Profile edition

* MarkdownHelper.cs: Adds an extraction of an introduction from a
  Markdown text

* Edit.aspx:
* Index.aspx:
* UserPost.aspx: a better html structure

* UserPosts.aspx: * a better html structure
* post previews

* Web.csproj: Adds and removes images
This commit is contained in:
Paul Schneider 2015-09-30 12:53:38 +02:00
commit 5da977daef
15 changed files with 372 additions and 202 deletions

View file

@ -291,7 +291,7 @@ namespace Yavsc.Controllers
string logdu = Membership.GetUser ().UserName;
ViewData ["UserName"] = id;
bool editsMyName = (id != model.Name);
bool editsMyName = (string.Compare(id,model.Name)==0);
if (!editsMyName)
if (!Roles.IsUserInRole ("Admin"))
if (!Roles.IsUserInRole ("FrontOffice"))