Skip to content

Commit 3b171b5

Browse files
committed
1 parent e504932 commit 3b171b5

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Include LAMP stack
2+
FROM tutum/lamp:latest
3+
4+
# Install dependencies
5+
RUN apt-get install wget unzip
6+
7+
# OpenNote install command
8+
RUN rm -fr /app
9+
RUN wget https://github.com/FoxUSA/OpenNote/releases/download/14.07.01/OpenNote.zip -P /app
10+
RUN unzip /app/OpenNote.zip -d /app
11+
RUN rm /app/OpenNote.zip
12+
13+
# Open webservice ports
14+
EXPOSE 80 443
15+
16+
# Start the LAMP stack
17+
CMD ["/run.sh"]

OpenNote/openNote/openNote.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ openNote.value("config", {
2121
* http path to backend rest service
2222
*/
2323
servicePath: function(){
24-
return "./Service";
24+
return "./Service/service.php";
2525
},
2626

2727
/**

OpenNote/openNote/openNote.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ openNote.run(function ( $rootScope,
5454
if(event!=null)
5555
event.preventDefault();
5656

57-
if(entryURL!=null && (entryURL.trim()=="" || entryURL.trim()=="/"))
57+
if(url!=null && url.trim()!="" && url.trim()!="/"&& url.trim()!="#/")
5858
$rootScope.entryURL=url;
5959
else
6060
$rootScope.entryURL=null;

OpenNote/openNote/style/simplicity/style.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
@updateColor: negation(#CC0000, @offset);
99
@folderColor: negation(#8D40CC, @offset);
1010
@blankBoxColor: negation(#F06D29, @offset);
11-
@defaultTextColor: negation(#CCC, @offset);
12-
@primaryTextColor: negation(#fff, @offset);
11+
@primaryTextColor: negation(#DDD, @offset);
1312

1413
@treePlaceholderBorder: negation(#412d24, @offset);
1514
@treePlaceholderBackground: negation(#0f0600, @offset);

0 commit comments

Comments
 (0)