Implemente la gestion des activités
* Activities.aspx: implémente la vue Html de la liste éditable des activités * Activity.ascx: implémente la vue Html d'une activité * NpgsqlContentProvider.cs: implemente la gestion des activités côté base de donnée Npgsql * TestAPI.csproj: ... une référence au framework 4.5.1 en moins ... * FrontOfficeController.cs: Le contrôleur du FrontOffice gére les activités * Global.asax.cs: nettoyage du code * activity.sql: Typo corrigée sur le terme "MEACode" * style.css: enlève des images qui n'ont plus rien à faire ici, tant ce fichier concerne maintenant uniquement la disposition ou les éléments de base. * AccountController.cs: implémente le contrôle par l'utilisateur du paramêtre de l'activité principale associé à son profile. * FrontOfficeController.cs: Implemente le contrôle de la page des activités, et simplifie le contrôle de la page des compétences. * HomeController.cs: formattage du code * ModuleController.cs: inutilisé * App.master: Theming explicite en page maître * Profile.aspx: Propose maintenant l'édition de l'activité principalement éxercée * Skills.aspx: supprime une ligne de log * Index.aspx: RAZ en home page * MarkdownDeep.dll: remplace le tag englobant les transformations, il était un "<p>", il est maintenant un "<span>". * BlogManager.cs: refactorisation * Activity.cs: implémente un type de commande à associer à une activité. * LocalizedText.fr.resx: * LocalizedText.Designer.cs: * LocalizedText.fr.Designer.cs: La traduction de "ne pas publier mon activité" * LocalizedText.resx: La traduction de "ne pas publier mon activité", et de "Votre activité" * ManagerHelper.cs: refabrique l'instanciation des fournisseurs du workflow, pour avoir une liste de toutes les activité prises en charges par tous les fournisseurs de contenu. * Profile.cs: Implement le code activité de l'objet `Profile` * ProfileEdition.cs: xmldoc * SkillManager.cs: Formattage du code source * IContentProvider.cs: reformattage du code+ propriété "Name" du fournisseur + definition des methodes relatives à la gestion des activités * WorkFlowManager.cs: Methodes de recupperation des activités fournies auprés des fournisseurs de contenu * YavscModel.csproj: renommage * Web.csproj: reference les nouveaux éléments du projet relatifs au activités * Web.config: references manquante en cas d'utilisation du paramértrage global du thème via la section system.web/pages du fichier de configuration.
This commit is contained in:
parent
f3bc91289d
commit
2fcaa1ded4
37 changed files with 804 additions and 341 deletions
|
|
@ -25,6 +25,27 @@ namespace Yavsc.ApiControllers
|
|||
/// </summary>
|
||||
public class FrontOfficeController : YavscController
|
||||
{
|
||||
/// <summary>
|
||||
/// search the specified Activities.
|
||||
/// </summary>
|
||||
/// <param name="search">Search.</param>
|
||||
|
||||
public Activity[] Activities (string search)
|
||||
{
|
||||
if (search == null)
|
||||
search = "%";
|
||||
return WorkFlowManager.FindActivity(search,true);
|
||||
}
|
||||
/// <summary>
|
||||
/// Registers the activity.
|
||||
/// </summary>
|
||||
/// <param name="act">Act.</param>
|
||||
[HttpPost,ValidateAjax]
|
||||
public void RegisterActivity(Activity act)
|
||||
{
|
||||
if (ModelState.IsValid)
|
||||
WorkFlowManager.RegisterActivity (act.Title, act.Id, act.Comment);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Catalog this instance.
|
||||
|
|
@ -58,7 +79,7 @@ namespace Yavsc.ApiControllers
|
|||
[HttpGet]
|
||||
public Estimate GetEstimate (long id)
|
||||
{
|
||||
Estimate est = WorkFlowManager.ContentProvider.Get (id);
|
||||
Estimate est = WorkFlowManager.DefaultProvider.Get (id);
|
||||
string username = Membership.GetUser ().UserName;
|
||||
if (est.Client != username)
|
||||
if (!Roles.IsUserInRole("Admin"))
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Yavsc
|
|||
/// <summary>
|
||||
/// Mvc application.
|
||||
/// </summary>
|
||||
public class MvcApplication : System.Web.HttpApplication
|
||||
public class MvcApplication : HttpApplication
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -4,17 +4,20 @@
|
|||
|
||||
CREATE TABLE activity
|
||||
(
|
||||
"MAECode" character varying(512) NOT NULL, -- Identifiant de l'activité, à terme, il faudrait ajouter un champ à cette id: le code pays....
|
||||
meacode character varying(512) NOT NULL, -- Identifiant de l'activité, à terme, il faudrait ajouter un champ à cette id: le code pays....
|
||||
title character varying(2048) NOT NULL, -- Description textuelle du code APE
|
||||
applicationname character varying(255) NOT NULL,
|
||||
CONSTRAINT activity_pkey PRIMARY KEY ("MAECode", applicationname)
|
||||
cmnt character varying, -- a long description for this activity
|
||||
CONSTRAINT activity_pkey PRIMARY KEY (meacode, applicationname)
|
||||
)
|
||||
WITH (
|
||||
OIDS=FALSE
|
||||
);
|
||||
ALTER TABLE activity
|
||||
OWNER TO yavscdev;
|
||||
COMMENT ON TABLE activity
|
||||
IS 'Activités prises en charge par l''application désignée';
|
||||
COMMENT ON COLUMN activity."MAECode" IS 'Identifiant de l''activité, à terme, il faudrait ajouter un champ à cette id: le code pays.
|
||||
COMMENT ON COLUMN activity.meacode IS 'Identifiant de l''activité, à terme, il faudrait ajouter un champ à cette id: le code pays.
|
||||
|
||||
Definition francaise:
|
||||
un code NACE sur les quatre première lettre (code européen),
|
||||
|
|
@ -23,5 +26,5 @@ une lettre en cinquième position.
|
|||
Exemple: ''71.12B'' => "Ingénierie, études techniques"
|
||||
';
|
||||
COMMENT ON COLUMN activity.title IS 'Description textuelle du code APE';
|
||||
|
||||
COMMENT ON COLUMN activity.cmnt IS 'a long description for this activity';
|
||||
|
||||
|
|
|
|||
|
|
@ -55,8 +55,7 @@ main video, main img {
|
|||
|
||||
footer {
|
||||
transition: margin 2s, padding 2s;
|
||||
margin: 0;
|
||||
margin-top: 2em;
|
||||
margin: 2em;
|
||||
padding: 2em;
|
||||
display: block;
|
||||
clear: both;
|
||||
|
|
@ -342,7 +341,6 @@ ul.editablelist>li:hover:before {
|
|||
header {
|
||||
padding-top:1em;
|
||||
padding-bottom:1em;
|
||||
background: url("/App_Themes/images/star-939235_1280.s.jpg") 0 0 no-repeat fixed;
|
||||
}
|
||||
|
||||
#avatar {
|
||||
|
|
@ -354,15 +352,14 @@ header h1, header a , .actionlink, .menuitem, a { padding:.5em;}
|
|||
nav {
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.s.jpg") 50% 10% repeat fixed ;
|
||||
}
|
||||
main {
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
background: url("/App_Themes/images/p8-av4.s.jpg") 50% 20em no-repeat fixed ;
|
||||
}
|
||||
footer {
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.s.jpg") 50% 90% repeat fixed ;
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
}
|
||||
footer a {
|
||||
border-radius:.5em;
|
||||
|
|
@ -400,7 +397,6 @@ header h1, header a , .actionlink, .menuitem, a { padding:.5em;}
|
|||
header {
|
||||
padding-top:.5em;
|
||||
padding-bottom:.5em;
|
||||
background: url("/App_Themes/images/star-939235_1280.xxs.jpg") 0 0 no-repeat fixed;
|
||||
}
|
||||
|
||||
header h1, header a { padding:.2em;}
|
||||
|
|
@ -408,15 +404,14 @@ header h1, header a { padding:.2em;}
|
|||
nav {
|
||||
margin: .5em;
|
||||
padding: .5em;
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ;
|
||||
}
|
||||
main {
|
||||
margin: .5em;
|
||||
padding: .5em;
|
||||
background: url("/App_Themes/images/p8-av4.xxs.jpg") 50% 20em repeat fixed ;
|
||||
}
|
||||
footer {
|
||||
background: url("/App_Themes/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ;
|
||||
margin: .5em;
|
||||
padding: .5em;
|
||||
}
|
||||
footer a {
|
||||
border-radius:.2em;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,56 @@
|
|||
2015-11-25 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* Activities.aspx: implémente la vue Html de la liste éditable
|
||||
des activités
|
||||
|
||||
* Activity.ascx: implémente la vue Html d'une activité
|
||||
|
||||
* FrontOfficeController.cs: Le contrôleur du FrontOffice gére
|
||||
les activités
|
||||
|
||||
* Global.asax.cs: nettoyage du code
|
||||
|
||||
* activity.sql: Typo corrigée sur le terme "MEACode"
|
||||
|
||||
* style.css: enlève des images qui n'ont plus rien à faire
|
||||
ici, tant ce fichier
|
||||
concerne maintenant uniquement la disposition ou les éléments
|
||||
de base.
|
||||
|
||||
|
||||
* AccountController.cs: implémente le contrôle par
|
||||
l'utilisateur du paramêtre de l'activité principale
|
||||
associé à son profile.
|
||||
|
||||
* FrontOfficeController.cs: Implemente le contrôle de la page
|
||||
des activités,
|
||||
et simplifie le contrôle de la page des compétences.
|
||||
|
||||
* HomeController.cs: formattage du code
|
||||
|
||||
* ModuleController.cs: inutilisé
|
||||
|
||||
* App.master: Theming explicite en page maître
|
||||
|
||||
* Profile.aspx: Propose maintenant l'édition de l'activité
|
||||
principalement éxercée
|
||||
|
||||
* Skills.aspx: supprime une ligne de log
|
||||
|
||||
* Index.aspx: RAZ en home page
|
||||
|
||||
* MarkdownDeep.dll: remplace le tag englobant les
|
||||
transformations,
|
||||
il était un "<p>", il est maintenant un "<span>".
|
||||
|
||||
|
||||
* Web.csproj: reference les nouveaux éléments du projet
|
||||
relatifs au activités
|
||||
|
||||
* Web.config: references manquante en cas d'utilisation du
|
||||
paramértrage global du thème via la section system.web/pages
|
||||
du fichier de configuration.
|
||||
|
||||
2015-11-23 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* activity.sql: definit les activités en base de données.
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ using System.Text;
|
|||
using System.Net;
|
||||
using System.Configuration;
|
||||
using Yavsc.Model;
|
||||
using Yavsc.Model.WorkFlow;
|
||||
|
||||
namespace Yavsc.Controllers
|
||||
{
|
||||
|
|
@ -251,11 +252,24 @@ namespace Yavsc.Controllers
|
|||
if (id == null)
|
||||
id = Membership.GetUser ().UserName;
|
||||
ViewData ["UserName"] = id;
|
||||
|
||||
ProfileEdition model = new ProfileEdition (ProfileBase.Create (id));
|
||||
model.RememberMe = FormsAuthentication.GetAuthCookie (id, true) == null;
|
||||
SetMEACodeViewData (model);
|
||||
return View (model);
|
||||
}
|
||||
|
||||
private void SetMEACodeViewData(Profile model) {
|
||||
var activities = WorkFlowManager.FindActivity ("%", false);
|
||||
var items = new List<SelectListItem> ();
|
||||
items.Add (new SelectListItem () { Selected = model.MEACode == null, Text = LocalizedText.DoNotPublishMyActivity, Value=null });
|
||||
foreach (var a in activities) {
|
||||
items.Add(new SelectListItem() { Selected = model.MEACode == a.Id,
|
||||
Text = string.Format("{1} : {0}",a.Title,a.Id),
|
||||
Value = a.Id });
|
||||
}
|
||||
ViewData ["MEACode"] = items;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -336,6 +350,7 @@ namespace Yavsc.Controllers
|
|||
prf.SetPropertyValue ("BankedKey", model.BankedKey);
|
||||
prf.SetPropertyValue ("gcalid", model.GoogleCalendar);
|
||||
prf.SetPropertyValue ("UITheme", model.UITheme);
|
||||
prf.SetPropertyValue ("MEACode", model.MEACode);
|
||||
prf.Save ();
|
||||
|
||||
if (editsTheUserName) {
|
||||
|
|
@ -345,6 +360,7 @@ namespace Yavsc.Controllers
|
|||
}
|
||||
YavscHelpers.Notify(ViewData, "Profile enregistré"+((editsTheUserName)?", nom public inclu.":""));
|
||||
}
|
||||
SetMEACodeViewData (model);
|
||||
return View (model);
|
||||
}
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -266,6 +266,18 @@ namespace Yavsc.Controllers
|
|||
return View (skills);
|
||||
}
|
||||
|
||||
public ActionResult Activities (string search, bool toPower = false)
|
||||
{
|
||||
if (search == null)
|
||||
search = "%";
|
||||
var activities = WorkFlowManager.FindActivity(search,!toPower);
|
||||
return View (activities);
|
||||
}
|
||||
|
||||
public ActionResult Activity(string id)
|
||||
{
|
||||
return View(WorkFlowManager.GetActivity (id));
|
||||
}
|
||||
/// <summary>
|
||||
/// Display and should
|
||||
/// offer Ajax edition of
|
||||
|
|
@ -273,20 +285,16 @@ namespace Yavsc.Controllers
|
|||
/// </summary>
|
||||
/// <param name="usp">the User Skills Profile.</param>
|
||||
[Authorize()]
|
||||
public ActionResult UserSkills (PerformerProfile usp)
|
||||
public ActionResult UserSkills (string id)
|
||||
{
|
||||
if (usp.UserName == null)
|
||||
// this is not a call to update,
|
||||
// and this can not concern another user
|
||||
// than the current logged one.
|
||||
usp = new PerformerProfile( User.Identity.Name );
|
||||
// if (usp.UserName was null) {
|
||||
usp = SkillManager.GetUserSkills (usp.UserName);
|
||||
if (id == null)
|
||||
id = User.Identity.Name ;
|
||||
// TODO or not to do, handle a skills profile update,
|
||||
// actually performed via the Web API :-°
|
||||
// else if (ModelState.IsValid) {}
|
||||
var usp = SkillManager.GetUserSkills (id);
|
||||
var skills = SkillManager.FindSkill ("%");
|
||||
ViewData ["SiteSkills"] = skills;
|
||||
// TODO or not to do, handle a skills profile update,
|
||||
// actually performed via the Web API :-°
|
||||
// } else if (ModelState.IsValid) {}
|
||||
return View (usp);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ namespace Yavsc.Controllers
|
|||
// TODO specialyze BlogEntry creating a PhotoEntry
|
||||
ViewData [tagname] = ti;
|
||||
}
|
||||
|
||||
return View ();
|
||||
}
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -1,36 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using Yavsc.Model;
|
||||
using System.Configuration;
|
||||
|
||||
namespace Yavsc.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Module controller.
|
||||
/// </summary>
|
||||
public class ModuleController : Controller
|
||||
{
|
||||
/// <summary>
|
||||
/// Initialize the specified requestContext.
|
||||
/// </summary>
|
||||
/// <param name="requestContext">Request context.</param>
|
||||
protected override void Initialize (System.Web.Routing.RequestContext requestContext)
|
||||
{
|
||||
base.Initialize (requestContext);
|
||||
ConfigurationManager.GetSection ("ymodules");
|
||||
|
||||
}
|
||||
|
||||
// List<IModule> modules = new List<IModule> ();
|
||||
/// <summary>
|
||||
/// Index this instance.
|
||||
/// </summary>
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
|
||||
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" EnableTheming="true"%>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<% ViewState["orgtitle"] = Html.Translate(Page.Title); %>
|
||||
|
|
|
|||
|
|
@ -5,26 +5,19 @@
|
|||
</asp:Content>
|
||||
|
||||
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<style>
|
||||
table.layout { border-width: 0; }
|
||||
table.layout TR TD { max-width:40%; }
|
||||
</style>
|
||||
|
||||
<% if (Roles.IsUserInRole((string)ViewData ["UserName"],"Admin")) {
|
||||
// TODO View all roles
|
||||
%><aside>This user is Admin.</aside>
|
||||
<% } %>
|
||||
<aside>
|
||||
<%= Html.ActionLink("Changer de mot de passe","ChangePassword", "Account",null, new { @class="actionlink" })%>
|
||||
<%= Html.ActionLink("Désincription", "Unregister", "Account", new { id = ViewData["UserName"] } , new { @class="actionlink" })%>
|
||||
</aside>
|
||||
<aside>
|
||||
<% if (Roles.IsUserInRole((string)ViewData ["UserName"],"Admin")) {
|
||||
// TODO View all roles
|
||||
%>
|
||||
This user is Admin.
|
||||
<% } %>
|
||||
<code>HasBankAccount:<%= Model.HasBankAccount %></code>
|
||||
<code>Compte bancaire:<%= Model.HasBankAccount %></code>
|
||||
<% if (!Model.HasBankAccount) { %><span class="hint">
|
||||
IBAN+BIC ou Codes banque, guichet, compte et clé RIB</span>
|
||||
<% } %>, <code>IsBillable:<%=Model.IsBillable%></code>
|
||||
<% } %>, <code>Adressable:<%=Model.IsBillable%></code>
|
||||
<% if (!Model.IsBillable) { %>
|
||||
<span class="hint">un nom et au choix, une adresse postale valide,
|
||||
ou un téléphone, ou un email, ou un Mobile</span> <% } %>
|
||||
|
|
@ -37,7 +30,10 @@ table.layout TR TD { max-width:40%; }
|
|||
<%= Html.Hidden("UserName",ViewData["ProfileUserName"]) %>
|
||||
|
||||
<fieldset><legend>Informations publiques</legend>
|
||||
|
||||
<%= Html.LabelFor(model => model.MEACode) %> :
|
||||
<%= Html.DropDownList("MEACode") %>
|
||||
<%= Html.ValidationMessage("MEACode", "*") %>
|
||||
<br>
|
||||
|
||||
<%= Html.LabelFor(model => model.NewUserName) %> :
|
||||
<%= Html.TextBox("NewUserName") %>
|
||||
|
|
@ -54,12 +50,15 @@ Avatar : <img src="<%=Url.AvatarUrl(HttpContext.Current.User.Identity.Name)%>" a
|
|||
<input type="file" id="AvatarFile" name="AvatarFile"/>
|
||||
<%= Html.ValidationMessage("AvatarFile", "*") %>
|
||||
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset><legend>Informations administratives</legend>
|
||||
<%= Html.LabelFor(model => model.Name) %> :
|
||||
<%= Html.TextBox("Name") %>
|
||||
<%= Html.ValidationMessage("Name", "*") %>
|
||||
</fieldset>
|
||||
|
||||
<fieldset><legend>Blog</legend>
|
||||
<div class="spanel">
|
||||
<%= Html.LabelFor(model => model.BlogVisible) %> :
|
||||
|
|
|
|||
43
web/Views/FrontOffice/Activities.aspx
Normal file
43
web/Views/FrontOffice/Activities.aspx
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<%@ Page Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Activity>>" %>
|
||||
|
||||
<asp:Content ID="headContent" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<div id="activities">
|
||||
<% foreach (var a in Model) { %>
|
||||
<%= Html.Partial("Activity",a) %>
|
||||
<% } %>
|
||||
<aside class="control">
|
||||
<form method="post" action="DeclareActivity">
|
||||
<fieldset>
|
||||
<input type="text" name="meacode" id="meacode" >
|
||||
<input type="text" name="activityname" id="activityname" >
|
||||
<input type="text" name="comment" id="comment" >
|
||||
<input type="button" value="Créer l'activité" id="btncreate" >
|
||||
</fieldset>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$('#btncreate').click( function() {
|
||||
var activity = {
|
||||
Title: $('#activityname').val(),
|
||||
Id: $('#meacode').val(),
|
||||
Comment: $('#comment').val(),
|
||||
};
|
||||
console.log(Yavsc.dumpprops(activity));
|
||||
Yavsc.ajax( 'FrontOffice/RegisterActivity', activity,
|
||||
function() {
|
||||
var na = $('<p></p>').addClass('activity');
|
||||
$.get('FrontOffice/Activity/'+activity.meacode, function(data) {
|
||||
na.replaceWith(data);
|
||||
$('#activityname').val('');
|
||||
$('#meacode').val('');
|
||||
$('#comment').val('');
|
||||
na.appendTo('#activities');
|
||||
});
|
||||
}); } ); });
|
||||
</script>
|
||||
</aside>
|
||||
</div>
|
||||
</asp:Content>
|
||||
9
web/Views/FrontOffice/Activity.ascx
Normal file
9
web/Views/FrontOffice/Activity.ascx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Activity>" %>
|
||||
|
||||
<h1 class="activity">
|
||||
<%=Html.Icon("act"+Model.Id)%>
|
||||
<%=Html.Markdown(Model.Title)%></h1>
|
||||
<i>(<%=Html.Markdown(Model.Id)%>)</i>
|
||||
<p>
|
||||
<%=Html.Markdown(Model.Comment)%>
|
||||
</p>
|
||||
|
|
@ -23,7 +23,6 @@
|
|||
$('#btncreate').click( function() {
|
||||
var $sname = $('#SkillName').val();
|
||||
Skills.createSkill($sname, function(sid) {
|
||||
console.log(' Skill created id : '+sid);
|
||||
$('<li>'+$sname+'</li>').data('sid',sid).addClass('skillname').appendTo('#skills');
|
||||
$('#SkillName').val('');
|
||||
}); } ); });
|
||||
|
|
|
|||
|
|
@ -9,8 +9,5 @@
|
|||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<%= Html.Partial("TagPanel",ViewData["Accueil"]) %>
|
||||
<%= Html.Partial("TagPanel",ViewData["Yavsc"]) %>
|
||||
<%= Html.Partial("TagPanel",ViewData["Événements"]) %>
|
||||
<%= Html.Partial("TagPanel",ViewData["Mentions légales"]) %>
|
||||
</asp:Content>
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,10 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
|
|||
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||||
<add assembly="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||||
<add assembly="nunit.framework, Version=2.6.3.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
|
||||
<add assembly="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<add assembly="System.IdentityModel.Selectors, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<add assembly="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||||
<add assembly="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||||
</assemblies>
|
||||
</compilation>
|
||||
<customErrors mode="Off">
|
||||
|
|
|
|||
|
|
@ -105,6 +105,13 @@
|
|||
<Reference Include="Microsoft.Web.XmlTransform">
|
||||
<HintPath>..\packages\Mono.Web.Xdt.1.0.0\lib\Net40\Microsoft.Web.XmlTransform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EntityFramework" />
|
||||
<Reference Include="System.Data.Entity" />
|
||||
<Reference Include="System.IdentityModel.Selectors" />
|
||||
<Reference Include="System.IdentityModel" />
|
||||
<Reference Include="System.Web.DynamicData" />
|
||||
<Reference Include="System.Web.WebPages.Deployment" />
|
||||
<Reference Include="Microsoft.Web.Infrastructure" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Admin\" />
|
||||
|
|
@ -141,9 +148,9 @@
|
|||
<Folder Include="Views\Admin\" />
|
||||
<Folder Include="Views\BackOffice\" />
|
||||
<Folder Include="Views\PayPal\" />
|
||||
<Folder Include="Views\Modules\" />
|
||||
<Folder Include="xmldoc\" />
|
||||
<Folder Include="App_Code\" />
|
||||
<Folder Include="App_Themes\base\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Controllers\HomeController.cs" />
|
||||
|
|
@ -167,7 +174,6 @@
|
|||
<Compile Include="Formatters\SimpleFormatter.cs" />
|
||||
<Compile Include="ValidateAjaxAttribute.cs" />
|
||||
<Compile Include="Controllers\GoogleController.cs" />
|
||||
<Compile Include="Controllers\ModuleController.cs" />
|
||||
<Compile Include="Settings\ThanksConfigurationSection.cs" />
|
||||
<Compile Include="Settings\ThanksConfigurationCollection.cs" />
|
||||
<Compile Include="Settings\ThanksConfigurationElement.cs" />
|
||||
|
|
@ -510,6 +516,8 @@
|
|||
<Content Include="Views\FrontOffice\EavyBooking.aspx" />
|
||||
<Content Include="App_Themes\blue\style.tablesorter.css" />
|
||||
<Content Include="App_Themes\clear\style.css" />
|
||||
<Content Include="Views\FrontOffice\Activities.aspx" />
|
||||
<Content Include="Views\FrontOffice\Activity.ascx" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue