blob: 907785c4afef6b03ef4dcd6de348cded12ac4f8a (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<?php
/**
* ownCloud - ATNotes plugin
*
* @author Xavier Beurois
* @copyright 2012 Xavier Beurois www.djazz-lab.net
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
OCP\Util::addStyle('atnotes','jquery-te-1.0.3.min');
OCP\Util::addScript('atnotes','jquery-te-1.0.3.min');
OCP\Util::addStyle('atnotes','jquery.qtip.min');
OCP\Util::addScript('atnotes','jquery.qtip.min');
OCP\Util::addStyle('atnotes','atnotes.min');
OCP\Util::addScript('atnotes','atnotes.min');
?>
<div id="atnotes_container">
<div id="save_dialog">
<div class="atnotes-explorer"><table border="0" cellpadding="0" cellspacing="0"></table></div>
</div>
<div id="controls">
<div class="title"><?php print('Always Take Notes !'); ?></div>
</div>
<ul class="atnotes-noteslist">
<?php foreach($_['notes_list'] as $note){ ?>
<li class="atnotes-elt" rel="<?php print($note['note_id']); ?>">
<div class="atnotes-elt-title"><?php print($note['note_title']); ?></div>
<div class="atnotes-elt-state"></div>
<div class="atnotes-elt-date"><?php print(date('m/d/Y', $note['update_ts'])); ?></div>
<div class="atnotes-elt-prerender"><?php print($note['note_content']); ?></div>
</li>
<?php } ?>
</ul>
<div class="atnotes-notesedit">
<div class="anotes-notesedit-title">
<input type="text" id="note_title" rel="0" maxlength="255" />
<input type="hidden" id="note_path" maxlength="255" />
<div class="atnotes-actions-btns">
<img class="atnotes-actions-list" src="<?php print(OCP\Util::imagePath('atnotes','action.png')); ?>" />
<div class="atnotes-actions-ddmenu">
<ul>
<li class="atnotes-new">New note</li>
<li class="atnotes-delete">Delete note</li>
</ul>
</div>
<img class="atnotes-save" src="<?php print(OCP\Util::imagePath('atnotes','save.png')); ?>" />
</div>
</div>
<div class="anotes-notesedit-states">
<div class="atnotes-created"></div>
<div class="atnotes-saved"></div>
</div>
</div>
<textarea class="atnotes-editor"></textarea>
</div>
|