git-svn-id: https://msi/svn/firstRepo/WebClient/trunk@13 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
define(['jquery', 'underscore', 'backbone','text!modules/donation/donationViewTemplate.html', 'modules/base/baseView'],
|
||||
function($, _, Backbone, homeViewTemplate, BaseView){
|
||||
|
||||
var DonationView = BaseView.extend({
|
||||
|
||||
//initialize template
|
||||
template:_.template(homeViewTemplate),
|
||||
|
||||
initialize: function () {
|
||||
DonationView.__super__.initialize.call(this);
|
||||
//this.header.title = "pippo";
|
||||
},
|
||||
|
||||
//render the content into div of view
|
||||
render: function(){
|
||||
//this.header.title = "pippo";
|
||||
DonationView.__super__.render.call(this);
|
||||
//this.el is the root element of Backbone.View. By default, it is a div.
|
||||
//$el is cached jQuery object for the view's element.
|
||||
//append the compiled template into view div container
|
||||
this.$el.append(this.header.$el);
|
||||
this.$el.append(this.template());
|
||||
this.$el.append(this.footer.$el);
|
||||
this.$el.find("#moreBtn").addClass("ui-btn-active");
|
||||
//$("#homeBtn").addClass("ui-btn-active");
|
||||
//return to enable chained calls
|
||||
return this;
|
||||
}
|
||||
});
|
||||
return DonationView;
|
||||
});
|
||||
@@ -0,0 +1,13 @@
|
||||
<div data-role="content">
|
||||
<h1>Donazione</h1>
|
||||
<div style="text-align: center;">
|
||||
<h3>NOI stiamo facendo tutto per la passione.<br><br>Ma se vuoi darci una mano per continuare a migliorare questo sito/app <br><br>Puoi darci un piccolo contributo donando quanto vuoi e puoi, NOI ti ringraziamo.</h3>
|
||||
</div><br><br>
|
||||
<div style="text-align: center;"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
||||
<input type="hidden" name="cmd" value="_s-xclick">
|
||||
<input type="hidden" name="hosted_button_id" value="J8X4NCWYUCN2Q">
|
||||
<input type="image" src="https://www.paypalobjects.com/it_IT/IT/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - Il metodo rapido, affidabile e innovativo per pagare e farsi pagare.">
|
||||
<img alt="" border="0" src="https://www.paypalobjects.com/it_IT/i/scr/pixel.gif" width="1" height="1">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user