Commit 39929f22 authored by yPhil's avatar yPhil
Browse files

No delete button in new feed dialog

parent 50ef2ebb
......@@ -22,6 +22,8 @@
--color-ui-sen: #F26522;
--color-ui-sep: #CCC;
--color-ui-oct: #2B2B2B;
--color-ui-non: #007FFF;
--color-ui-ten: #003EFF;
--color-ui-title-one: #FF4136;
--color-ui-console-bg: #EEE8D5;
--color-ui-console-fg: #002B36;
......@@ -666,10 +668,6 @@ nav#sideMenu.expanded {
left: 0;
}
#progress-bar {
color: var(--color-ui-sec);
}
.ui-progressbar {
position: relative;
}
......@@ -686,8 +684,8 @@ nav#sideMenu.expanded {
}
.ui-progressbar .ui-progressbar-value {
background: var(--color-ui-sec);
border: 1px solid var(--color-ui-sec) !important;
background: var(--color-ui-non);
border: 1px solid var(--color-ui-non) !important;
margin: 0;
}
......
......@@ -356,6 +356,7 @@ PTL.dialog = {
$guessField = $dialog.find('input#feed-guess'),
$okButton = $dialog.find('.ui-dialog-buttonpane'),
$killFeedFieldset = $('fieldset#kill-feed'),
$killFeedLegend = $('legend#kill-feed-legend'),
$helpMiniButtonIcon,
$helpMiniButton,
oldUrl = $dataStore.data('url'),
......@@ -375,7 +376,10 @@ PTL.dialog = {
PTL.util.help('dialog');
}).appendTo($dialog.parent().find('.ui-dialog-titlebar'));
if (isNewFeed) $killFeedFieldset.remove();
if (isNewFeed) {
$killFeedLegend.remove();
$killFeedFieldset.remove();
}
$guessButton.click(function() {
......
......@@ -276,8 +276,8 @@ var PTL = (function() {
$mediaPreloadAutoLabel = $('<label>')
.attr('class', 'translate grow')
.attr('for', 'auto')
.data('content', PTL.tr('Auto'))
.text(PTL.tr('Auto')),
.data('content', PTL.tr('All'))
.text(PTL.tr('All')),
$mediaPreloadAutoInput = $('<input>')
.attr('id', 'auto')
.attr('class', 'mediaPreloadSwitcher')
......
......@@ -84,6 +84,7 @@
</fieldset>
<legend data-content="Delete"
id="kill-feed-legend"
class="ui-corner-top translate">Delete
</legend>
<fieldset id="kill-feed" class="ui-widget ui-widget-content ui-corner-all">
......
Markdown is supported
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