mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
td width with col-md
This commit is contained in:
parent
1890aece1d
commit
93bbd0ea0d
4 changed files with 8 additions and 7 deletions
|
|
@ -5,14 +5,15 @@
|
|||
.avgrating.bright { background-image: image-url("star-bright.png"); }
|
||||
.avgrating {
|
||||
background: image-url("star.png") 0 0;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
margin-right: -2px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: inline-block;
|
||||
}
|
||||
.myrating, .othersrating {
|
||||
background: image-url("star.png") 0 0;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
.col-md-12
|
||||
%table.table
|
||||
%tr
|
||||
%td{:style => "width:15%"}
|
||||
%td.col-md-2
|
||||
%b Type
|
||||
%td
|
||||
.dropdown
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
%table.table#myrating
|
||||
%tr
|
||||
%td{:style => "width:15%"}
|
||||
%td.col-md-2
|
||||
%b Rating
|
||||
%td
|
||||
- if @event.average_rating.to_f > 0
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
=link_to event.title, admin_conference_event_path(@conference.short_title, event)
|
||||
|
||||
- if @conference.call_for_paper && @conference.call_for_paper.rating && @conference.call_for_paper.rating > 0
|
||||
%td{:style => "width:96px"}
|
||||
%td.col-md-1
|
||||
- if event.average_rating.to_f > 0
|
||||
#{event.average_rating}/#{@conference.call_for_paper.rating}
|
||||
%br
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue