Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Remove all old mustache files that are no longer necessary.

  • Loading branch information...
commit af196a284c0b8a4fdb1f90b6cf6719efae0413d6 1 parent e3d5cf0
@Raynes authored
49 src/refheap/views/templates/about.mustache
@@ -1,49 +0,0 @@
-<div class="written">
- <p>
- RefHeap is a pastebin website that is written and designed by
- <a href="">Anthony Grimes</a> and
- <a href="">Alex McNamara</a>. The project
- began in late 2011 and was launched in early 2012.
- </p>
- <p>
- RefHeap was created for several reasons:
- <ul>
- <li>We aren't entirely satisfied with existing pastebins</li>
- <li>We want to experiment with cool features that other pastebins may or
- may not have.</li>
- <li>We want to implement gist-like revision and forking features without using Git
- for paste storage.</li>
- <li>We wanted to write a pastebin with a focus on Clojure. A pastebin written
- in Clojure for Clojure. Using Pygments for syntax highlighting means we can
- also support a very large number of languages besides Clojure as well.</li>
- </ul>
- Another motivation is to gain experience writing a non-trivial website in Clojure.
- </p>
- <p>
- RefHeap uses a number of technologies. First and foremost, it uses Pygments for
- syntax highlighting. Yes, we could have reinvented the wheel and rolled our own
- pygments-like for Clojure, but we would have ended up with an ultimately less stable
- tool that we would be forced to maintain and that would have support for a
- significantly smaller number of languages for quite a while. Pygments is an excellent
- tool and the author has been nothing but open to my contributions to improve its
- Clojure support. I think Pygments was a fine choice.
- </p>
- <p>
- RefHeap is constantly in development. There are numerous issues on our
- <a href="">issue tracker</a> and
- the majority of them are planned features. We are ambitious but we are also
- small. We are currently a core team of two with other responsibilities, so any
- help is certainly appreciated. One of the greatest things about RefHeap is that
- it is open source. If you want something to be added or changed, you've got a solid
- shot at making that happen.
- </p>
- <p>
- Why should you use RefHeap? It has a nice color scheme (based off of
- <a href="">Tomorrow Night Bright</a>)
- that is often tweaked to look prettier, support for a ton of languages, is open
- source and very easy to contribute to, has a simple API with libraries in Clojure
- and Ruby, editor support for both Vim and Emacs, a Ruby gem for pasting from the
- command-line, and an ambitious team with cool plans for its future.
- </p>
22 src/refheap/views/templates/api.mustache
@@ -1,22 +0,0 @@
-<div class="written">
- <p>
- RefHeap has a simple API for accessing and creating pastes. You can use this API without an
- account with RefHeap. However, if you want pastes that you create to be created under your
- account, you'll need to supply your username and an API token with the request.
- You want to keep this API token a secret. However, if you accidentally push it to Github
- or it is otherwise compromised, you can generate a new one at anytime. When you generate a new
- token, the old one no longer works.
- </p>
- <p>
- Check out the API documentation on <a href="">Github</a>!
- </p>
- {{#logged}}
- <div id="token">
- <code id="tokentext">{{token}}</code>
- <button id="gentoken" type="button">Generate New Token</button>
- </div>
- {{/logged}}
- {{^logged}}
- <p>Login to see your API token.</p>
- {{/logged}}
1  src/refheap/views/templates/apihead.mustache
@@ -1 +0,0 @@
-<script src="/js/api.js" type="text/javascript"></script>
10 src/refheap/views/templates/createuser.mustache
@@ -1,10 +0,0 @@
-<div id="login">
- {{#error}}
- <p class="error">{{message}}</p>
- {{/error}}
- <form action="/user/create" method="post">
- <p>You're almost there! Just enter a username and you'll be on your way.</p>
- <input type="text" name="name" />
- <input type="submit" value="submit">
- </form>
1  src/refheap/views/templates/fail.mustache
@@ -1 +0,0 @@
-<p class="error">{{message}}</p>
7 src/refheap/views/templates/loggedin.mustache
@@ -1,7 +0,0 @@
-<a id="userbutton" href="/users/{{username}}">{{username}}</a>
-<a href="/user/logout">logout</a>
-<img id="signin" class="imgbutton" src="/img/browserid.png" alt="BrowserID">
4 src/refheap/views/templates/pagination.mustache
@@ -1,4 +0,0 @@
-<div class="centered">
- <a id="newer" class="pagebutton" href="{{base}}?page={{page}}">newer</a>
- <a class="pagebutton" href="{{base}}?page={{page}}">older</a>
7 src/refheap/views/templates/userheader.mustache
@@ -1,7 +0,0 @@
-<a href="/paste/{{id}}">Paste {{id}}</a>
-<div class="right">
- {{#private}}
- <span class="private">(Private)</span>
- {{/private}}
- {{date}}
16 src/refheap/views/templates/users.mustache
@@ -1,16 +0,0 @@
-<div id="user">
- <img src="{{gravatar}}" alt="gravatar" />
- <br />
- {{#user}}
- {{user}} has
- {{/user}}
- {{^user}}
- You have
- {{/user}}
- {{public-count}} public
- {{#private}}
- and {{private-count}} private
- {{/private}}
- pastes.
-{{> refheap/views/templates/all}}
Please sign in to comment.
Something went wrong with that request. Please try again.