Skip to content

Commit

Permalink
Removed Docs, Footer with social media and mail myLopenhab.org address
Browse files Browse the repository at this point in the history
from templates.

Signed-off-by: Mehmet Arziman <[email protected]>
  • Loading branch information
marziman committed Dec 8, 2016
1 parent ecea483 commit 51dbc7a
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 61 deletions.
8 changes: 1 addition & 7 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,7 @@ function ensureStaff(req, res, next) {

// General routes
app.get('/', routes.index);
app.get('/docs', routes.docs);
app.get('/docs/notifications', routes.docsnotifications);
app.get('/docs/persistence', routes.docspersistence);
if(config.ifttt){
logger.info('openHAB-cloud: IFTTT is configured, app adding IFTTT documentation...');
app.get('/docs/ifttt', routes.docsifttt);
}


// V2 route - response to this route means this openHAB-cloud is using v2 transport based on socket.io 1.0
app.get('/v2', routes.getv2);
Expand Down
3 changes: 0 additions & 3 deletions templates/activation-email/html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ Just one more step...
<p>
Click on <a href="https://myopenhab.org/verify?code=<%=code%>">this link</a> to verify your e-mail address and activate your account!
</p>
<p>
Should you have any questions or ideas, please feel free to write to us - <a href="mailto:[email protected]">[email protected]</a>
</p>
<h3>Best regards,
openHAB Cloud team!
</h3></p>
Expand Down
3 changes: 0 additions & 3 deletions templates/invitation-email/html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
<li>openHAB Cloud doesn't currently support streaming HTTP, so mjpeg and video will not work this time, but we are
working hard to add this feature!</li>
</p>
<p>
Should you have any questions or ideas, please feel free to write to us - <a href="mailto:[email protected]">[email protected]</a>
</p>
<h3>Best regards,
openHAB Cloud team!
</h3></p>
Expand Down
3 changes: 0 additions & 3 deletions templates/invitation-inactive/html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
didn't hear from you since then and you didn't activate your invitation. We would be more then happy to help you
with your beta participation. If you decided not to join, we are eager to know the reason!
</p>
<p>
Should you have any questions or ideas, please feel free to write to us - <a href="mailto:[email protected]">[email protected]</a>
</p>
<h3>Best regards,
openHAB Cloud team!
</h3></p>
Expand Down
3 changes: 0 additions & 3 deletions templates/lostpassword-email/html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
The link takes you to a secure web page where you can set a new password of your choosing.
The link will expire in 24 hours.
</p>
<p>
Should you have any questions or ideas, please feel free to write to us - <a href="mailto:[email protected]">[email protected]</a>
</p>
<p>
<h3>Best regards,
openHAB Cloud enrollment system!
Expand Down
4 changes: 1 addition & 3 deletions templates/new-version/html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ with other beta testers.</p>
be able to restart the cloud to fix some other bugs.
</p>
<p>And one of those bugs we missed are charts. After cloud restart /chart will start working.</p>
<p>
Should you have any questions or ideas, please feel free to write to us - <a href="mailto:[email protected]">[email protected]</a>
</p>

<h3>Best regards,
openHAB Cloud team!
</h3></p>
Expand Down
3 changes: 0 additions & 3 deletions templates/openhaboffline/html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
uuid and secret files, so your openHAB produced new ones and you need to update this information on the
openHAB Cloud "My Account" page.
</p>
<p>
Should you have any questions or ideas, please feel free to write to us - <a href="mailto:[email protected]">[email protected]</a>
</p>
<h3>Best regards,
openHAB Cloud team!
</h3></p>
Expand Down
36 changes: 1 addition & 35 deletions views/footer.ejs
Original file line number Diff line number Diff line change
@@ -1,43 +1,9 @@
<!-- page content -->
<!-- footer -->
<footer class="footer1">
<div class="container" id="footer">
<div class="row">
<div class="span6 timelineWidget">
<h2>Latest Tweets</h2>
<hr>
<div id="twitterFrame"> <a class="twitter-timeline" href="https://twitter.com/openHAB?height=250" data-widget-id="416300026369810432" data-tweet-limit="2" data-theme="dark" data-chrome="nofooter noheader transparent" >Tweets by @openHAB</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div>
<div class="span3 contactWidget">
<h2>Support openHAB</h2>
<hr>
<p>The <a href="http://www.openhabfoundation.org/">openHAB Foundation</a> promotes and supports the openHAB project - come and join forces!
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="KPVP4NJESFENY">
<input type="image" style="border:none; background:transparent" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
<div class="span3 sociallWidget">
<h2>Follow Us</h2>
<hr>
<ul class="socialNetwork nav">
<li><a href="https://www.facebook.com/pages/OpenHAB/153141161476518" class="icon-facebook socialIcon tips" title="follow us on Facebook"><span>facebook</span></a></li>
<li><a href="http://twitter.com/openHAB" class="icon-twitter-bird socialIcon tips" title="follow us on Twitter"><span>twitter</span></a></li>
<li><a href="https://plus.google.com/u/0/b/112853105449135193256/112853105449135193256/posts" class="icon-gplus socialIcon tips" title="follow us on Google +"><span>google +</span></a></li>
<li><a href="http://www.youtube.com/playlist?list=PLGlxCdrGUagz6lfgo9SlNLhdwI4la_VSv" class="icon-videocam socialIcon tips" title="follow us on Youtube"><span>youtube</span></a></li>
</ul>
</div>
</div>
</div>
</footer>
<footer class="footer2" id="footerRights">
<div class="container">
<div class="row">
<div class="span12">
<div class="span12" align="center">
<p>Copyright © 2016 by the <a class="inversedlink" href="https://github.com/openhab">openHAB Community</a> and the <a class="inversedlink" href="http://www.openhabfoundation.org/">openHAB Foundation</a></p>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion views/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@
<% } %>
<li><a href="/notifications" class="firstLevel <% if (section == 'notifications') { %>active<% } %>">Notifications</a></li>
<% } %>
<li><a href="/docs" class="firstLevel <% if (section == 'docs') { %>active<% } %>">Docs</a></li>
<% if (user) if (openhabstatus) { %>
<% if (openhabstatus == 'online') { %>
<li>
Expand Down

0 comments on commit 51dbc7a

Please sign in to comment.