Commit 4a6d6ec8 authored by yPhil's avatar yPhil
Browse files

1.5 on the horizon

- Default nBitems (16) for new feeds
- Another attempt to harmonize input text fields
- Preparing for the new simplified newFeed dialog
parent 8f3a0e69
......@@ -893,6 +893,10 @@ li.feed.selected {
outline: 3px dashed var(--color-link-hover);
}
.helpBookmarklet {
cursor: grab;
}
.feedHeader > .feedHandle {
cursor: grab;
background-color: transparent;
......@@ -1303,8 +1307,11 @@ select#gallerySlideTransition {
margin-top: 0.3em;
}
#tabNameInput {
#tabNameInput,
#searchPrefixInput,
#feedNameInput {
padding: 0.3em;
border-radius: 3px;
}
#feedLimit,
......
......@@ -338,9 +338,7 @@ PTL.dialog = {
.attr('title', PTL.tr('No valid feed found at this address'));
}
const $tabFeedId = $('li#' + $dataStore.data('id')),
$feedRefresh = $tabFeedId.find('.feedRefresh'),
$guessButton = $dialog.find('button#feedGuessButton').button(),
const $guessButton = $dialog.find('button#feedGuessButton').button(),
$guessSpinner = $dialog.find('button#feedGuessButton > i'),
$feedGuessInput = $dialog.find('input#feedGuessInput'),
$feedNameInput = $dialog.find('input#feedNameInput'),
......@@ -361,7 +359,6 @@ PTL.dialog = {
}),
$feedNbItemsInput = $('input#feedNbItems'),
$feedNbItemsSlider = $('div#feedNbItemsSlider'),
$feedLimitSliderHandle = $dialog.find('div#feedLimitSlider > .ui-slider-handle'),
$feedNbItemsSliderHandle = $dialog.find('div#feedNbItemsSlider > .ui-slider-handle'),
$feedNbItemsSpinner = $dialog.find('input#feedNbItemsSpinner').spinner({
classes: {
......
......@@ -231,7 +231,7 @@ PTL.tab = {
$column.appendTo($tabPanel);
if (PTL.queryString) {
PTL.feed.add($column, encodeURI(PTL.queryString), '', 'mixed', 260, 'on', '', '', 30, true, true);
PTL.feed.add($column, encodeURI(PTL.queryString), '', 'mixed', 260, 'on', '', 17, '', 30, true, true);
PTL.queryString = null;
}
......
......@@ -271,7 +271,8 @@
<span class="dialog translate"
data-content="You can also drag this button to your bookmark toolbar, and click it when you want to add a website to Pétrolette">
You can also drag this button to your bookmark toolbar, and click it when you want to add a website to Pétrolette</span>:
<a class="helpBookmarklet translate ui-button ui-corner-all"
<a href="/"
class="helpBookmarklet translate ui-button ui-corner-all"
data-title='Drag me to the bookmark bar, or right click "Bookmark this link"'
title='Drag me to the bookmark bar, or right click "Bookmark this link"'
data-content="Add to Pétrolette">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment