File tree 4 files changed +41
-12
lines changed
4 files changed +41
-12
lines changed Original file line number Diff line number Diff line change
1
+ html {
2
+ with : 90% ;
3
+ font-family : Arial;
4
+ font-size : 5em ;
5
+ }
6
+
7
+ ul .options {
8
+ display : inline;
9
+ }
10
+
11
+ ul .options li {
12
+ color : white;
13
+ display : block;
14
+ padding : 15px 0 15px 0 ;
15
+ margin : 0 auto;
16
+ text-align : center;
17
+ }
18
+
19
+ ul .options li .notes {
20
+ background : green;
21
+ }
22
+
23
+ ul .options li .direction {
24
+ background : blue;
25
+ }
26
+
27
+ div # notes_content {
28
+ width : 90% ;
29
+ margin : 0 auto;
30
+ word-wrap : break-word;
31
+ }
Original file line number Diff line number Diff line change 15
15
end
16
16
17
17
get '/notes/current' do
18
- p "requesting notes"
19
- notes = %x[
18
+ notes = %x{
20
19
osascript -e 'tell application "Keynote"
21
20
tell front slideshow
22
21
get notes of current slide
23
22
end tell
24
23
end tell'
25
- ]
26
- p $?. inspect
27
- notes = "Não foi possível carregar as notas desse slide." if $?. exitstatus != 0
24
+ }
25
+ notes || "Não foi possível carregar as notas desse slide."
28
26
end
Original file line number Diff line number Diff line change 1
1
< html >
2
2
< head >
3
+ < link rel ="stylesheet " type ="text/css " href ="app.css ">
3
4
</ head >
4
5
< body >
5
- < h3 > Remotr</ h3 >
6
+ <!-- <h3>Remotr</h3> -->
7
+ < ul class ="options ">
8
+ < li class ="direction " id ="previous "> Previous</ li >
9
+ < li class ="notes " id ="notes "> Notes</ li >
10
+ < li class ="direction " id ="next "> Next</ li >
11
+ </ ul >
6
12
< div id ="notes_content "> </ div >
7
- < p >
8
- < a id ="previous " href ="# " title ="previous "> < < </ a >
9
- < a id ="notes " href ="# "> notes</ a >
10
- < a id ="next " href ="# "> > > </ a >
11
- </ p >
12
13
</ body >
13
14
14
15
< script type ="text/javascript " src ="chibi-min.js "> </ script >
Original file line number Diff line number Diff line change 7
7
8
8
< body >
9
9
<%= yield %>
10
-
11
10
</ body >
12
11
</ html >
You can’t perform that action at this time.
0 commit comments