summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--css/settings.css8
-rw-r--r--templates/part.listfeed.php2
-rw-r--r--templates/part.settings.php6
3 files changed, 13 insertions, 3 deletions
diff --git a/css/settings.css b/css/settings.css
index acf4d0498..3970c5d01 100644
--- a/css/settings.css
+++ b/css/settings.css
@@ -8,3 +8,11 @@
#app-settings .opened:hover {
background-color: transparent !important;
}
+
+.opml-icon {
+ background-image: url('%appswebroot%/news/img/opml-icon.svg');
+ background-repeat: no-repeat;
+ background-position: 5px center;
+ padding-left: 28px;
+ padding-right: 10px;
+} \ No newline at end of file
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 118bdd0b8..42d291c61 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -26,7 +26,7 @@
{{ feed.title }}
</a>
- <span class="utils">
+ <span class="utils" ng-hide="feed.error">
<span class="unread-counter">
{{ feedBl.getUnreadCount(feed.id) }}
diff --git a/templates/part.settings.php b/templates/part.settings.php
index 38c51933f..436a575eb 100644
--- a/templates/part.settings.php
+++ b/templates/part.settings.php
@@ -3,11 +3,13 @@
<input type="file" id="opml-upload" name="import"
oc-read-file="import($fileContent)"/>
<button title="<?php p($l->t('Import')); ?>"
- oc-forward-click="{selector:'#opml-upload'}">
+ oc-forward-click="{selector:'#opml-upload'}"
+ class="opml-icon">
<?php p($l->t('Import')); ?>
</button>
<button ng-disabled="feeds.length==0" title="<?php p($l->t('Export')); ?>"
- ng-click="export()">
+ ng-click="export()"
+ class="opml-icon">
<?php p($l->t('Export')); ?>
</button>
</fieldset>