aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/home/main.html.erb
blob: 2b322ba100d94fa77a475afd02fcf970eb743764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class="header position-fixed top-0">
	<h1 class="font-size-28 font-weight-semibold">Notes</h1>
	
	<div class="position-relative">
		<a href="#" class="button right-button"
			ng-click="noteService.save()">Save</a>
	</div>
</div>

<div class="margin-top-70">
	<div class="sidebar position-fixed min-height-100%">
		<div ng-repeat="note in noteService.notes">
			<a href="#" class="sidebar-link display-block padding-13"
				ng-click="noteService.get_note(note)"
				ng-bind="note.title"></a>
			<a href="#" class="delete-link display-none"><span>×</span></a>
		</div>
	</div>

	<div class="note-editor" contenteditable
		ng-bind="noteService.current_note.body"></div>
</div>