mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-18 03:30:55 +01:00
Merge remote-tracking branch 'origin/master' into readme-box
Conflicts: web/js/main.js
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'layout.twig' %}
|
{% extends 'layout.twig' %}
|
||||||
{% block title %}Gitlist{% endblock %}
|
{% block title %}GitList{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'navigation.twig' %}
|
{% include 'navigation.twig' %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'layout.twig' %}
|
{% extends 'layout.twig' %}
|
||||||
{% block title %}Gitlist{% endblock %}
|
{% block title %}GitList{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'navigation.twig' %}
|
{% include 'navigation.twig' %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'layout.twig' %}
|
{% extends 'layout.twig' %}
|
||||||
{% block title %}Gitlist{% endblock %}
|
{% block title %}GitList{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'navigation.twig' %}
|
{% include 'navigation.twig' %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'layout.twig' %}
|
{% extends 'layout.twig' %}
|
||||||
{% block title %}Gitlist{% endblock %}
|
{% block title %}GitList{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'navigation.twig' %}
|
{% include 'navigation.twig' %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'layout.twig' %}
|
{% extends 'layout.twig' %}
|
||||||
{% block title %}Gitlist{% endblock %}
|
{% block title %}GitList{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'navigation.twig' %}
|
{% include 'navigation.twig' %}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="brand" href="{{ baseurl }}">Gitlist</a>
|
<a class="brand" href="{{ baseurl }}">GitList</a>
|
||||||
<div class="nav-collapse">
|
<div class="nav-collapse">
|
||||||
<ul class="nav pull-right">
|
<ul class="nav pull-right">
|
||||||
<li><a href="https://github.com/klaussilveira/gitlist/">About</a></li>
|
<li><a href="https://github.com/klaussilveira/gitlist/">About</a></li>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<rss version="2.0">
|
<rss version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Latest commits in {{ repo }}:{{ branch }}</title>
|
<title>Latest commits in {{ repo }}:{{ branch }}</title>
|
||||||
<description>RSS provided by Gitlist</description>
|
<description>RSS provided by GitList</description>
|
||||||
<link>{{ baseurl }}/</link>
|
<link>{{ baseurl }}/</link>
|
||||||
|
|
||||||
{% for commit in commits %}
|
{% for commit in commits %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'layout.twig' %}
|
{% extends 'layout.twig' %}
|
||||||
{% block title %}Gitlist{% endblock %}
|
{% block title %}GitList{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'navigation.twig' %}
|
{% include 'navigation.twig' %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'layout.twig' %}
|
{% extends 'layout.twig' %}
|
||||||
{% block title %}Gitlist{% endblock %}
|
{% block title %}GitList{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'navigation.twig' %}
|
{% include 'navigation.twig' %}
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
$(function () {
|
$(function () {
|
||||||
$('.dropdown-toggle').dropdown();
|
$('.dropdown-toggle').dropdown();
|
||||||
var mode = $('#sourcecode').attr('language');
|
|
||||||
|
|
||||||
CodeMirror.fromTextArea(document.getElementById("sourcecode"), {
|
if ($('#sourcecode').length) {
|
||||||
lineNumbers: true,
|
var mode = $('#sourcecode').attr('language');
|
||||||
matchBrackets: true,
|
CodeMirror.fromTextArea(document.getElementById("sourcecode"), {
|
||||||
lineWrapping: true,
|
lineNumbers: true,
|
||||||
readOnly: true,
|
matchBrackets: true,
|
||||||
mode: mode
|
lineWrapping: true,
|
||||||
});
|
readOnly: true,
|
||||||
});
|
mode: mode
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
if ($('#readme-content').length) {
|
if ($('#readme-content').length) {
|
||||||
var converter = new Showdown.converter();
|
var converter = new Showdown.converter();
|
||||||
$('#readme-content').html(converter.makeHtml($('#readme-content').text()));
|
$('#readme-content').html(converter.makeHtml($('#readme-content').text()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user