Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -1,7 +1,6 @@
|
|||
<% if User.current.logged? %>
|
||||
|
||||
<h2><%= l(:label_home) %></h2>
|
||||
|
||||
<div class="splitcontent">
|
||||
<div class="splitcontentleft">
|
||||
<div class="wiki">
|
||||
<%= textilizable Setting.welcome_text %>
|
||||
|
@ -19,6 +18,7 @@
|
|||
<% end %>
|
||||
<%= call_hook(:view_welcome_index_right) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
|
||||
|
@ -26,149 +26,3 @@
|
|||
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
|
||||
:title => "#{Setting.app_title}: #{l(:label_activity)}") %>
|
||||
<% end %>
|
||||
|
||||
<% else %><!-- Frontpage -->
|
||||
|
||||
<div id="fp"><%= text_field_tag 'forcetop', nil, :style => 'display: none;' %>
|
||||
|
||||
<!-- Banner -->
|
||||
<section id="fp-banner">
|
||||
<div class="inner">
|
||||
<h2>SuitePro</h2>
|
||||
<p><%= l(:welcome_suitepro) %></p>
|
||||
<ul class="actions special">
|
||||
<li><a href="#fp-login" class="button primary scrolly"><%= l(:label_login) %></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a href="#one" class="more scrolly"><%= l(:welcome_discover) %></a>
|
||||
</section>
|
||||
|
||||
<!-- One -->
|
||||
<section id="one" class="frapper style1 special">
|
||||
<div class="inner">
|
||||
<header class="major">
|
||||
<h2>A SIMPLE WAY TO GET WORK DONE ;)</h2>
|
||||
<p><%= raw l(:welcome_suitepro_is_redmine, :suitepro => '<strong>SuitePro</strong>', :redmine => '<a href="https://www.redmine.org"><strong>Redmine</strong></a>') %></p>
|
||||
</header>
|
||||
<ul class="icons major">
|
||||
<li><span class="fp-icon fp-icon_1 major style1"><span class="label">Lorem</span></span></li>
|
||||
<li><span class="fp-icon fp-icon_2 major style2"><span class="label">Ipsum</span></span></li>
|
||||
<li><span class="fp-icon fp-icon_3 major style3"><span class="label">Dolor</span></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Two -->
|
||||
<section id="two" class="frapper alt style2">
|
||||
<section class="spotlight">
|
||||
<div class="image"><%= image_tag '/themes/circlepro/images/pic01.jpg' %></div><div class="content">
|
||||
<h2><%= raw l(:welcome_spotlight_1_title) %></h2>
|
||||
<p><%= l(:welcome_spotlight_1_text) %></p>
|
||||
</div>
|
||||
</section>
|
||||
<section class="spotlight">
|
||||
<div class="image"><%= image_tag '/themes/circlepro/images/pic02.jpg' %></div><div class="content">
|
||||
<h2><%= raw l(:welcome_spotlight_2_title) %></h2>
|
||||
<p><%= l(:welcome_spotlight_2_text) %></p>
|
||||
</div>
|
||||
</section>
|
||||
<section class="spotlight">
|
||||
<div class="image"><%= image_tag '/themes/circlepro/images/pic03.jpg' %></div><div class="content">
|
||||
<h2><%= raw l(:welcome_spotlight_3_title) %></h2>
|
||||
<p><%= l(:welcome_spotlight_3_text) %></p>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<!-- Three -->
|
||||
<section id="three" class="frapper style3 special">
|
||||
<div class="inner">
|
||||
<header class="major">
|
||||
<h2><%= l(:welcome_other_features) %></h2>
|
||||
</header>
|
||||
<ul class="features">
|
||||
<li class="fp-icon fp-icon_4">
|
||||
<h3><%= l(:welcome_feature_1_title) %></h3>
|
||||
<p><%= l(:welcome_feature_1_text) %></p>
|
||||
</li>
|
||||
<li class="fp-icon fp-icon_5">
|
||||
<h3><%= l(:welcome_feature_2_title) %></h3>
|
||||
<p><%= l(:welcome_feature_2_text) %></p>
|
||||
</li>
|
||||
<li class="fp-icon fp-icon_6">
|
||||
<h3><%= l(:welcome_feature_3_title) %></h3>
|
||||
<p><%= l(:welcome_feature_3_text) %></p>
|
||||
</li>
|
||||
<li class="fp-icon fp-icon_7">
|
||||
<h3><%= l(:welcome_feature_4_title) %></h3>
|
||||
<p><%= l(:welcome_feature_4_text) %></p>
|
||||
</li>
|
||||
<li class="fp-icon fp-icon_8">
|
||||
<h3><%= l(:welcome_feature_5_title) %></h3>
|
||||
<p><%= l(:welcome_feature_5_text) %></p>
|
||||
</li>
|
||||
<li class="fp-icon fp-icon_9">
|
||||
<h3><%= l(:welcome_feature_6_title) %></h3>
|
||||
<p><%= l(:welcome_feature_6_text) %></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Login -->
|
||||
<section id="fp-login" class="frapper style4">
|
||||
<div class="inner">
|
||||
<%= call_hook :view_account_login_top %>
|
||||
|
||||
<div id="login-form">
|
||||
<h2><%= l(:label_login) %></h2>
|
||||
<%= form_tag(signin_path, onsubmit: 'return keepAnchorOnSignIn(this);') do %>
|
||||
<%= back_url_hidden_field_tag %>
|
||||
|
||||
<label for="username"><%=l(:field_login)%></label>
|
||||
<%= text_field_tag 'username', params[:username], :tabindex => '1' %>
|
||||
|
||||
<label for="password">
|
||||
<%=l(:field_password)%>
|
||||
<%= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password? %>
|
||||
</label>
|
||||
<%= password_field_tag 'password', nil, :tabindex => '2' %>
|
||||
|
||||
<% if Setting.openid? %>
|
||||
<label for="openid_url"><%=l(:field_identity_url)%></label>
|
||||
<%= text_field_tag "openid_url", nil, :tabindex => '3' %>
|
||||
<% end %>
|
||||
|
||||
<% if Setting.autologin? %>
|
||||
<label for="autologin"><%= check_box_tag 'autologin', 1, false, :tabindex => 4 %> <%= l(:label_stay_logged_in) %></label>
|
||||
<% end %>
|
||||
|
||||
<input type="submit" name="login" value="<%=l(:button_login)%>" tabindex="5" id="login-submit" />
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- CTA -->
|
||||
<section id="fp-cta" class="frapper style4">
|
||||
<div class="inner">
|
||||
<header>
|
||||
<h2><%= l(:welcome_any_questions) %></h2>
|
||||
<p><%= l(:welcome_please_contact) %></p>
|
||||
</header>
|
||||
<ul class="actions stacked">
|
||||
<li><a href="https://manuel.cillero.es/contacto/#suitepro" class="button fit primary"><%= l(:welcome_contact) %></a></li>
|
||||
<li><a href="https://manuel.cillero.es/sobre-mi" class="button fit"><%= l(:welcome_about_me) %></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/themes/circlepro/javascripts/frontpage/jquery.scrolly.min.js"></script>
|
||||
<script src="/themes/circlepro/javascripts/frontpage/browser.min.js"></script>
|
||||
<script src="/themes/circlepro/javascripts/frontpage/breakpoints.min.js"></script>
|
||||
<script src="/themes/circlepro/javascripts/frontpage/util.js"></script>
|
||||
<script src="/themes/circlepro/javascripts/frontpage/main.js"></script>
|
||||
|
||||
<% end %>
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
User-agent: *
|
||||
<% @projects.each do |p| -%>
|
||||
Disallow: /projects/<%= p.to_param %>/repository
|
||||
Disallow: /projects/<%= p.to_param %>/issues
|
||||
Disallow: /projects/<%= p.to_param %>/activity
|
||||
<% end -%>
|
||||
Disallow: /issues/gantt
|
||||
Disallow: /issues/calendar
|
||||
Disallow: /activity
|
||||
Disallow: /search
|
12
app/views/welcome/robots.text.erb
Normal file
12
app/views/welcome/robots.text.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
User-agent: *
|
||||
<% @projects.each do |project| -%>
|
||||
<% [project, project.id].each do |p| -%>
|
||||
Disallow: <%= url_for(:controller => 'repositories', :action => :show, :id => p) %>
|
||||
Disallow: <%= url_for(project_issues_path(:project_id => p)) %>
|
||||
Disallow: <%= url_for(project_activity_path(:id => p)) %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
Disallow: <%= url_for(issues_gantt_path) %>
|
||||
Disallow: <%= url_for(issues_calendar_path) %>
|
||||
Disallow: <%= url_for(activity_path) %>
|
||||
Disallow: <%= url_for(search_path) %>
|
Loading…
Add table
Add a link
Reference in a new issue