Archive: ComponentOwl Rails app, DB backups, go redirect script
This commit is contained in:
49
app/views/shared/_footer.html.erb
Normal file
49
app/views/shared/_footer.html.erb
Normal file
@@ -0,0 +1,49 @@
|
||||
<div class="d-footer">
|
||||
<div class="d-placing">
|
||||
|
||||
<div class="left">
|
||||
<div class="latest-posts">
|
||||
<h3 class="latest_from_blog"><%= link_to t("txt.home.latest_from_blog"), blog_url %></h3>
|
||||
<% for post in blog_posts %>
|
||||
<h4><%= link_to(truncate(post.title, 83), post.url) %></h4>
|
||||
<div class="post-info"><%= t('txt.home.blog_post_info', :on => l(post.date, :format => :cute_long), :in => wp_categories_links(post.categories)) %></div>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="other-posts"><%= link_to(t('txt.home.see_other_posts'), blog_url) %></div>
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<div class="news">
|
||||
<ul class="links">
|
||||
<li><%= link_to t('txt.home.subscribe_to_rss'), feeds_url(:format => :rss), :class => "rss" %></li>
|
||||
<li><%= link_to t('txt.home.follow_on_twitter'), twitter_url, :class => "twitter" %></li>
|
||||
</ul>
|
||||
<% for latest in latest_news %>
|
||||
<div class="news-item <%= "last-item" if latest_news.last == latest %>">
|
||||
<div class="date"><%= l(latest.date, :format => :news) %></div>
|
||||
<div class="message">
|
||||
<% if latest.is_release? %>
|
||||
<h4><%= t('txt.home.new_release', :product => strip_version(latest.product.name), :version => latest.version) %></h4>
|
||||
<p>
|
||||
<% if latest.has_changelog? %>
|
||||
<%= link_to t('txt.common.see_whats_new'), releases_page_path(latest.product, latest.version) %>
|
||||
<%= t('txt.common.or') %>
|
||||
<% end %>
|
||||
<%= download_link_to t('txt.home.download_latest_release'), latest.product %>
|
||||
</p>
|
||||
<% else %>
|
||||
<h4><% if latest.with_link? %><%= link_to latest.title, latest.link %><% else %><%= latest.title %><% end %></h4><p><%= latest.body %></p>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="d-placing">
|
||||
<hr />
|
||||
<div class="copy"><%= render :partial => "shared/footer_copy" %></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
2
app/views/shared/_footer_copy.html.erb
Normal file
2
app/views/shared/_footer_copy.html.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<div class="social"><%= link_to(t("txt.footer.feedback"), "/support", :class => "feedback") %> <span>|</span> <%= link_to(t("txt.footer.rss"), feeds_url(:format => :rss), :class => "rss") %> <span>|</span> <%= link_to(t("txt.footer.twitter"), twitter_url, :class => "twitter") %> <span>|</span> <%= link_to(t("txt.footer.sitemap"), sitemap_path, :class => "sitemap") %> <span>|</span> Our <%= link_to("task management software", Settings.dextronet_url, :class => "stdl") %> that uses Better ListView</div>
|
||||
<%= t("txt.footer.copy", :year => Time.now.year, :disclaimer => link_to(t("txt.footer.disclaimer"), disclaimer_path), :privacy_policy => link_to(t("txt.footer.privacy_policy"), privacy_policy_path), :eula => link_to(t("txt.footer.eula"), eula_path)) %><br />
|
||||
41
app/views/shared/_header.html.erb
Normal file
41
app/views/shared/_header.html.erb
Normal file
@@ -0,0 +1,41 @@
|
||||
<%= javascript_tag "var t = #{locales['txt']['javascript'].to_json}" %>
|
||||
|
||||
<div class="d-header d-placing">
|
||||
<% cm = { @controller.controller_name => "active" } %>
|
||||
<ul class="d-menu">
|
||||
<li class="<%= cm['home'] %>"><%= link_to(t("txt.menu.home"), root_path, :class => "menu-item") %></li>
|
||||
<li class="<%= cm['products'] %> with-dropdown">
|
||||
<%= link_to(t("txt.menu.products"), featured_product, :class => "menu-item") %>
|
||||
<% dropdown(:class => "dropdown-submenu", :style => "width: 370px") do %>
|
||||
<% dropdown_categorized_products.each do |categorized_products| %>
|
||||
<div class="dropdown-category"><%= categorized_products[:category] %></div>
|
||||
<% categorized_products[:products].each do |product| %>
|
||||
<% css_class = (product.featured? || product.code == "better-thumbnail-browser") ? "featured-item" : nil %>
|
||||
<%= link_to "#{icon(product)} #{product.name}<br /><span class=\"subline\">#{product.label}</span>", product_path(product),
|
||||
:class => css_class %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</li>
|
||||
<li class="<%= cm['orders'] %>">
|
||||
<%= link_to("Purchase", order_path(featured_product), :class => "menu-item") %>
|
||||
<% dropdown(:class => "dropdown-submenu", :style => "width: 330px") do %>
|
||||
<% dropdown_products.each do |product| %>
|
||||
<% unless product.free? %>
|
||||
<% css_class = (product.featured? || product.code == "better-thumbnail-browser") ? "featured-item" : nil %>
|
||||
<%= link_to product.name, order_path(product), :class => css_class %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</li>
|
||||
<li class="<%= cm['support'] %>"><%= link_to(t("txt.menu.support"), "/support", :class => "menu-item") %></li>
|
||||
<% if have_articles? %><li class="<%= cm['articles'] %>"><%= link_to("Articles", "/articles", :class => "menu-item") %></li><% end %>
|
||||
<li class="<%= "active" if @blog %>"><%= link_to(t("txt.menu.blog"), blog_url, :class => "menu-item") %></li>
|
||||
<% if latest_comic %><li class="<%= cm['comics'] %>"><%= link_to(t("txt.menu.comics"), latest_comic, :class => "menu-item") %></li><% end %>
|
||||
<li class="<%= cm['about'] %>"><%= link_to(t("txt.menu.about"), "/about-us", :class => "menu-item") %></li>
|
||||
</ul>
|
||||
<div class="d-logo">
|
||||
<%= link_to(image_tag('componentowl.gif', :alt => t('txt.componentowl')), root_path, :class => "logoimg") %>
|
||||
<% unless @blog %><g:plusone size="medium" count="false" href="http://www.componentowl.com"></g:plusone><% end %>
|
||||
</div>
|
||||
</div>
|
||||
15
app/views/shared/_meta.html.erb
Normal file
15
app/views/shared/_meta.html.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<meta name="keywords" content="<%= @meta_keywords || meta_tags.keywords %>" />
|
||||
<meta name="description" content="<%= @meta_description || meta_tags.description %>" />
|
||||
<meta name="author" content="Dextronet" />
|
||||
<meta http-equiv="Title" content="<%= @meta_title || meta_tags.title %>" />
|
||||
<meta name="copyright" content="(c) 2010-<%= Date.today.year %> Dextronet" />
|
||||
<meta name="distribution" content="Global" />
|
||||
<meta name="rating" content="General" />
|
||||
<meta name="robots" content="All" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="verify-v1" content="NK0H1gWia1vxGZ2Yhr59gsS0/P2/USBI1DVA18VkzjM=" />
|
||||
<meta name="google-site-verification" content="O7Dwtzu5x_Mob9u98uxqpZ-_wCLGpEkx2IL0UYVQ4ac" />
|
||||
<title><%= @meta_title || meta_tags.title %></title>
|
||||
<link rel="alternate" type="application/rss+xml" title="<%= t('txt.rss_description') %>" href="<%= feeds_url(:format => :rss) %>" />
|
||||
<link rel="alternate" type="application/rss+xml" title="<%= t('txt.comics_rss_description') %>" href="<%= comics_url(:format => :rss) %>" />
|
||||
10
app/views/shared/_preloaded_elements.html.erb
Normal file
10
app/views/shared/_preloaded_elements.html.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="preload">
|
||||
<%= image_tag("loader.gif") %>
|
||||
<%= image_tag("button-indicator.gif") %>
|
||||
<%= image_tag("button-indicator-noborder.gif") %>
|
||||
<%= image_tag("dropdown-bg.png") %>
|
||||
<%= image_tag("dropdown-o.png") %>
|
||||
<%= image_tag("dropdown-s.png") %>
|
||||
<%= icon(featured_product, 32) %>
|
||||
<%= icon(featured_product, 48) %>
|
||||
</div>
|
||||
6
app/views/shared/_screenshot_buttons.html.erb
Normal file
6
app/views/shared/_screenshot_buttons.html.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
<div id="screenshot-buttons" style="display: none">
|
||||
<div class="buttons">
|
||||
<%= download_link(screenshot_buttons, :small, t('txt.common.free_download')) %>
|
||||
<%= buy_link(screenshot_buttons, :small, t('txt.products.buy_now_from', :price => number_to_currency(screenshot_buttons.price))) unless screenshot_buttons.is_free? %>
|
||||
</div>
|
||||
</div>
|
||||
3
app/views/shared/_sharethis.html.erb
Normal file
3
app/views/shared/_sharethis.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="sharethis">
|
||||
<script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#publisher=db6a9d0e-5d07-4036-8bed-4959941491f3&type=website&post_services=email%2Cfacebook%2Ctwitter%2Cgbuzz%2Cmyspace%2Cdigg%2Csms%2Cwindows_live%2Cdelicious%2Cstumbleupon%2Creddit%2Cgoogle_bmarks%2Clinkedin%2Cbebo%2Cybuzz%2Cblogger%2Cyahoo_bmarks%2Cmixx%2Ctechnorati%2Cfriendfeed%2Cpropeller%2Cwordpress%2Cnewsvine"></script>
|
||||
</div>
|
||||
5
app/views/shared/_tiny_footer.html.erb
Normal file
5
app/views/shared/_tiny_footer.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="d-footer">
|
||||
<div class="d-placing">
|
||||
<div class="copy"><%= render :partial => "shared/footer_copy" %></div>
|
||||
</div>
|
||||
</div>
|
||||
0
app/views/shared/_tooltip.html.erb
Normal file
0
app/views/shared/_tooltip.html.erb
Normal file
Reference in New Issue
Block a user