zhixin 11 年 前
コミット
cc85cb81ae
6 ファイル変更36 行追加5 行削除
  1. 6 0
      docs/docs.css
  2. 6 1
      docs/documentation.html
  3. 6 1
      docs/examples.html
  4. 6 1
      docs/extensions.html
  5. 6 1
      docs/faq.html
  6. 6 1
      docs/getting-started.html

+ 6 - 0
docs/docs.css

@@ -1238,4 +1238,10 @@ h1 .icon {
 }
 .flag.flag-zh {
     background-position: -208px -22px;
+}
+
+.edit-pull-request {
+    font-size: 32px;
+    margin-left: 10px;
+    color: #2a6496;
 }

+ 6 - 1
docs/documentation.html

@@ -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>
 </div>

+ 6 - 1
docs/examples.html

@@ -87,7 +87,12 @@
 </header>
 <div class="bs-header" id="content">
     <div class="container">
-        <h1 data-zh="例子">Examples</h1>
+        <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">
+                <i class="glyphicon glyphicon-edit"></i>
+            </a>
+        </h1>
         <p data-zh="使用Bootstrap Table的例子。">The examples of bootstrap table.</p>
     </div>
 </div>

+ 6 - 1
docs/extensions.html

@@ -86,7 +86,12 @@
 
 <div class="bs-header" id="content">
     <div class="container">
-        <h1 data-zh="扩展">Extensions</h1>
+        <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">
+                <i class="glyphicon glyphicon-edit"></i>
+            </a>
+        </h1>
         <p data-zh="bootstrap-table 的扩展">Extensions for bootstrap table.</p>
     </div>
 </div>

+ 6 - 1
docs/faq.html

@@ -80,7 +80,12 @@
 
 <div class="bs-header" id="content">
     <div class="container">
-        <h1 data-zh="常见问题">FAQ</h1>
+        <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">
+                <i class="glyphicon glyphicon-edit"></i>
+            </a>
+        </h1>
         <p data-zh="常见问题。">Frequently Asked Questions.</p>
     </div>
 </div>

+ 6 - 1
docs/getting-started.html

@@ -80,7 +80,12 @@
 
 <div class="bs-header" id="content">
     <div class="container">
-        <h1 data-zh="开始使用">Getting started</h1>
+        <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">
+                <i class="glyphicon glyphicon-edit"></i>
+            </a>
+        </h1>
         <p data-zh="Bootstrap Table的简单介绍,例如如何下载和使用,基本的模板等等。">An overview of Bootstrap Table, how to download and use, basic templates, and more.</p>
     </div>
 </div>