* stupidtable.js:

* jquery.tablesorter.js:
* jquery.tablesorter.min.js: now using "stupid table", that fixes the
  row additions and deletions

* ChooseADate.aspx: Page to choose a date between valid candidates

* YavscModel.csproj:
* FreeDate.cs: a free date

* FrontOfficeApiController.cs: cleanning using clauses

* FrontOfficeController.cs: - cleanning using clauses
- check user role before editing the model object

* GoogleController.cs: view "ChooseADate" in successfull response to
  "DateQuery"


* WorkFlowController.cs: check user's role to drop the estimate.

* Estimate.aspx: * now using "stupid table", that fixes the row
  additions and deletions.
* the user interface more intuitive at row deletion 

* DateQuery.aspx: changed the query parameters

* Web.csproj: google date + stupidtable - tablesorter

* IContentProvider.cs: cleaned an unused "using" clause

* WorkFlowManager.cs: cleanning spaces
This commit is contained in:
Paul Schneider 2015-03-09 14:57:40 +01:00
commit e99c03e54a
15 changed files with 286 additions and 1092 deletions

View file

@ -46,27 +46,32 @@ return Globalize.format( new Date(value), "t" );
</script>
</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<% using ( Html.BeginForm("DateQuery","Google") ) { %>
<p>Période de recherche:</p>
<p>
<%= Html.LabelFor(model=>model.PreferedDate) %>:<br>
Le <%= Html.TextBoxFor(model=>model.PreferedDate) %>
<%= Html.ValidationMessageFor(model=>model.PreferedDate) %>
</p>
<p>
<%= Html.LabelFor(model=>model.PreferedHour) %>:<br>
Le <%= Html.TextBoxFor(model=>model.PreferedHour) %>
<%= Html.ValidationMessageFor(model=>model.PreferedHour) %>
</p>
<p>
<%= Html.LabelFor(model=>model.MaxDate) %>:<br>
Le <%= Html.TextBoxFor(model=>model.MaxDate) %>
<%= Html.ValidationMessageFor(model=>model.MaxDate) %>
à
<%= Html.TextBoxFor(model=>model.MaxTime) %>
<%= Html.ValidationMessageFor(model=>model.MaxTime) %>
</p>
<p>
Durée minimale : <%= Html.TextBoxFor(model=>model.Duration) %>
<%= Html.ValidationMessageFor(model=>model.Duration) %>
<%= Html.LabelFor(model=>model.MinDuration) %>:<br>
<%= Html.TextBoxFor(model=>model.MinDuration) %>
<%= Html.ValidationMessageFor(model=>model.MinDuration) %>
</p>
<p>
<%= Html.LabelFor(model=>model.UserName) %>:<br>
<%= Html.TextBoxFor(model=>model.UserName) %><br>