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
<div class="modal" id="pleaseWaitDiv" role="dialog" style="display:none"><div class="modal-dialog" data-backdrop="static" data-keyboard="false"><div class="modal-content"><h1>Attendi...</h1><div class="progress progress-striped active"><div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;"></div></div></div></div> |
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
Dir[File.join('.','**','*.html.erb')].each {|f| system "html2haml -e #{f} #{f.sub(/erb\Z/,'haml')}; rm #{f} " } |
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
/* Italian initialisation for the jQuery UI date picker plugin. */ | |
/* Scritta da Sante Rotondi <[email protected]> */ | |
jQuery(function($){ | |
$.datepicker.regional['it'] = { | |
closeText: 'Chiudi', | |
prevText: 'Precedente', | |
nextText: 'Successivo', | |
currentText: 'Oggi', | |
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', | |
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], |
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
Rails.application.eager_load! | |
all_routes = Rails.application.routes.routes | |
controllers=ApplicationController.descendants | |
#controller_names = controllers.collect {|c| c.to_s.underscore.sub('_controller','') } | |
controller_names={} | |
controllers.each {|c| | |
controller_names[c.to_s]=c.to_s.underscore.sub('_controller','') | |
}.size |