Skip to content

Commit

Permalink
Use bootstrap class list-unstyled for ULs
Browse files Browse the repository at this point in the history
We had a handcrafted class, now we use bootstrap's class for it

Co-authored-by: David Kang <dkang@suse.com>
  • Loading branch information
Moises Deniz Aleman and DavidKang committed Sep 4, 2018
1 parent 2825cb4 commit 75099c2
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 13 deletions.
4 changes: 0 additions & 4 deletions src/api/app/assets/javascripts/webui2/request.js
Expand Up @@ -67,10 +67,6 @@ function setupRequestDialog() { // jshint ignore:line
updateSupersedeAndDevelPackageDisplay();
}

/*$("#targetpackage").autocomplete('<%= url_for :controller => :project, :action => :autocomplete_packages %>', {
minChars: 0, matchCase: true, max: 50, extraParams: {project: function() { return $("#target_project").val(); }}
});*/

function requestAddAcceptRequestButton() { // jshint ignore:line
$('#accept_request_button').click(function () {
var additionalElement;
Expand Down
@@ -1,7 +1,3 @@
.list-group .list-group-item-integrated:last-child {
border-bottom: none;
}

.no-list-style {
list-style-type: none;
}
}
Expand Up @@ -7,7 +7,7 @@
%p
%i.fas.fa-exclamation-circle.text-danger
%span.small Warning: This package is used by the following packages for development
%ul.no-list-style
%ul.list-unstyled
- package.develpackages.each do |devel_package|
%li.small
= project_or_package_link(project: devel_package.project.name, package: devel_package.name, short: true)
Expand Down
Expand Up @@ -3,7 +3,7 @@
.modal-header
%h5.modal-title Derived Packages
.modal-body
%ul.no-list-style
%ul.list-unstyled
- @package.linking_packages.each do |linking_package|
:ruby
if linking_package.name != @package.name
Expand Down
@@ -1,4 +1,4 @@
%ul.no-list-style
%ul.list-unstyled
- if failures > 0
%li
%i.fas.fa-times-circle.text-danger{ title: 'Errors' }
Expand Down
@@ -1,7 +1,7 @@
- if requests.blank?
%p No requests.
- else
%ul.no-list-style
%ul.list-unstyled
- requests.each do |req|
%li
.form-group.form-check
Expand Down

0 comments on commit 75099c2

Please sign in to comment.