Fixes the latest merge
@ -39,6 +39,11 @@ body.loading .modal {
|
||||
}
|
||||
.iconsmall { max-height: 1.3em; max-width: 1.3em; }
|
||||
|
||||
input, textarea, checkbox {
|
||||
color: #FFFFA0;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.photo { width: 100%; }
|
||||
.blogbanner { float: left; top:0; }
|
||||
.subtitle { font-size:small; font-style: italic; }
|
||||
@ -48,7 +53,7 @@ header {
|
||||
padding-top: 201px;
|
||||
padding-bottom:2em;
|
||||
display: block;
|
||||
background: url("/images/totem-banner.xs.jpg") 0 0 no-repeat fixed;
|
||||
background: url("/images/star-939235_1280.jpg") 0 0 no-repeat fixed;
|
||||
}
|
||||
header h1, header a {
|
||||
background-color: rgba(0,0,0,.5);
|
||||
@ -60,7 +65,7 @@ nav {
|
||||
padding: 2em;
|
||||
display: block;
|
||||
border-radius:1em;
|
||||
background: url("/images/live-concert-388160_1280.jpg") 50% 10em repeat fixed ;
|
||||
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 10% repeat fixed ;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
@ -69,11 +74,11 @@ main {
|
||||
padding: 2em;
|
||||
display: block;
|
||||
border-radius:1em;
|
||||
background: url("/images/musician-923526_1.nbb.jpg") 50% 20em repeat fixed ;
|
||||
background: url("/images/p8-av4.png") 50% 20em no-repeat fixed ;
|
||||
}
|
||||
|
||||
footer {
|
||||
background: url("/images/drummer-652345_1280.s.jpg") 50% 30em repeat fixed ;
|
||||
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 90% repeat fixed ;
|
||||
margin: 0;
|
||||
margin-top: 2em;
|
||||
padding: 2em;
|
||||
@ -325,15 +330,14 @@ header h1, header a , .actionlink, .menuitem, a { padding:.5em;}
|
||||
nav {
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
background: url("/images/live-concert-388160_1280.s.jpg") 50% 10% repeat fixed ;
|
||||
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 10% repeat fixed ;
|
||||
}
|
||||
main {
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
background: url("/images/musician-923526_1.nbb.xs.jpg") 50% 20em repeat fixed ;
|
||||
}
|
||||
footer {
|
||||
background: url("/images/drummer-652345_1280.s.jpg") 50% 90% repeat fixed ;
|
||||
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 90% repeat fixed ;
|
||||
}
|
||||
footer a {
|
||||
border-radius:.5em;
|
||||
@ -365,22 +369,22 @@ header h1, header a , .actionlink, .menuitem, a { padding:.5em;}
|
||||
header {
|
||||
padding-top: 101px;
|
||||
padding-bottom:1em;
|
||||
background: url("/images/totem-banner.xxs.jpg") 0 0 no-repeat fixed;
|
||||
background: url("/images/star-939235_1280.xxs.jpg") 0 0 no-repeat fixed;
|
||||
}
|
||||
header h1, header a { padding:.2em;}
|
||||
|
||||
nav {
|
||||
margin: .5em;
|
||||
padding: .5em;
|
||||
background: url("/images/live-concert-388160_1280.xxs.jpg") 50% 10% repeat fixed ;
|
||||
background: url("/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ;
|
||||
}
|
||||
main {
|
||||
margin: .5em;
|
||||
padding: .5em;
|
||||
background: url("/images/musician-923526_1.nbb.xxs.jpg") 50% 20em repeat fixed ;
|
||||
background: url("/images/p8-av4.xxs.jpg") 50% 20em repeat fixed ;
|
||||
}
|
||||
footer {
|
||||
background: url("/images/drummer-652345_1280.xxs.jpg") 50% 90% repeat fixed ;
|
||||
background: url("/images/helix-nebula-1400x1400.xxs.jpg") 50% 10% repeat fixed ;
|
||||
}
|
||||
footer a {
|
||||
border-radius:.2em;
|
||||
|
@ -1,3 +1,36 @@
|
||||
2015-10-20 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* Web.config:
|
||||
* Web.csproj:
|
||||
* totem.jpg:
|
||||
* App.master:
|
||||
* twiter.png:
|
||||
* facebook.png:
|
||||
* totemprod.png:
|
||||
* style.css:
|
||||
* p8-av4.xxs.png:
|
||||
* totem-banner.png:
|
||||
* YavscHelpers.cs:
|
||||
* concert.clear.jpg:
|
||||
* totem-banner.xs.jpg:
|
||||
* totem-banner.xxs.jpg:
|
||||
* drummer-652345_1280.jpg:
|
||||
* musician-923526_1.nb.jpg:
|
||||
* musician-923526_1280.jpg:
|
||||
* drummer-652345_1280.s.jpg:
|
||||
* an-pierle-876094_1280.jpg:
|
||||
* musician-923526_1.nbb.jpg:
|
||||
* musician-923526_1280.s.jpg:
|
||||
* drummer-652345_1280.xxs.jpg:
|
||||
* musician-923526_1.nb.xs.jpg:
|
||||
* live-concert-388160_1280.jpg:
|
||||
* musician-923526_1280.xxs.jpg:
|
||||
* musician-923526_1.nb.xxs.jpg:
|
||||
* musician-923526_1.nbb.xs.jpg:
|
||||
* musician-923526_1.nbb.xxs.jpg:
|
||||
* live-concert-388160_1280.s.jpg:
|
||||
* live-concert-388160_1280.xxs.jpg:
|
||||
|
||||
2015-10-19 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* Web.csproj:
|
||||
|
@ -158,15 +158,15 @@ namespace Yavsc.Helpers
|
||||
/// <param name="helper">Helper.</param>
|
||||
/// <param name="username">Username.</param>
|
||||
public static string AvatarUrl (this System.Web.Mvc.UrlHelper helper, string username) {
|
||||
if (username == null)
|
||||
return null;
|
||||
if (username == null) return null;
|
||||
ProfileBase pr = ProfileBase.Create (username);
|
||||
object avpath = null;
|
||||
if (pr != null) avpath = pr.GetPropertyValue("Avatar");
|
||||
if (avpath == null) return DefaultAvatar==null?"/bfiles/"+username+".png":DefaultAvatar;
|
||||
if (avpath == null || avpath is DBNull)
|
||||
return DefaultAvatar==null?"/bfiles/"+username+".png":DefaultAvatar;
|
||||
string avatarLocation = avpath as string;
|
||||
if (avatarLocation.StartsWith ("~/")) {
|
||||
avatarLocation = helper.RequestContext.HttpContext.Server.MapPath(avatarLocation);
|
||||
avatarLocation = helper.RouteUrl("Default", avatarLocation);
|
||||
}
|
||||
return avatarLocation;
|
||||
|
||||
|
@ -79,22 +79,21 @@ Yavsc.notice('<%=note%>');
|
||||
</asp:ContentPlaceHolder>
|
||||
<footer data-type="background" data-speed="2" >
|
||||
<div id="copyr">
|
||||
© 2015 Totem Production. Tous droits réservés.
|
||||
<a href="http://yavsc.pschneider.fr/Blogs/UserPost/paul/License">© 2015 GNU GENERAL PUBLIC LICENSE <i>Version 3, 29 June 2007</i></a>
|
||||
</div>
|
||||
<div >
|
||||
<p class="control">
|
||||
<%= Html.ActionLink("Formulaire de contact","Contact","Home",null, new { @class="thanks" }) %>
|
||||
<% foreach ( Link link in Html.Thanks()) { %>
|
||||
<a class="thanks" href="<%=link.Url%>"><% if (link.Image !=null) {
|
||||
%><img src="<%= link.Image %>" alt="<%= link.Text %>"/></a>
|
||||
<% } else { %>
|
||||
<a class="thanks" href="<%=link.Url%>"><%= link.Text %></a>
|
||||
<% }} %>
|
||||
<%= Html.ActionLink("Formulaire de contact","Contact","Home") %>
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://fr-fr.facebook.com/Brahms.Totem.officiel" ><img src="/images/facebook.png" alt="facebook"/></a>
|
||||
<a href="http://twitter.com/TotemOfficiel"><img src="/images/twiter.png" alt="twiter"/></a>
|
||||
</p>
|
||||
<script src="https://apis.google.com/js/platform.js" defer>
|
||||
{lang: 'fr'}
|
||||
</script>
|
||||
<div id="gspacer" class="control"><div class="g-plusone" data-annotation="inline" data-width="170"></div>
|
||||
</div>
|
||||
</div>
|
||||
</footer><div class="modal"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -2,75 +2,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<asp:ContentPlaceHolder id="init" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
<% ViewState["orgtitle"] = Html.Translate(Page.Title);
|
||||
</asp:ContentPlaceHolder><%
|
||||
ViewState["orgtitle"] = T.GetString(Page.Title);
|
||||
Page.Title = ViewState["orgtitle"] + " - " + YavscHelpers.SiteName;
|
||||
%><head runat="server">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/style.css")%>" />
|
||||
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/font-awesome.css")%>" />
|
||||
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/jquery-ui.css")%>" />
|
||||
<link rel="stylesheet" href="/App_Themes/style.css" />
|
||||
<link rel="icon" type="image/png" href="/favicon.png?v=3" />
|
||||
<script src="<%=Url.Content("~/Scripts/jquery-2.1.4.min.js")%>"></script>
|
||||
<script src="<%=Url.Content("~/Scripts/jquery-ui-1.11.4.js")%>"></script>
|
||||
<script src="<%=Url.Content("~/Scripts/parralax.js")%>"></script>
|
||||
<script type="text/javascript">
|
||||
var apiBaseUrl = '<%=Url.Content(Yavsc.WebApiConfig.UrlPrefixRelative)%>';
|
||||
</script>
|
||||
<script src="<%=Url.Content("~/Scripts/yavsc.js")%>">
|
||||
|
||||
</script>
|
||||
<script type="text/javascript" src="<%=Url.Content("~/Scripts/jquery-2.1.4.min.js")%>"></script>
|
||||
<asp:ContentPlaceHolder id="head" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
<link href='http://fonts.googleapis.com/css?family=Dancing+Script:400,700' rel='stylesheet' type='text/css'/>
|
||||
</head>
|
||||
<body>
|
||||
<header data-type="background" data-speed="8" >
|
||||
<header>
|
||||
<asp:ContentPlaceHolder ID="overHeaderOne" runat="server">
|
||||
<h1><a href="<%= Url.Content("~/") %>">
|
||||
<%=ViewState["orgtitle"]%></a>
|
||||
- <a href="<%= Url.Content("~/") %>"><%= YavscHelpers.SiteName %></a>
|
||||
</h1>
|
||||
</asp:ContentPlaceHolder>
|
||||
<asp:ContentPlaceHolder ID="header" runat="server"></asp:ContentPlaceHolder>
|
||||
<div id="notifications"></div>
|
||||
<%if (ViewData ["Notifications"]!=null) { %>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
<% foreach (string note in (IEnumerable<string>) ViewData ["Notifications"] ) { %>
|
||||
Yavsc.notice('<%=note%>');
|
||||
<% } %>
|
||||
});
|
||||
</script>
|
||||
<% } %>
|
||||
<h1><a href="<%= Html.Encode(Request.Url.AbsoluteUri.ToString()) %>"> <%=ViewState["orgtitle"]%> </a> -
|
||||
<a href="<%=Request.Url.Scheme + "://" + Request.Url.Authority%>"><%= YavscHelpers.SiteName %></a>
|
||||
</h1>
|
||||
</asp:ContentPlaceHolder><asp:ContentPlaceHolder ID="header" runat="server"></asp:ContentPlaceHolder><%
|
||||
if (ViewData["Error"]!=null) {
|
||||
%><div class="error"><%= Html.Encode(ViewData["Error"]) %>
|
||||
</div><% }
|
||||
if (ViewData["Message"]!=null) {
|
||||
%><div class="message"><%= Html.Encode(ViewData["Message"]) %></div><% }
|
||||
%>
|
||||
</header>
|
||||
<main data-type="background" data-speed="10" data-emheight="10" data-posx="0" data-posy="22" >
|
||||
<main>
|
||||
<asp:ContentPlaceHolder ID="MainContent" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
</main>
|
||||
<asp:ContentPlaceHolder ID="MASContent" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
|
||||
<footer data-type="background" data-speed="2" >
|
||||
<div id="copyr">
|
||||
© 2012 Totem Production. Tous droits réservés.
|
||||
</div>
|
||||
<div >
|
||||
<p class="control">
|
||||
<%= Html.ActionLink("Formulaire de contact","Contact","Home") %>
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://fr-fr.facebook.com/Brahms.Totem.officiel" ><img src="/images/facebook.png" alt="facebook"/></a>
|
||||
<a href="http://twitter.com/TotemOfficiel"><img src="/images/twiter.png" alt="twiter"/></a>
|
||||
</p>
|
||||
<script src="https://apis.google.com/js/platform.js" defer>
|
||||
<footer>
|
||||
<script src="https://apis.google.com/js/platform.js" async defer>
|
||||
{lang: 'fr'}
|
||||
</script>
|
||||
<div id="gspacer" class="control"><div class="g-plusone" data-annotation="inline" data-width="170"></div>
|
||||
</div>
|
||||
</div>
|
||||
</footer><div class="modal"></div>
|
||||
<%= Html.ActionLink("Contact","Contact","Home",null, new { @class="thanks" }) %>
|
||||
<% foreach ( Link link in Html.Thanks()) { %>
|
||||
<a class="thanks" href="<%=link.Url%>"><% if (link.Image !=null) {
|
||||
%><img src="<%= link.Image %>" alt="<%= link.Text %>"/></a><%
|
||||
} else { %><a class="thanks" href="<%=link.Url%>"><%= link.Text %></a><% }} %>
|
||||
<div class="g-plusone" data-annotation="inline" data-width="230"></div>
|
||||
</footer>
|
||||
<script type="text/javascript">
|
||||
var apiBaseUrl = '<%=Url.Content(Yavsc.WebApiConfig.UrlPrefixRelative)%>';
|
||||
</script> <script>
|
||||
$( ".bshd" ).on("click",function(e) {
|
||||
if (e.target == "[object HTMLElement]") {
|
||||
var panel = $(this).children(".bshpanel");
|
||||
if (panel.hasClass("hidden")) panel.css("cursor","zoom-out");
|
||||
else panel.css("cursor","zoom-in");
|
||||
panel.toggleClass("hidden");
|
||||
$(this).children(".bsh").toggleClass("hidden");
|
||||
} });
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -85,7 +85,6 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
|
||||
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</httpModules>
|
||||
<httpRuntime maxRequestLength="52428800" />
|
||||
<trace enabled="false" localOnly="true" pageOutput="true" requestLimit="10" traceMode="SortByTime" />
|
||||
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="auto" uiCulture="auto" enableClientBasedCulture="true" />
|
||||
<membership defaultProvider="NpgsqlMembershipProvider" userIsOnlineTimeWindow="1">
|
||||
<providers>
|
||||
@ -101,8 +100,7 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
|
||||
</roleManager>
|
||||
<userNameManager defaultProvider="NpsqlUserNameProvider">
|
||||
<providers>
|
||||
<add name="NpsqlUserNameProvider" connectionStringName="yavsc" applicationName="/" type="Npgsql.Web.RolesAndMembers.NpgsqlUserNameProvider, NpgsqlMRPProviders" autogenerateschema="false">
|
||||
</add>
|
||||
<add name="NpsqlUserNameProvider" connectionStringName="yavsc" applicationName="/" type="Npgsql.Web.RolesAndMembers.NpgsqlUserNameProvider, NpgsqlMRPProviders" autogenerateschema="false" ></add>
|
||||
</providers>
|
||||
</userNameManager>
|
||||
<workflow defaultProvider="ITProvider">
|
||||
@ -251,19 +249,19 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
|
||||
</root>
|
||||
</log4net>
|
||||
<connectionStrings>
|
||||
<add name="yavsc" connectionString="Server=127.0.0.1;Port=5432;Database=YavscDev;User Id=yavscdev;Password=admin;" providerName="Npgsql" />
|
||||
<add name="yavsc" connectionString="Server=127.0.0.1;Port=5432;Database=yavsc;User Id=yavsc;Password=vEk5g#K3;" providerName="Npgsql" />
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<add key="MonoServerDefaultIndexFiles" value="index.html,Index.aspx" />
|
||||
<add key="WorkflowContentProviderClass" value="yavsc.NpgsqlContentProvider" />
|
||||
<add key="SmtpServer" value="smtp.free.fr" />
|
||||
<add key="AdminEMail" value="paulschneider@free.fr" />
|
||||
<add key="OwnerEMail" value="paulschneider@free.fr" />
|
||||
<add key="Name" value="PSc" />
|
||||
<add key="AdminEMail" value="paul@pschneider.fr" />
|
||||
<add key="OwnerEMail" value="paul@pschneider.fr" />
|
||||
<add key="Name" value="yavsc" />
|
||||
<add key="DefaultController" value="Blogs" />
|
||||
<add key="DefaultAvatar" value="/images/noavatar.png;image/png" />
|
||||
<add key="RegistrationMessage" value="/RegistrationMail.txt" />
|
||||
<!-- <add key="ClientValidationEnabled" value="true" /> -->
|
||||
<add key="ClientValidationEnabled" value="true" />
|
||||
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
||||
<add key="PayPalLogger" value="PayPal.Log.Log4netLogger" />
|
||||
</appSettings>
|
||||
|
@ -373,18 +373,7 @@
|
||||
<Content Include="Scripts\jquery.htmlClean.min.js" />
|
||||
<Content Include="Views\Blogs\ChooseMedia.aspx" />
|
||||
<Content Include="images\helix-nebula-1400x1400.jpg" />
|
||||
<Content Include="images\an-pierle-876094_1280.jpg" />
|
||||
<Content Include="images\drummer-652345_1280.jpg" />
|
||||
<Content Include="images\live-concert-388160_1280.jpg" />
|
||||
<Content Include="images\musician-923526_1280.jpg" />
|
||||
<Content Include="images\drummer-652345_1280.s.jpg" />
|
||||
<Content Include="images\helix-nebula-1400x1400.s.jpg" />
|
||||
<Content Include="images\live-concert-388160_1280.s.jpg" />
|
||||
<Content Include="images\musician-923526_1280.s.jpg" />
|
||||
<Content Include="images\facebook.png" />
|
||||
<Content Include="images\twiter.png" />
|
||||
<Content Include="images\concert.clear.jpg" />
|
||||
<Content Include="images\totemprod.png" />
|
||||
<Content Include="images\star-939235_1280.jpg" />
|
||||
<Content Include="App_Themes\accordion.css" />
|
||||
<Content Include="App_Themes\all.css" />
|
||||
@ -408,22 +397,8 @@
|
||||
<Content Include="App_Themes\tooltip.css" />
|
||||
<Content Include="images\helix-nebula-1400x1400.xxs.jpg" />
|
||||
<Content Include="images\star-939235_1280.xxs.jpg" />
|
||||
<Content Include="images\p8-av4.xxs.png" />
|
||||
<Content Include="images\p8-av4.xxs.jpg" />
|
||||
<Content Include="images\musician-923526_1280.xxs.jpg" />
|
||||
<Content Include="images\drummer-652345_1280.xxs.jpg" />
|
||||
<Content Include="images\live-concert-388160_1280.xxs.jpg" />
|
||||
<Content Include="Scripts\parralax.js" />
|
||||
<Content Include="images\totem.jpg" />
|
||||
<Content Include="images\totem-banner.png" />
|
||||
<Content Include="images\totem-banner.xxs.jpg" />
|
||||
<Content Include="images\totem-banner.xs.jpg" />
|
||||
<Content Include="images\musician-923526_1.nb.jpg" />
|
||||
<Content Include="images\musician-923526_1.nb.xs.jpg" />
|
||||
<Content Include="images\musician-923526_1.nb.xxs.jpg" />
|
||||
<Content Include="images\musician-923526_1.nbb.jpg" />
|
||||
<Content Include="images\musician-923526_1.nbb.xs.jpg" />
|
||||
<Content Include="images\musician-923526_1.nbb.xxs.jpg" />
|
||||
<Content Include="Views\Blogs\Title.aspx" />
|
||||
<Content Include="Views\Blogs\PostActions.ascx" />
|
||||
<Content Include="Scripts\yavsc.tags.js" />
|
||||
|
Before Width: | Height: | Size: 262 KiB |
Before Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 276 KiB |
Before Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 154 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 132 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 4.1 KiB |