Find feed url from webpage

This commit is contained in:
2021-03-17 08:02:14 +00:00
parent 47c72d0029
commit 42014bdaa1
5 changed files with 63 additions and 8 deletions

View File

@@ -90,7 +90,6 @@
<fieldset class="form-group">
<label for="url">URL:</label>
<input id="url" type="text" placeholder="" class="form-control" v-model="newSiteURL">
<div class="help-block">Enter the direct URL to the feed</div>
</fieldset>
<div class="form-actions">
<button type="button" class="btn btn-primary btn-block" v-on:click="addSite(newSiteURL)" :disabled="isBusy">Add</button>
@@ -306,10 +305,12 @@
})
.then(() => {
this.setBusy(false);
this.newSiteURL = '';
})
.catch(err => {
console.error(err);
this.setBusy(false);
this.newSiteURL = '';
});
this.showAddModal = false;
},

View File

@@ -185,3 +185,7 @@ button:not(:disabled):hover svg path {
.dark .item-content .card-content a {
color: #ccc;
}
.card-header {
padding: 5px !important;
}