@@ -1238,4 +1238,10 @@ h1 .icon {
}
.flag.flag-zh {
background-position: -208px -22px;
+}
+
+.edit-pull-request {
+ font-size: 32px;
+ margin-left: 10px;
+ color: #2a6496;
@@ -78,7 +78,12 @@
</header>
<div class="bs-header" id="content">
<div class="container">
- <h1 data-zh="文档">Documentation</h1>
+ <h1>
+ <span data-zh="文档">Documentation</span>
+ <a class="edit-pull-request" href="https://github.com/wenzhixin/bootstrap-table/edit/master/docs/docs.js" title="Edit the docs">
+ <i class="glyphicon glyphicon-edit"></i>
+ </a>
+ </h1>
<p data-zh="文档包含了表格属性、列属性、事件、方法等等。">The documentation contains Table Properties, Column Properties, Events, Methods, and much more.</p>
</div>
@@ -87,7 +87,12 @@
- <h1 data-zh="例子">Examples</h1>
+ <span data-zh="例子">Examples</span>
+ <a class="edit-pull-request" href="https://github.com/wenzhixin/bootstrap-table/edit/master/docs/examples.html" title="Edit the docs">
<p data-zh="使用Bootstrap Table的例子。">The examples of bootstrap table.</p>
@@ -86,7 +86,12 @@
- <h1 data-zh="扩展">Extensions</h1>
+ <span data-zh="扩展">Extensions</span>
+ <a class="edit-pull-request" href="https://github.com/wenzhixin/bootstrap-table/edit/master/docs/extensions.html" title="Edit the docs">
<p data-zh="bootstrap-table 的扩展">Extensions for bootstrap table.</p>
@@ -80,7 +80,12 @@
- <h1 data-zh="常见问题">FAQ</h1>
+ <span data-zh="常见问题">FAQ</span>
+ <a class="edit-pull-request" href="https://github.com/wenzhixin/bootstrap-table/edit/master/docs/faq.html" title="Edit the docs">
<p data-zh="常见问题。">Frequently Asked Questions.</p>
- <h1 data-zh="开始使用">Getting started</h1>
+ <span data-zh="开始使用">Getting started</span>
+ <a class="edit-pull-request" href="https://github.com/wenzhixin/bootstrap-table/edit/master/docs/getting-started.html" title="Edit the docs">
<p data-zh="Bootstrap Table的简单介绍,例如如何下载和使用,基本的模板等等。">An overview of Bootstrap Table, how to download and use, basic templates, and more.</p>