* yavsc.js: factorize some javascript

* InputCircle.cs: this class is about to be removed

* BlogsController.cs: removes Html used as text

* App.master: removes the bsd css class script

* Circles.aspx: fixes the Javascript circle selection

* Index.aspx:
* AssemblyInfo.aspx: `Indexe` is not a french word, sorry for the
  trouble

* Web.csproj: includes yavsc Javascript in the project

* LocalizedText.Designer.cs: alphabetic order in ressource names

* LocalizedText.resx: * alphabetic order in ressource names

* RegisterModel.cs: disposes a duplicated resource string "UserName"
  (uses now User_name)

* style.css: panels float left
This commit is contained in:
Paul Schneider 2015-08-22 17:07:41 +02:00
commit 17f57d5542
15 changed files with 230 additions and 223 deletions

View file

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<asp:ContentPlaceHolder id="init" runat="server">
</asp:ContentPlaceHolder><%
ViewState["orgtitle"] = T.GetString(Page.Title);
ViewState["orgtitle"] = Html.Translate(Page.Title);
Page.Title = ViewState["orgtitle"] + " - " + YavscHelpers.SiteName;
%><head runat="server">
<meta charset="utf-8">
@ -55,7 +55,8 @@ ViewState["orgtitle"] = T.GetString(Page.Title);
<%= Html.ActionLink( "Deconnexion", "Logout", "Account", new { returnUrl=Request.Url.PathAndQuery }, null) %>
<% } %></div>
<footer>
<script src="https://apis.google.com/js/platform.js" async defer>
<script src="/Scripts/yavsc.js" async defer>
<script src="https://apis.google.com/js/platform.js" defer>
{lang: 'fr'}
</script>
<%= Html.ActionLink("Contact","Contact","Home",null, new { @class="thanks" }) %>
@ -70,15 +71,6 @@ ViewState["orgtitle"] = T.GetString(Page.Title);
<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>