Fixed widget counts, improved styles
This commit is contained in:
parent
fa7bd43ab9
commit
3f91da6816
19 changed files with 102 additions and 80 deletions
|
@ -6,13 +6,17 @@
|
|||
= link_to new_project_hook_path(@project), :class => "btn small", :title => "New Web Hook" do
|
||||
Add Post Receive Hook
|
||||
|
||||
%ul.unstyled
|
||||
%table.zebra-striped.borders
|
||||
- @hooks.each do |hook|
|
||||
%li.wll
|
||||
= link_to project_hook_path(@project, hook) do
|
||||
= hook.url
|
||||
%tr
|
||||
%td
|
||||
= link_to project_hook_path(@project, hook) do
|
||||
= hook.url
|
||||
%td
|
||||
= link_to 'Remove', project_hook_path(@project, hook), :confirm => 'Are you sure?', :method => :delete, :class => "danger btn small"
|
||||
|
||||
.alert-message.block-message.info
|
||||
|
||||
.alert-message.block-message
|
||||
We send some data with POST request when someone makes git push
|
||||
|
||||
.well= render "data_ex"
|
||||
|
|
|
@ -4,10 +4,9 @@
|
|||
%ul
|
||||
- @hook.errors.full_messages.each do |msg|
|
||||
%li= msg
|
||||
= f.label :url, "URL:"
|
||||
= f.text_field :url, :class => "text_field"
|
||||
.clear
|
||||
%br
|
||||
.merge-tabs
|
||||
= f.submit "Save", :class => "grey-button"
|
||||
.clearfix
|
||||
= f.label :url, "URL:"
|
||||
.input= f.text_field :url, :class => "text_field"
|
||||
.actions
|
||||
= f.submit "Save", :class => "btn"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue