summaryrefslogtreecommitdiffstats
path: root/templates/main.php
blob: 61cfc5ec9ff763bf6d600d76c6bc978842fb5990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!-- Dialogs -->
<div id="dialog_holder"></div>
<!-- End of Dialogs -->

<?php
if ($_['feedid']){

echo $this->inc("part.items.header");

?>

<div id="leftcontent" class="leftcontent">
	<h1><?php echo $l->t('Subscriptions'); ?></h1>
	<div id="feeds">
		<ul>
			<?php echo $this->inc("part.feeds"); ?>
		</ul>
	</div>
</div>

<div id="feed_settings">
	<ul class="controls">
		<li id="addfeedfolder" title="<?php echo $l->t('Add feed or folder'); ?>">
			<button class="svg"><img class="svg" src="<?php echo OCP\Util::linkTo('news', 'img/add.svg'); ?>" alt="<?php echo $l->t('Add Feed/Folder'); ?>"   /></button>
			<ul class="menu" id="feedfoldermenu">
				<li id="addfeed"><?php echo $l->t('Feed'); ?></li>
				<li id="addfolder"><?php echo $l->t('Folder'); ?></li>
			</ul>
		</li>
		<li style="float: right">
			<button class="svg" id="settingsbtn" title="<?php echo $l->t('Settings'); ?>"><img class="svg" src="<?php echo OCP\Util::imagePath('core','actions/settings.png'); ?>" alt="<?php echo $l->t('Settings'); ?>"   /></button>
		</li>
	</ul>
</div>




<div id="rightcontent" class="rightcontent" data-id="<?php echo $_['feedid']; ?>">
	<?php
			echo '<div id="feed_items">';
				echo $this->inc("part.items");
			echo '</div>';
	?>

	<div id="appsettings" class="popup bottomleft hidden"></div>

</div>

<?php
	} else {
		echo $this->inc("part.nofeeds");
	}
?>