-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2956 from artragis/zep_12_double_stack
ZEP-12
- Loading branch information
Showing
357 changed files
with
30,943 additions
and
1,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Allow the user to compare two commits | ||
*/ | ||
|
||
(function(document, $, undefined){ | ||
"use strict"; | ||
|
||
function toogleRadioInput($radioInput){ | ||
var $row = $radioInput.parent().parent(); | ||
|
||
if($radioInput.attr("name") === "compare-from") { | ||
$row.prevAll().find("[name='compare-to']").prop("disabled", false); | ||
$row.nextAll().find("[name='compare-to']").prop("disabled", true); | ||
$row.find("[name='compare-to']").prop("disabled", true); | ||
} | ||
else { | ||
$row.prevAll().find("[name='compare-from']").prop("disabled", true); | ||
$row.nextAll().find("[name='compare-from']").prop("disabled", false); | ||
$row.find("[name='compare-from']").prop("disabled", true); | ||
} | ||
} | ||
|
||
$(".commits-list input[name^='compare']").on("change", function(){ | ||
toogleRadioInput($(this)); | ||
}); | ||
|
||
$(document).ready(function(){ | ||
$(".commits-list input[name^='compare']:checked").each(function(){ | ||
toogleRadioInput($(this)); | ||
}); | ||
}); | ||
|
||
$(".commits-compare-form").on("submit", function(){ | ||
var $form = $(this), | ||
$fromInput = $form.find("input[name='from']"), | ||
$toInput = $form.find("input[name='to']"), | ||
compareFrom = $(".commits-list input[name='compare-from']:checked").val(), | ||
compareTo = $(".commits-list input[name='compare-to']:checked").val(); | ||
|
||
$fromInput.val(compareFrom); | ||
$toInput.val(compareTo); | ||
}); | ||
})(document, jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.commits-compare-form button { | ||
float: none !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ Vues (``views.py``) | |
=================== | ||
|
||
.. automodule:: zds.article.views | ||
:members: | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
========================== | ||
La recherche (``search/``) | ||
========================== | ||
|
||
Module situé dans ``zds/search/``. | ||
|
||
.. contents:: Fichiers documentés : | ||
|
||
Modèles (``models.py``) | ||
======================= | ||
|
||
.. automodule:: zds.search.models | ||
:members: | ||
|
||
Vues (``views.py``) | ||
=================== | ||
|
||
.. automodule:: zds.search.views | ||
:members: | ||
|
||
Les utilitaires (``utils.py``) | ||
============================== | ||
|
||
.. automodule:: zds.search.utils | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
========================================== | ||
Les tutoriels v2 (ZEP12) (``tutorialv2/``) | ||
========================================== | ||
|
||
Module situé dans ``zds/tutorialv2/``. | ||
|
||
.. contents:: Fichiers documentés : | ||
|
||
Modèles (``models/``) | ||
===================== | ||
|
||
Modèles de la base de donnée (``models_database.py``) | ||
----------------------------------------------------- | ||
|
||
.. automodule:: zds.tutorialv2.models.models_database | ||
:members: | ||
|
||
|
||
Modèles "versionnés" (``models_versioned.py``) | ||
---------------------------------------------- | ||
|
||
.. automodule:: zds.tutorialv2.models.models_versioned | ||
:members: | ||
|
||
Vues (``views/``) | ||
================= | ||
|
||
Contenus (``views/views_contents.py``) | ||
-------------------------------------- | ||
|
||
.. automodule:: zds.tutorialv2.views.views_contents | ||
:members: | ||
|
||
|
||
Validations (``views/views_validations.py``) | ||
-------------------------------------------- | ||
|
||
.. automodule:: zds.tutorialv2.views.views_validations | ||
:members: | ||
|
||
Contenus publiés (``views/views_published.py``) | ||
----------------------------------------------- | ||
|
||
.. automodule:: zds.tutorialv2.views.views_published | ||
:members: | ||
|
||
Mixins (``mixins.py``) | ||
====================== | ||
|
||
.. automodule:: zds.tutorialv2.mixins | ||
:members: | ||
|
||
Les forumulaires (``forms.py``) | ||
=============================== | ||
|
||
.. automodule:: zds.tutorialv2.forms | ||
:members: | ||
|
||
Les utilitaires (``utils.py``) | ||
============================== | ||
|
||
.. automodule:: zds.tutorialv2.utils | ||
:members: | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.