From a70ebf77620d6c5651e092cc4998c416161746cf Mon Sep 17 00:00:00 2001
From: Cheng-Han, Wu
Date: Sun, 15 May 2016 10:54:24 +0800
Subject: Update to move dropbox app key setting to common.js and will auto
load client-side related scripts
---
public/views/foot.ejs | 11 +----------
public/views/header.ejs | 20 --------------------
2 files changed, 1 insertion(+), 30 deletions(-)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 15eff6e1..7adb8c72 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -71,12 +71,6 @@
-<% if(dropbox) { %>
-
-<% } %>
-<% if(googleDrive) { %>
-
-<% } %>
@@ -84,7 +78,4 @@
-
-<% if(googleDrive) { %>
-
-<% } %>
+
\ No newline at end of file
diff --git a/public/views/header.ejs b/public/views/header.ejs
index 1092a2d1..f45d6311 100644
--- a/public/views/header.ejs
+++ b/public/views/header.ejs
@@ -33,31 +33,21 @@
Slide Mode
- <% if((googleDrive == "true") || (typeof dropbox !== 'undefined' && dropbox) || (typeof github !== 'undefined' && github)) { %>
- <% if(typeof dropbox !== 'undefined' && dropbox) { %>
Dropbox
- <% } %>
- <% if(googleDrive == "true") { %>
Google Drive
- <% } %>
<% if(typeof github !== 'undefined' && github) { %>
Gist
<% } %>
- <% } %>
- <% if(typeof dropbox !== 'undefined' && dropbox) { %>
Dropbox
- <% } %>
- <% if(googleDrive == "true") { %>
Google Drive
- <% } %>
Gist
Clipboard
@@ -128,31 +118,21 @@
Slide Mode
- <% if((googleDrive == "true") || (typeof dropbox !== 'undefined' && dropbox) || (typeof github !== 'undefined' && github)) { %>
- <% if(typeof dropbox !== 'undefined' && dropbox) { %>
Dropbox
- <% } %>
- <% if(googleDrive == "true") { %>
Google Drive
- <% } %>
<% if(typeof github !== 'undefined' && github) { %>
Gist
<% } %>
- <% } %>
- <% if(typeof dropbox !== 'undefined' && dropbox) { %>
Dropbox
- <% } %>
- <% if(googleDrive == "true") { %>
Google Drive
- <% } %>
Gist
Clipboard
--
cgit v1.2.3