Commit a451be9381aafc1560de5178844f2379723cbcce

Recent notes listed as list again, doesn't work yet.
_attachments/index.html
(10 / 0)
  
5555 </div>
5656 <div class="clear"></div>
5757 </div>
58
59 <div id="note_view_dialog" title="Note view">
60 <p>Placeholder.</p>
61 </div>
62
5863 </body>
5964 <script src="vendor/couchapp/loader.js"></script>
6065 <script type="text/javascript" charset="utf-8">
7878 $("#content_" + new_selected).show();
7979 selected = new_selected;
8080 }
81
82 function view_note(id) {
83 var dialog_div = $("#note_view_dialog");
84 dialog_div.dialog();
85 }
8186
8287 function updateTags(){
8388 tags = $("#note").val().match(/\#[a-z]+/g);
_attachments/style/main.css
(12 / 3)
  
129129}
130130
131131th#note_col {
132 width: 500px;
132 width: 400px;
133133}
134134
135135th#tag_col {
136 width: 200px;
136 width: 250px;
137137}
138138
139139th#last_modified_col {
140 width: 90px;
140 width: 150px;
141141}
142142
143#items tr:hover {
144 background-color: #fed;
145 cursor: pointer;
146}
147
143148div#recent-notes-set {
144149 clear: both;
145150 float: left;
161161 padding: 0.5em;
162162 float: left;
163163 margin: 0 10px 10px 0;
164}
165
166#note_view_dialog {
167 display: none;
164168}
evently/items/_changes/data.js
(1 / 0)
  
1717 else {
1818 p.last_updated = r.value.created_at;
1919 }
20 p.id = r.value._id;
2021 return p;
2122 })
2223 }
evently/items/_changes/mustache.html
(13 / 10)
  
1<div id="recent-notes-set">
1<table>
2 <caption>Recent notes</caption>
3 <tr>
4 <th id="note_col">Note</th>
5 <th id="tag_col">Tags</th>
6 <th id="last_modified_col">Last modified</th>
7 </tr>
28 {{#items}}
3 <div class="ui-widget-content">
4 <p>{{note_start}}</p>
5 </div>
9 <tr onclick="javascript:view_note('{{id}}');">
10 <td>{{note_start}}</td>
11 <td>{{tags}}</td>
12 <td>{{last_updated}}</td>
13 </tr>
614 {{/items}}
7</div>
8<script type="text/javascript">
9 $(function() {
10 $( "#recent-notes-set div" ).draggable({ stack: "#recent-notes-set div" });
11 });
12</script>
15</table>