Fix template linting errors
This commit is contained in:
parent
90730a935d
commit
9082fb9762
@ -1,3 +1,6 @@
|
|||||||
export default {
|
export default {
|
||||||
extends: 'recommended',
|
extends: 'recommended',
|
||||||
|
rules: {
|
||||||
|
'link-rel-noopener': 'off',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -694,7 +694,6 @@ export default class MapComponent extends Component {
|
|||||||
{{this.setupMap}}
|
{{this.setupMap}}
|
||||||
{{this.updateBookmarks}}
|
{{this.updateBookmarks}}
|
||||||
{{this.updateSelectedPin}}
|
{{this.updateSelectedPin}}
|
||||||
style="position: absolute; inset: 0;"
|
|
||||||
></div>
|
></div>
|
||||||
</template>
|
</template>
|
||||||
}
|
}
|
||||||
|
|||||||
@ -173,8 +173,9 @@ export default class PlaceDetails extends Component {
|
|||||||
{{#if this.isEditing}}
|
{{#if this.isEditing}}
|
||||||
<form class="edit-form" {{on "submit" this.saveChanges}}>
|
<form class="edit-form" {{on "submit" this.saveChanges}}>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Title</label>
|
<label for="edit-title">Title</label>
|
||||||
<input
|
<input
|
||||||
|
id="edit-title"
|
||||||
type="text"
|
type="text"
|
||||||
value={{this.editTitle}}
|
value={{this.editTitle}}
|
||||||
{{on "input" this.updateTitle}}
|
{{on "input" this.updateTitle}}
|
||||||
@ -182,8 +183,9 @@ export default class PlaceDetails extends Component {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Description</label>
|
<label for="edit-desc">Description</label>
|
||||||
<textarea
|
<textarea
|
||||||
|
id="edit-desc"
|
||||||
value={{this.editDescription}}
|
value={{this.editDescription}}
|
||||||
{{on "input" this.updateDescription}}
|
{{on "input" this.updateDescription}}
|
||||||
class="form-control"
|
class="form-control"
|
||||||
|
|||||||
@ -23,22 +23,22 @@ export default class SettingsPane extends Component {
|
|||||||
<p>
|
<p>
|
||||||
<strong>Marco</strong> (as in <a
|
<strong>Marco</strong> (as in <a
|
||||||
href="https://en.wikipedia.org/wiki/Marco_Polo"
|
href="https://en.wikipedia.org/wiki/Marco_Polo"
|
||||||
target="_blank">Marco Polo</a>) is an unhosted maps application
|
target="_blank" rel="noopener">Marco Polo</a>) is an unhosted maps application
|
||||||
that respects your privacy and choices.
|
that respects your privacy and choices.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Connect your own <a href="https://remotestorage.io/"
|
Connect your own <a href="https://remotestorage.io/"
|
||||||
target="_blank">remote storage</a> to sync place bookmarks across
|
target="_blank" rel="noopener">remote storage</a> to sync place bookmarks across
|
||||||
devices.
|
devices.
|
||||||
</p>
|
</p>
|
||||||
<ul class="link-list">
|
<ul class="link-list">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://gitea.kosmos.org/raucao/marco" target="_blank">
|
<a href="https://gitea.kosmos.org/raucao/marco" target="_blank" rel="noopener">
|
||||||
Source Code
|
Source Code
|
||||||
</a> (<a href="https://en.wikipedia.org/wiki/GNU_Affero_General_Public_License" target="_blank">AGPL</a>)
|
</a> (<a href="https://en.wikipedia.org/wiki/GNU_Affero_General_Public_License" target="_blank" rel="noopener">AGPL</a>)
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://openstreetmap.org/copyright" target="_blank">
|
<a href="https://openstreetmap.org/copyright" target="_blank" rel="noopener">
|
||||||
Map Data © OpenStreetMap
|
Map Data © OpenStreetMap
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@ -8,7 +8,7 @@ body {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: "Noto Serif", serif;
|
font-family: 'Noto Serif', serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
#root,
|
#root,
|
||||||
@ -21,6 +21,8 @@ body {
|
|||||||
background: #f8f9fa;
|
background: #f8f9fa;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
outline: none; /* Prevent focus outline on click */
|
outline: none; /* Prevent focus outline on click */
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure RS widget is above the map but potentially hidden initially if needed */
|
/* Ensure RS widget is above the map but potentially hidden initially if needed */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user