Images refactored, Feed icon replaced, Fixed comment form focus
Before Width: | Height: | Size: 801 B |
Before Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 778 B After Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 674 B |
Before Width: | Height: | Size: 257 B |
BIN
app/assets/images/rss_ui.png
Normal file
After Width: | Height: | Size: 812 B |
|
@ -32,9 +32,9 @@ init:
|
|||
$("#submit_note").removeAttr("disabled");
|
||||
})
|
||||
|
||||
$("#note_note").live("click", function(){
|
||||
$("#note_note").live("focus", function(){
|
||||
$(this).css("height", "100px");
|
||||
$('.attach_holder').show();
|
||||
$('.note_advanced_opts').show();
|
||||
});
|
||||
|
||||
$("#note_attachment").change(function(e){
|
||||
|
|
|
@ -420,6 +420,8 @@ a.project-update.titled {
|
|||
cursor: move;
|
||||
height: 70%;
|
||||
overflow: hidden;
|
||||
background:white;
|
||||
border: 1px solid $style_color;
|
||||
}
|
||||
|
||||
|
||||
|
@ -960,3 +962,10 @@ li.note {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rss-icon {
|
||||
img {
|
||||
width:24px;
|
||||
vertical-align:top;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,7 +100,6 @@ class ProjectsController < ApplicationController
|
|||
end
|
||||
|
||||
def graph
|
||||
render_full_content
|
||||
@days_json, @commits_json = GraphCommit.to_graph(project)
|
||||
end
|
||||
|
||||
|
|
|
@ -23,10 +23,9 @@
|
|||
|
||||
- if current_page?(project_commits_path(@project)) && current_user.private_token
|
||||
%li.right
|
||||
%span
|
||||
= link_to project_commits_path(@project, :atom, { :private_token => current_user.private_token, :ref => @ref }), :class => "btn" do
|
||||
feed
|
||||
= image_tag "Rss-UI.PNG", :width => 14, :title => "feed"
|
||||
%span.rss-icon
|
||||
= link_to project_commits_path(@project, :atom, { :private_token => current_user.private_token, :ref => @ref }), :title => "Feed" do
|
||||
= image_tag "rss_ui.png", :title => "feed"
|
||||
|
||||
|
||||
:javascript
|
||||
|
|
|
@ -5,3 +5,7 @@
|
|||
%li{:class => "#{'active' if current_page?(project_milestones_path(@project))}"}
|
||||
= link_to project_milestones_path(@project), :class => "tab" do
|
||||
Milestones
|
||||
%li.right
|
||||
%span.rss-icon
|
||||
= link_to project_issues_path(@project, :atom, { :private_token => current_user.private_token }) do
|
||||
= image_tag "rss_ui.png", :title => "feed"
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
.issues_content
|
||||
%h3
|
||||
Issues
|
||||
%span.rss-icon
|
||||
= link_to project_issues_path(@project, :atom, { :private_token => current_user.private_token }) do
|
||||
= image_tag "Rss-UI.PNG", :width => 16, :title => "feed"
|
||||
|
||||
%small (#{@issues.total_count})
|
||||
.right
|
||||
.span5
|
||||
- if can? current_user, :write_issue, @project
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
= f.text_area :note, :size => 255
|
||||
%p.hint Markdown is enabled.
|
||||
|
||||
.row.note_advanced_opts
|
||||
.row.note_advanced_opts.hide
|
||||
.span4
|
||||
%h5 Notify via email:
|
||||
.clearfix
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
%h3 Network Graph
|
||||
%br
|
||||
#holder.graph.well
|
||||
|
||||
#holder.graph
|
||||
:javascript
|
||||
var chunk1={commits:#{@commits_json}};
|
||||
var days=#{@days_json};
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
- else
|
||||
%center
|
||||
= link_to blob_project_ref_path(@project, @ref, :path => params[:path]) do
|
||||
%div
|
||||
%div.padded
|
||||
%br
|
||||
= image_tag "download.png", :width => 64
|
||||
%h3
|
||||
|
|