From e8b1be8ccb6904dae34ce6e629a209062af28ce6 Mon Sep 17 00:00:00 2001 From: Athou Date: Sun, 21 Apr 2013 12:48:34 +0200 Subject: [PATCH] added donate button --- src/main/webapp/css/app.css | 4 ++++ src/main/webapp/js/controllers.js | 3 +++ src/main/webapp/templates/_toolbar.html | 3 +++ src/main/webapp/templates/feeds.help.html | 18 +++++++++++++++++- 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/css/app.css b/src/main/webapp/css/app.css index b56d9312..e8b2d188 100644 --- a/src/main/webapp/css/app.css +++ b/src/main/webapp/css/app.css @@ -32,6 +32,10 @@ background-color: #FFF; } +.toolbar .donate { + display: inline-block; +} + .entryList { padding-top: 50px; } diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index 1b1c84bd..5dcb9a07 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -270,6 +270,9 @@ module.controller('ToolbarCtrl', $scope.toHelp = function() { $state.transitionTo('feeds.help'); }; + $scope.toDonate = function() { + $state.transitionTo('feeds.help'); + }; }); module.controller('FeedListCtrl', function($scope, $stateParams, $http, $route, diff --git a/src/main/webapp/templates/_toolbar.html b/src/main/webapp/templates/_toolbar.html index 2f310a8c..f96307e4 100644 --- a/src/main/webapp/templates/_toolbar.html +++ b/src/main/webapp/templates/_toolbar.html @@ -29,6 +29,9 @@ +
\ No newline at end of file diff --git a/src/main/webapp/templates/feeds.help.html b/src/main/webapp/templates/feeds.help.html index d8542975..9e1c4205 100644 --- a/src/main/webapp/templates/feeds.help.html +++ b/src/main/webapp/templates/feeds.help.html @@ -4,6 +4,9 @@
  • About
  • +
  • + REST API +
  • Keyboard shortcuts
  • @@ -12,14 +15,26 @@
    -

    CommaFeed

    +

    About

    CommaFeed is an open-source project. Sources are hosted on GitHub.

    If you encounter an issue, please report it on the issues page of the GitHub project.

    +

    + If you like this project, please consider a small donation to support the developer and help cover the costs of keeping this website online. +

    +
    + + + + +
    +
    +

    REST API

    CommaFeed is built on top of JAX-RS and AngularJS. As such, a REST API is available. @@ -29,6 +44,7 @@

    +

    Keyboard Shortcuts

    k, space
    open next entry