Permalink
Browse files

sistmato active admin, permessi e aggiount google analitycs

  • Loading branch information...
1 parent 1f7bc23 commit aa403318edf712b1d513e36ea86f6efc627a9e6f @larcara committed Oct 7, 2012
View
@@ -15,8 +15,8 @@ gem 'mechanize', '2.1'
gem 'whenever', :require => false
# Gems used only for assets and not required
# in production environments by default.
-group :assets do
gem 'sass-rails', '~> 3.2.3'
+group :assets do
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer'
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title><%= content_for?(:title) ? yield(:title) : "Soa2 x Test" %></title>
+ <title><%= content_for?(:title) ? yield(:title) : "SimpleSoa by SimpleLab" %></title>
<%= javascript_include_tag "js/jquery-1.7.2.min" %>
<%= csrf_meta_tags %>
@@ -37,6 +37,19 @@
<!-- For all other devices -->
<!-- Size should be 32 x 32 pixels -->
<%= favicon_link_tag '/favicon.ico', :rel => 'shortcut icon' %>
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-35395235-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
</head>
<body>
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title><%= content_for?(:title) ? yield(:title) : "Soa2 x Test" %></title>
+ <title><%= content_for?(:title) ? yield(:title) : "SimpleSoa by SimpleLab" %></title>
<%= javascript_include_tag "js/jquery-1.7.2.min" %>
<%= csrf_meta_tags %>
@@ -37,6 +37,19 @@
<!-- For all other devices -->
<!-- Size should be 32 x 32 pixels -->
<%= favicon_link_tag '/favicon.ico', :rel => 'shortcut icon' %>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-35395235-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>
</head>
<body>
<div class="navbar navbar-fixed-top">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title><%= content_for?(:title) ? yield(:title) : "Soa2 x Test" %></title>
+ <title><%= content_for?(:title) ? yield(:title) : "SimpleSoa by SimpleLab" %></title>
<%= javascript_include_tag "js/jquery-1.7.2.min" %>
<%= csrf_meta_tags %>
@@ -37,6 +37,19 @@
<!-- For all other devices -->
<!-- Size should be 32 x 32 pixels -->
<%= favicon_link_tag '/favicon.ico', :rel => 'shortcut icon' %>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-35395235-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>
</head>
<body>
@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title><%= content_for?(:title) ? yield(:title) : "Soa2" %></title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title><%= content_for?(:title) ? yield(:title) : "SimpleSoa by SimpleLab" %></title>
<%= javascript_include_tag "js/jquery-1.7.2.min" %>
<%= csrf_meta_tags %>
@@ -35,6 +35,19 @@
<!-- For all other devices -->
<!-- Size should be 32 x 32 pixels -->
<%= favicon_link_tag '/favicon.ico', :rel => 'shortcut icon' %>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-35395235-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>
</head>
<body>

0 comments on commit aa40331

Please sign in to comment.