-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Place for IdentificationType, Added Base export page, Added ref…
…resh for all widgets in booking, Added remove GroupLeader, Added only editing guest lightbox
- Loading branch information
Alessandro Nardecchia
committed
Mar 14, 2013
1 parent
1a3fe9e
commit 993fdb3
Showing
16 changed files
with
472 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<%-- | ||
* | ||
* Copyright 2011 - Sardegna Ricerche, Distretto ICT, Pula, Italy | ||
* | ||
* Licensed under the EUPL, Version 1.1. | ||
* You may not use this work except in compliance with the Licence. | ||
* You may obtain a copy of the Licence at: | ||
* | ||
* http://www.osor.eu/eupl | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the Licence for the specific language governing permissions and limitations under the Licence. | ||
* In case of controversy the competent court is the Court of Cagliari (Italy). | ||
--%> | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<%@ taglib uri="/struts-tags" prefix="s" %> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<script id="export-template" type="text/x-handlebars-template"> | ||
<div class="float_left"> | ||
<div class="clear"> | ||
<select id="exportsList"> | ||
<option value="">Fake select</option> | ||
<option value="1">Fake select</option> | ||
</select> | ||
</div> | ||
<div class="clear"> | ||
<input type="text" id="dateExport" name="dateExport" value="" class="datepicker required hasDatepicker" readonly="readonly"> | ||
</div> | ||
<div class="clear"> | ||
<label id="startexportdate">Dalle...</label> | ||
<label id="endexportdate">Alle...</label> | ||
</div> | ||
</div> | ||
<div class="float_left"> | ||
<button class="btn_export_questura"> | ||
<s:text name="exportQuestura" /> | ||
</button> | ||
<button class="btn_export_sired"> | ||
<s:text name="exportSired" /> | ||
</button> | ||
</div> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -268,4 +268,5 @@ function GetQueryStringParams(sParam) { | |
return sParameterName[1]; | ||
} | ||
} | ||
return null; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* @class ExportView | ||
* @parent Backbone.View | ||
* @constructor | ||
* View for export. | ||
* @tag views | ||
* @author LabOpenSource | ||
*/ | ||
window.ExportView = Backbone.View.extend({ | ||
el: $('#export-widget'), | ||
events: { | ||
'change #exportsList':'selectedExport', | ||
'click .btn_export_questura':'doExportQuestura', | ||
'click .btn_export_sired':'doExportSired', | ||
}, | ||
initialize: function(options) { | ||
this.render(); | ||
}, | ||
render: function() { | ||
$(this.el).html(Mustache.to_html($('#export-template').html(), {})); | ||
$(".btn_export_questura").button({ | ||
icons: { | ||
primary: "ui-icon-check" | ||
} | ||
}); | ||
$(".btn_export_sired").button({ | ||
icons: { | ||
primary: "ui-icon-check" | ||
} | ||
}); | ||
|
||
// initialize and render datepickers. | ||
this.$(".datepicker").removeClass('hasDatepicker').datepicker("destroy"); | ||
this.$( 'input[name="dateExport"]' ).datepicker({ | ||
maxDate: new Date(), | ||
changeMonth: true, | ||
changeYear: true, | ||
showOn: "both", | ||
buttonImage: "images/calendar.gif", | ||
buttonImageOnly: true, | ||
dateFormat: 'dd/mm/yy', | ||
}); | ||
}, | ||
selectedExport: function(e) { | ||
alert('sssssssse'); | ||
}, | ||
doExportQuestura: function(e) { | ||
alert('Ti arresto!'); | ||
}, | ||
doExportSired: function(e) { | ||
alert('boooo'); | ||
} | ||
}); | ||
|
||
window.ExportWidget = new ExportView({ | ||
|
||
}); |
Oops, something went wrong.