gem "actionpack-page_caching", ">= 1.2.0"
gem "active_record_union"
gem "activerecord-import"
-gem "bootstrap", "~> 4.3.1"
+gem "bootstrap", "~> 4.5.0"
+ gem "bootstrap_form", "~> 4.0"
gem "cancancan"
gem "composite_primary_keys", "~> 12.0.0"
gem "config"
autoprefixer-rails (>= 9.1.0)
popper_js (>= 1.14.3, < 2)
sassc-rails (>= 2.0.0)
+ bootstrap_form (4.5.0)
+ actionpack (>= 5.2)
+ activemodel (>= 5.2)
+ brakeman (4.9.0)
browser (4.2.0)
builder (3.2.4)
bzip2-ffi (1.0.0)
bigdecimal (~> 1.1.0)
binding_of_caller
bootsnap (>= 1.4.2)
- bootstrap (~> 4.3.1)
+ bootstrap (~> 4.5.0)
+ bootstrap_form (~> 4.0)
+ brakeman
browser
bzip2-ffi
cancancan
$("<p>")
.text(I18n.t("javascripts.map.layers.overlays"))
- .attr("class", "deemphasize")
+ .attr("class", "text-muted")
.appendTo(overlaySection);
- var overlays = $("<ul class='list-unstyled'>")
+ var overlays = $("<ul class='list-unstyled standard-form'>")
.appendTo(overlaySection);
var addOverlay = function (layer, name, maxArea) {
/* Rules for small maps in content areas */
.content_map {
- position: relative;
- width: 45%;
- height: 400px;
+ height: 200px;
border: 1px solid $grey;
margin-bottom: $lineheight;
- float: right;
+}
+
+@include media-breakpoint-up(md) {
+ .content_map {
+ height: 400px;
+ }
}
- /* Rules for the new trace form */
-
- #new_trace {
- input[type=text] {
- width: 50%;
- width: calc(100% - 150px);
- max-width: 500px;
- }
- }
-
- /* Rules for the edit trace form */
-
- .edit_trace {
- .standard-form-row p {
- margin-bottom: 0px;
- }
-
- input[type=text] {
- width: 50%;
- width: calc(100% - 150px);
- max-width: 500px;
- }
- }
-
/* Rules for the user profile page */
#userinformation {
</h2>
<div class="note browse-section">
- <p class="warning"><%= t("javascripts.notes.new.intro") %></p>
+ <p class="alert alert-info"><%= t("javascripts.notes.new.intro") %></p>
- <form action="#">
+ <form action="#" class="standard-form">
<input type="hidden" name="lon">
<input type="hidden" name="lat">
<textarea class="comment" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
{
"name": "openstreetmap",
"private": true,
- "dependencies": {},
+ "dependencies": {
+ "bs-custom-file-input": "^1.3.4"
+ },
"devDependencies": {
- "eslint": "^6.8.0"
+ "eslint": "^7.3.1"
}
}