--- a/templates/project.html Wed Jun 29 09:00:24 2016 +0800
+++ b/templates/project.html Wed Jun 29 17:21:21 2016 +0800
<div class="uk-container uk-container-center uk-margin-large-top">
<h2><a href="{{ project.get_url() }}">{{ project.get_title() }}</a></h2>
<img src="{{ project.get_url() }}/status.svg" alt="Lint Status">
+ {% include ui/codes.html %}
<dl class="uk-description-list-horizontal list-terse">
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/ui/codes.html Wed Jun 29 17:21:21 2016 +0800
+<button class="uk-button uk-button-link" data-uk-modal="{target:'#status-badge-modal'}">embed</button>
+<div id="status-badge-modal" class="uk-modal">
+ <div class="uk-modal-dialog badge-codes-modal">
+ <a class="uk-modal-close uk-close"></a>
+ <ul class="uk-tab" data-uk-tab="{connect: '#status-badge-snippets'}">
+ <li><a>Markdown</a></li>
+ <li><a>Textile</a></li>
+ <ul id="status-badge-snippets" class="uk-switcher uk-margin-top">
+ <pre class="uk-margin-bottom-remove snippet">
+ [![Lint Status]({{ project.get_url(request) }}/status.svg)]({{ project.get_url(request) }})
+<pre class="uk-margin-bottom-remove snippet">
+.. image:: {{ project.get_url(request) }}/status.svg
+ :target: {{ project.get_url(request) }}
+ <pre class="uk-margin-bottom-remove snippet">
+ {<img src="{{ project.get_url(request) }}/status.svg" alt="Lint Status" />}[{{ project.get_url(request) }}]
+ <pre class="uk-margin-bottom-remove snippet">
+ !{{ project.get_url(request) }}/status.svg(Lint Status)!:{{ project.get_url(request) }}
+<pre class="uk-margin-bottom-remove snippet">
+<a href="{{ project.get_url(request) }}">
+ <img src='{{ project.get_url(request) }}/status.svg' alt='Lint Status' />