forked from saurabh/orbit4-5
fix main forms css and a user profile bug
This commit is contained in:
parent
83656d2362
commit
927b08edeb
|
@ -204,8 +204,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-forms fieldset .form-actions {
|
.main-forms fieldset .form-actions {
|
||||||
/*padding-left: 140px;*/
|
|
||||||
|
|
||||||
padding-left: 200px;
|
padding-left: 200px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
-webkit-border-radius: 0 0 4px 4px;
|
-webkit-border-radius: 0 0 4px 4px;
|
||||||
|
@ -244,8 +242,6 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
filter: alpha(opacity=0);
|
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-forms fieldset .input-area .question {
|
.main-forms fieldset .input-area .question {
|
||||||
|
@ -268,7 +264,6 @@
|
||||||
left: 175px;
|
left: 175px;
|
||||||
color: #51a351;
|
color: #51a351;
|
||||||
opacity: .4;
|
opacity: .4;
|
||||||
filter: alpha(opacity=40);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-forms .input-append .tab-content {
|
.main-forms .input-append .tab-content {
|
||||||
|
@ -453,8 +448,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-forms .display-mode .typesetting input[type="radio"] {
|
.main-forms .display-mode .typesetting input[type="radio"] {
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
||||||
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0)0;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -549,8 +542,6 @@
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
|
||||||
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=70);
|
|
||||||
opacity: .7;
|
opacity: .7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -571,8 +562,6 @@
|
||||||
border: 5px solid #0088cc;
|
border: 5px solid #0088cc;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
||||||
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -604,8 +593,6 @@
|
||||||
#sideset ul.orbitbar-themes li input[type="radio"] {
|
#sideset ul.orbitbar-themes li input[type="radio"] {
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
||||||
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,8 +16,13 @@
|
||||||
<dt><%= t('users.sex')%></dt>
|
<dt><%= t('users.sex')%></dt>
|
||||||
<dd><%= t("users.#{(@member.sex.nil? ? 'unknown' : @member.sex)}") %></dd>
|
<dd><%= t("users.#{(@member.sex.nil? ? 'unknown' : @member.sex)}") %></dd>
|
||||||
<% items.each do |item| %>
|
<% items.each do |item| %>
|
||||||
|
<% if item.member_profile_field.nil?
|
||||||
|
item.destroy
|
||||||
|
else
|
||||||
|
%>
|
||||||
<dt><%= item.member_profile_field.title %></dt>
|
<dt><%= item.member_profile_field.title %></dt>
|
||||||
<dd><%= nl2br(show_attribute_value(@member.get_attribute_value(item.member_profile_field).get_value_by_locale(I18n.locale))) rescue '' %></dd>
|
<dd><%= nl2br(show_attribute_value(@member.get_attribute_value(item.member_profile_field).get_value_by_locale(I18n.locale))) rescue '' %></dd>
|
||||||
|
<% end %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue