1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-26 08:29:21 +03:00

Add a basic scripts page, and integrate it into the index

This commit is contained in:
Frank LENORMAND 2015-09-24 18:22:54 +03:00
parent 4679bfe417
commit 7a165878ee
3 changed files with 143 additions and 0 deletions

View File

@ -66,6 +66,20 @@ a:hover {
text-align: center;
}
#table-scripts tr > td:nth-child(3),
#table-scripts tr > th:nth-child(3),
#table-scripts tr > td:nth-child(4),
#table-scripts tr > th:nth-child(4),
#table-scripts tr > td:nth-child(5),
#table-scripts tr > th:nth-child(5) {
text-align: center;
}
#table-scripts tr > td:nth-child(3),
#table-scripts tr > th:nth-child(3) {
font-weight: bold;
}
.navbar-default {
border-color: #ACACAC;
}

View File

@ -33,6 +33,7 @@
<li><a href="https://github.com/mawww/kakoune/issues"><i class="fa fa-fw fa-bug"></i>&nbsp;Issue Tracker</a></li>
<li><a href="https://github.com/mawww/kakoune/wiki"><i class="fa fa-fw fa-group"></i>&nbsp;Wiki</a></li>
<li><a href="https://github.com/mawww/kakoune/blob/master/doc/design.asciidoc"><i class="fa fa-fw fa-book"></i>&nbsp;Design Notes</a></li>
<li><a href="scripts.html"><i class="fa fa-fw fa-fighter-jet"></i>&nbsp;Scripts</a></li>
</ul>
</div>
</nav>

128
scripts.html Normal file
View File

@ -0,0 +1,128 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kakoune - Official site</title>
<meta name="description" content="The official website of Kakoune, a vim inspired code editor">
<meta name="author" content="@lenormf">
<link rel="icon" type="image/png" href="img/favicon16.png">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/font-gafata.css">
<link rel="stylesheet" href="css/default.css">
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="/">
<img alt="kakoune logo" src="img/kakoune_logo_32.png">
</a>
<p class="navbar-text"><b>Kakoune</b></p>
</div>
<ul class="nav navbar-nav">
<li><a href="https://github.com/mawww/kakoune#2-getting-started"><i class="fa fa-fw fa-flag"></i>&nbsp;Get started!</a></li>
<li><a href="https://github.com/mawww/kakoune/blob/master/README.asciidoc#3-basic-interaction"><i class="fa fa-fw fa-list-alt"></i>&nbsp;Documentation</a></li>
<li><a href="https://github.com/mawww/kakoune/issues"><i class="fa fa-fw fa-bug"></i>&nbsp;Issue Tracker</a></li>
<li><a href="https://github.com/mawww/kakoune/wiki"><i class="fa fa-fw fa-group"></i>&nbsp;Wiki</a></li>
<li><a href="https://github.com/mawww/kakoune/blob/master/doc/design.asciidoc"><i class="fa fa-fw fa-book"></i>&nbsp;Design Notes</a></li>
<li><a href="scripts.html"><i class="fa fa-fw fa-fighter-jet"></i>&nbsp;Scripts</a></li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="row-fluid">
<div class="col-sm-10 col-sm-offset-1">
<br>
<div class="alert alert-danger" role="alert">
The scripts available in this section have been written by contributors,
and although they have all been carefully reviewed before being
integrated into this page, the developers of the <i>Kakoune</i> projects
<b>cannot be held liable</b> for any problems that might arise through the use
of one of the following scripts. <b>You have been warned.</b>
</div>
<h3 class="page-header">How to contribute</h3>
<blockquote>
After you have tested and put your script online (preferably on <a href=
"https://gist.github.com/">Github Gists</a>), edit this page on your
fork of the <a href="https://github.com/mawww/kakoune/tree/gh-pages">
Kakoune Github Pages repository</a> to include your script (along with
all the information needed to fill the table). Submit a pull request
with all those changes, and your script (after examination by the
project's developers) will be included on this page!
</blockquote>
</div>
<div class="col-sm-12">
<table id="table-scripts" class="table table-responsive table-striped table-condensed">
<thead>
<tr>
<th>Download</th>
<th>Description</th>
<th>Author</th>
<th>Script version</th>
<th>License</th>
<th>Date added</th>
<th>Date updated</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#">my_script</a></td>
<td>A short description of what the script does and why you should use it</td>
<td>Anonymous</td>
<td>1.0</td>
<td>MIT</td>
<td>24/09/2015</td>
<td>25/10/2016</td>
</tr>
<tr>
<td><a href="#">my_script</a></td>
<td>A short description of what the script does and why you should use it</td>
<td>Anonymous</td>
<td>1.0</td>
<td>MIT</td>
<td>24/09/2015</td>
<td>25/10/2016</td>
</tr>
<tr>
<td><a href="#">my_script</a></td>
<td>A short description of what the script does and why you should use it</td>
<td>Anonymous</td>
<td>1.0</td>
<td>MIT</td>
<td>24/09/2015</td>
<td>25/10/2016</td>
</tr>
<tr>
<td><a href="#">my_script</a></td>
<td>A short description of what the script does and why you should use it</td>
<td>Anonymous</td>
<td>1.0</td>
<td>MIT</td>
<td>24/09/2015</td>
<td>25/10/2016</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row-fluid">
<div id="footer" class="col-sm-8 col-sm-offset-2">
2012-2015 · <a href="https://github.com/mawww/kakoune"><i>kakoune</i></a>
</div>
</div>
</div>
</body>
</html>