<div id="attribution">
<table width="100%">
<tr>
- <td align="left"><%= t'site.index.license.license_url' %></td>
- <td align="right"><%= t'site.index.license.project_url' %></td>
+ <td class="attribution_license"><%= t'site.index.license.license_url' %></td>
+ <td class="attribution_project"><%= t'site.index.license.project_url' %></td>
</tr>
<tr>
- <td colspan="2" align="center"><%=
+ <td colspan="2" class="attribution_notice"><%=
t'site.index.license.notice',
:license_name => t('site.index.license.license_name'),
:project_name => t('site.index.license.project_name')
</tr>
<tr>
- <td class="fieldName" valign="top"><%= t 'user.account.public editing.heading' %></td>
+ <td class="fieldName"><%= t 'user.account.public editing.heading' %></td>
<td>
<% if @user.data_public? %>
<%= t 'user.account.public editing.enabled' %> <span class="minorNote">(<a href="<%= t 'user.account.public editing.enabled link' %>" target="_new"><%= t 'user.account.public editing.enabled link text' %></a>)</span>
</tr>
<tr>
- <td class="fieldName" valign="top"><%= t 'user.account.contributor terms.heading' %></td>
+ <td class="fieldName"><%= t 'user.account.contributor terms.heading' %></td>
<td>
<% if @user.terms_agreed? %>
<%= t 'user.account.contributor terms.agreed' %>
</tr>
<tr>
- <td class="fieldName" valign="top"><%= t 'user.account.profile description' %></td>
+ <td class="fieldName"><%= t 'user.account.profile description' %></td>
<td><%= f.text_area :description, :rows => '5', :cols => '60' %></td>
</tr>
<tr>
- <td class="fieldName" valign="top"><%= t 'user.account.preferred languages' %></td>
+ <td class="fieldName"><%= t 'user.account.preferred languages' %></td>
<td><%= f.text_field :languages %></td>
</tr>
<tr>
- <td class="fieldName" valign="top"><%= t 'user.account.preferred editor' %></td>
+ <td class="fieldName"><%= t 'user.account.preferred editor' %></td>
<td><%= f.select :preferred_editor, [[t("editor.default", :name => t("editor.#{DEFAULT_EDITOR}.name")), 'default']] + Editors::ALL_EDITORS.collect { |e| [t("editor.#{e}.description"), e] } %></td>
</tr>
<tr>
- <td class="fieldName" valign="top">
+ <td class="fieldName">
<%= t 'user.account.image' %>
</td>
<td valign="top">
<tr>
<td></td>
- <td align=right><br/><%= submit_tag t('user.account.save changes button') %></td>
+ <td class="submitButton"><%= submit_tag t('user.account.save changes button') %></td>
</tr>
</table>
<% end %>
<td class="fieldName"><%= t 'user.lost_password.email address' %></td>
<td><%= text_field('user', 'email', {:size => 50, :maxlength => 255, :tabindex => 1} ) %></td>
</tr>
- <tr><td></td><td align="right"><input type="submit" value="<%= t'user.lost_password.new password button' %>" tabindex="2"></td></tr>
+ <tr>
+ <td></td>
+ <td class="submitButton"><input type="submit" value="<%= t'user.lost_password.new password button' %>" tabindex="2"></td>
+ </tr>
</table>
<% end %>
<tr>
<td></td>
- <td align="right"><%= submit_tag t('user.new.continue'), :tabindex => 6 %></td>
+ <td class="submitButton"><%= submit_tag t('user.new.continue'), :tabindex => 6 %></td>
</tr>
</table>
<% end %>
<tr><td class="fieldName"><%= t 'user.reset_password.confirm password' %></td><td><%= password_field(:user, :pass_crypt_confirmation, {:value => '', :size => 30, :maxlength => 255, :tabindex => 5}) %></td></tr>
<tr><td colspan=2> <!--vertical spacer--></td></tr>
- <tr><td></td><td align=right><input type="submit" value="<%= t'user.reset_password.reset' %>" tabindex="6"></td></tr>
+ <tr><td></td><td class="submitButton"><input type="submit" value="<%= t'user.reset_password.reset' %>" tabindex="6"></td></tr>
</table>
<% end %>
display: none;
}
+.attribution_notice {
+ text-align: center;
+}
+
/* Rules for the popout map sidebar */
#sidebar {
display: inline !important;
}
+#accountForm input[type=submit] {
+ margin-top: 15px;
+}
+
/* Rules for the user view */
#user_details .user_map {
/* Rules for forms */
.fieldName {
+ vertical-align: top;
font-weight: bold;
}
text-align: left;
}
+/* Rules for attribution text under the main map shown on printouts */
+
+.attribution_license {
+ text-align: left;
+}
+
+.attribution_project {
+ text-align: right;
+}
+
/* Rules for the popout map sidebar */
#sidebar {
text-align: right;
}
+.submitButton {
+ text-align: right;
+}
+
input.openid_url {
background: url('../images/openid_input.png') repeat-y left white;
padding-left: 16px;
text-align: right;
}
+/* Rules for attribution text under the main map shown on printouts */
+
+.attribution_license {
+ text-align: right;
+}
+
+.attribution_project {
+ text-align: left;
+}
+
/* Rules for the popout map sidebar */
#sidebar {
text-align: left;
}
+.submitButton {
+ text-align: left;
+}
+
input.openid_url {
background: url('../images/openid_input.png') repeat-y right white;
padding-right: 16px;