This commit is contained in:
Michael RICOIS 2017-02-13 11:15:51 +01:00
parent 8eff89f8e2
commit a1be40c128

View File

@ -334,7 +334,7 @@
</li>
<li class="list-group-item list-group-item-warning">
<p>Contact <span class="label label-info pull-right">10/01/2014</span></p>
<p><a href="./cnil/contact/ContactsInformatiqueLibertes20140110.pdf">Contacts Informatique Libertes</a></p>
<p><a href="./cnil/contact/ContactsInformatiqueLibertes20140110.pdf">Contact Informatique Libertes</a></p>
</li>
</ul>
</div>
@ -350,62 +350,6 @@
<?php } elseif ($q=='development') {?>
<?php
$projets = array(
'batch' => array(
'desc' => "Batch d'intégration de données, et emplacement générique Framework et classe Métier",
),
'backoffice' => array(
'desc' => "Backoffice et Interface de sirennage",
),
'extranet' => array(
'desc' => "Extranet",
),
'getKbis' => array(
'desc' => "Passerelle Kbis",
),
'giant_serveur' => array(
'desc' => "Provider pour le service giant (a renommer)",
),
'ipari' => array(
'desc' => "Ipari",
),
'miniatures' => array(
'desc' => "Miniatures",
),
'scores-decisions.com' => array(
'desc' => "Site institutionnel",
),
'scripts' => array(
'desc' => "Liste de scripts utiles",
),
'sdciblage' => array(
'desc' => "Comptage et Extraction de fichier",
),
'sdfact' => array(
'desc' => "Facturation et consommation clients",
),
'sdsphinx' => array(
'desc' => "Installation, configuration en automatique du moteur de recherche SphinxSearch",
),
'sdsphinxweb' => array(
'desc' => "Interface web de test du moteur de recherche et API spécial S&D",
),
'sphinx_search' => array(
'desc' => "Ancien développement sur le moteur de recherche",
),
'webdeploy' => array(
'desc' => "Application Web de déploiement des projets",
),
'webservice' => array(
'desc' => "Webservice",
),
);
$refSvn = 'https://192.168.78.240/svn/';
$refGit = 'ssh://git@192.168.78.240:22';
?>
<div class="container">
<div class="panel panel-default">
@ -421,73 +365,25 @@ $refGit = 'ssh://git@192.168.78.240:22';
</div>
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Liste des projets</h3></div>
<div class="panel-heading"><h3 class="panel-title">Administratif</h3></div>
<div class="panel-body">
<span class="label label-success">Production</span>
<span class="label label-warning">Développement</span>
<span class="label label-danger">Experiment</span>
<code>
# Reseau S&D
172.18.8.5 gogs.sd.lan
172.18.8.6 pma.sd.lan
172.18.8.6 mantisbt.sd.lan
172.18.8.6 intranet.sd.lan
172.18.8.6 webservice.sd.lan
172.18.8.6 webservice-ng.sd.lan
172.18.8.6 extranet.sd.lan
172.18.8.6 extranet-ng.sd.lan
172.18.8.6 odea-ng.sd.lan
172.18.8.6 odea.sd.lan
172.18.8.6 enrichissement.sd.lan
</code>
</div>
<ul class="list-group">
<?php foreach($projets as $name => $lib) {?>
<li class="list-group-item">
<?php if ( array_key_exists('badge', $lib) && count($lib['badge'])>0 ) {?>
<?php foreach ( $lib['badge'] as $badge ) { ?>
<span class="label pull-right <?=$badge['class']?>"><?=$badge['label']?></span>
<?php }?>
<?php }?>
<h4><?=ucfirst($name)?><span class="label label-primary pull-right"><?=$refSvn?><?=$name?></span></h4>
<p><?=$lib['desc']?></p>
</li>
<?php }?>
</ul>
</div>
<?php
$projetV = array();
$projetB = array();
if ($handle = opendir('/home/vhosts/')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." ) {
list($projet, $version) = explode('-', $file);
if (array_key_exists($projet, $projets)){
if (empty($version)){
$projetV[] = $projet;
} else {
$projetB[$projet][] = $version;
}
}
}
}
closedir($handle);
}
sort($projetV);
ksort($projetB);
?>
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Version en cours (trunk)</h3></div>
<div class="panel-body">
Tronc commun pour le développement
</div>
<ul class="list-group">
<?php foreach($projetV as $projet) {?>
<li class="list-group-item"><a href="http://<?=$projet?>.sd.lan"><?=$projet?></a></li>
<?php }?>
</ul>
</div>
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Branches</h3></div>
<div class="panel-body">
Branches de dévéloppement
</div>
<ul class="list-group">
<?php foreach($projetB as $projet => $version) {?>
<?php foreach($version as $v) {?>
<li class="list-group-item"><a href="http://<?=$projet?>-<?=$v?>.sd.lan"><?=$projet?> - <?=$v?></a></li>
<?php }?>
<?php }?>
</ul>
</div>
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Administration</h3></div>