git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@33 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
+30
-29
@@ -1,30 +1,31 @@
|
||||
define(['jquery', 'underscore', 'backbone','text!modules/about/aboutViewTemplate.html', 'modules/base/baseView', 'classes/profile'],
|
||||
function($, _, Backbone, aboutViewTemplate, BaseView, Profile){
|
||||
define(['jquery', 'underscore', 'backbone', 'text!modules/about/aboutViewTemplate.html', 'modules/base/baseView', 'classes/profile'],
|
||||
function ($, _, Backbone, aboutViewTemplate, BaseView, Profile) {
|
||||
|
||||
var AboutView = BaseView.extend({
|
||||
|
||||
//initialize template
|
||||
template:_.template(aboutViewTemplate),
|
||||
|
||||
initialize: function () {
|
||||
AboutView.__super__.initialize.call(this);
|
||||
},
|
||||
|
||||
//render the content into div of view
|
||||
render: function(){
|
||||
//this.header.title = "pippo";
|
||||
AboutView.__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( { app: myManifest, profile: Profile }));
|
||||
this.$el.append(this.footer.$el);
|
||||
this.$el.find("#infoBtn").addClass("ui-btn-active");
|
||||
//$("#homeBtn").addClass("ui-btn-active");
|
||||
//return to enable chained calls
|
||||
return this;
|
||||
}
|
||||
});
|
||||
return AboutView;
|
||||
});
|
||||
var AboutView = BaseView.extend({
|
||||
//initialize template
|
||||
template: _.template(aboutViewTemplate),
|
||||
initialize: function () {
|
||||
this.id = "AboutView";
|
||||
AboutView.__super__.initialize.call(this);
|
||||
},
|
||||
//render the content into div of view
|
||||
render: function () {
|
||||
if (this.created === true)
|
||||
{
|
||||
//this.header.title = "pippo";
|
||||
AboutView.__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({app: myManifest, profile: Profile}));
|
||||
this.$el.append(this.footer.$el);
|
||||
this.$el.find("#infoBtn").addClass("ui-btn-active");
|
||||
}
|
||||
//$("#homeBtn").addClass("ui-btn-active");
|
||||
//return to enable chained calls
|
||||
return this;
|
||||
}
|
||||
});
|
||||
return AboutView;
|
||||
});
|
||||
@@ -1,7 +1,8 @@
|
||||
<div data-role="content">
|
||||
<br>
|
||||
<center>
|
||||
<h1 style='font-size: xx-large;'><%= app.Name %></h1>
|
||||
<h1 style='font-size: xx-large;'><%= app.Name %><sup style='font-size: medium;'>©</sup></h1>
|
||||
<p>Copyright 2014<br>Lievitario è un marchio registrato</p>
|
||||
<br>Applicazione Ricettario del <br><br>'<i><b>Gruppo La Pasta Madre</b></i>'<br><br>
|
||||
<b>Versione:</b> <%= app.Version %><br><br>
|
||||
<b>Sviluppatore:</b> <%= app.Author %><br><br>
|
||||
@@ -17,6 +18,8 @@
|
||||
<i>Per il codice del convertitore</i><br><br>
|
||||
ringrazio l'autore Giuseppe Burgio <a href="http://www.pastamadre.eu/">PastaMadre</a><br><br>
|
||||
<i>Per l'inserimento di tutte le ricette</i><br><br>
|
||||
Monica R.<br>
|
||||
Rita M.<br>
|
||||
Angela P.<br>
|
||||
Carlotta G.<br>
|
||||
Cristina D.<br>
|
||||
@@ -26,7 +29,6 @@
|
||||
Lucia A.<br>
|
||||
Malek Ben C.<br>
|
||||
Raffaella G.<br>
|
||||
Rita M.<br>
|
||||
Serenella S.<br>
|
||||
Valentina C.<br>
|
||||
Valentina D'a.<br>
|
||||
|
||||
Reference in New Issue
Block a user