Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
smilix committed Jan 11, 2015
1 parent 3a52ef5 commit d61a4c8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea
node_modules
.DS_Store
.ep_initialized
syncForDev.sh
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# ep_pad-lister

A plugin for Etherpad-lite that shows a list of all pads sorted by last edit date.
A plugin for Etherpad-lite that shows a list of all pads sorted by last edit date.

# installing

npm install ep_pad-lister (from your etherpad-lite folder)


Put the follwing snippet into ```src/static/custom/index.csss```

```
.pad-lister-link-container {
font-size: 16px;
width: 350px;
text-align:center;
min-height: 20px;
padding: 19px;
margin: 50px auto;
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
```
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var dateFormat = require('dateformat');
exports.eejsBlock_indexWrapper = function (hook_name, args, cb) {
args.content = args.content + eejs.require("ep_pad-lister/templates/linkToList.ejs");
return cb();
}
};

exports.registerRoute = function (hook_name, args, cb) {
var h = '<b>test</b>'
Expand Down

0 comments on commit d61a4c8

Please sign in to comment.