diff options
| author | 2014-10-02 11:39:51 +0200 | |
|---|---|---|
| committer | 2014-10-02 11:39:51 +0200 | |
| commit | db4da3babc0864099c5ab48e3583d0546a2759d8 (patch) | |
| tree | 235f119202235a0aa805ad74aef9d00799e739b2 /app/views/subscription | |
| parent | bbedca510bb0b88850476bf2e2aa6af8c02ac741 (diff) | |
First draft for drag and drop
We can change feed category by drag and drop! Need improvements...
See https://github.com/marienfressinaud/FreshRSS/issues/646
Diffstat (limited to 'app/views/subscription')
| -rw-r--r-- | app/views/subscription/index.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index 577ddd972..3a79a34e6 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -113,14 +113,14 @@ </form> </div> - <ul class="box-content"> + <ul class="box-content" dropzone="move" data-cat-id="<?php echo $cat->id(); ?>"> <?php if (!empty($feeds)) { ?> <?php foreach ($feeds as $feed) { $error = $feed->inError() ? ' error' : ''; $empty = $feed->nbEntries() == 0 ? ' empty' : ''; ?> - <li class="item<?php echo $error, $empty; ?>"> + <li class="item feed<?php echo $error, $empty; ?>" draggable="true" data-feed-id="<?php echo $feed->id(); ?>"> <a class="configure open-slider" href="<?php echo _url('subscription', 'feed', 'id', $feed->id()); ?>"><?php echo _i('configure'); ?></a> <img class="favicon" src="<?php echo $feed->favicon(); ?>" alt="✇" /> <?php echo $feed->name(); ?> </li> |
