Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webui] Style the modals. Fixes #733
- Loading branch information
1 parent
f781ed7
commit 8615f7b
Showing
24 changed files
with
413 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 13 additions & 11 deletions
24
src/api/app/views/webui/main/_delete_message_dialog.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
<div class="dialog" id="disable_mask"></div> | ||
<div class="dialog darkgrey_box"> | ||
<div class="box box-shadow"> | ||
<h2 class="box-header">Delete Confirmation</h2> | ||
<div class="dialog" id="disable_mask"></div> | ||
<div class="dialog darkgrey_box"> | ||
<div class="box box-shadow"> | ||
<h2 class="box-header">Delete Confirmation</h2> | ||
<div class="dialog-content"> | ||
<p>Really delete this message?</p> | ||
<%= form_tag({:controller => 'main', :action => 'delete_message'}, :method => 'post') do %> | ||
<%= hidden_field_tag(:message_id, params[:message_id]) %> | ||
<div class="buttons"> | ||
<%= submit_tag('Ok') %> | ||
<%= remove_dialog_tag('Cancel') %> | ||
</div> | ||
<% end %> | ||
</div> | ||
<%= form_tag({:controller => 'main', :action => 'delete_message'}, :method => 'post') do %> | ||
<%= hidden_field_tag(:message_id, params[:message_id]) %> | ||
<div class="dialog-buttons"> | ||
<%= submit_tag('Ok') %> | ||
<%= remove_dialog_tag('Cancel') %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
<div class="dialog" id="disable_mask"></div> | ||
<div class="dialog darkgrey_box" id="del_dialog"> | ||
<div class="box box-shadow"> | ||
<h2 class="box-header">Delete Confirmation</h2> | ||
<div class="dialog" id="disable_mask"></div> | ||
<div class="dialog darkgrey_box" id="del_dialog"> | ||
<div class="box box-shadow"> | ||
<h2 class="box-header">Delete Confirmation</h2> | ||
<div class="dialog-content"> | ||
<p>Do you really want to delete <%= package_link @package %>?</p> | ||
|
||
</div> | ||
<%= form_tag({:controller => :package, :action => :remove}, :method => :post) do %> | ||
<div> | ||
<%= hidden_field_tag(:project, @project) %> | ||
<%= hidden_field_tag(:package, @package) %> | ||
<div class="buttons"> | ||
<%= submit_tag('Ok') %> | ||
<%= remove_dialog_tag('Cancel') %> | ||
</div> | ||
</div> | ||
<%= hidden_field_tag(:project, @project) %> | ||
<%= hidden_field_tag(:package, @package) %> | ||
<div class="dialog-buttons"> | ||
<%= submit_tag('Ok') %> | ||
<%= remove_dialog_tag('Cancel') %> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> | ||
</div> |
26 changes: 14 additions & 12 deletions
26
src/api/app/views/webui/package/_linking_packages.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.