<commit_before><!-- Header -->
	<div ng:include="'/views/common/header.html'"></div>
<!-- End Header -->

<style>
	#tagForm {
		width:370px;
		overflow:hidden;
	}
</style>
<div class="tags-container">
	<h3>Liste des tags</h3> 
	<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#tagAdd">Ajouter</button>
	<table class="table table-bordered tag-list">
	  <thead>
	    <tr>
	      <th>Libelle</th>
	      <th class="action"></th>
	    </tr>
	  </thead>
	  <tbody>
	    <tr ng-repeat="tag in listTags">
	      <td>{{tag.libelle}}</td>
	      <td class="action">
	      	<a ng-click="preSupprimerTag(tag)" href class="btn btn-danger" data-toggle="modal" data-target="#tagDelete"><span class="glyphicon glyphicon-remove"></span></a>
	      	<a ng-click="preModifierTag(tag)" href class="btn btn-primary"  data-toggle="modal" data-target="#tagEdit"><span class="glyphicon glyphicon-edit"></span></a>
	      </td>
	    </tr>
	  </tbody>
	</table>
</div>



  <style>
  	.tags-container{
  		width:600px;
  		
  	}
  	.tags-container h3{
  		float:left;
  		margin-top:0;
  	}
  	.tags-container button{
  		float:right;
  	}
  	.tag-list{
  		width:600px;
  	}
  	.tag-list .ids{
  		width:235px;
  	}
  	.tag-list .action{
  		width:100px;
  	}
  </style>

<!-- debut modal Add -->
<div class="modal fade" id="tagAdd" tabindex="-1" role="dialog" aria-labelledby="tagAddLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="tagAddlLabel">Ajout des tags</h4>
      </div>
      <div class="modal-body">
        <form id="tagAddForm" name="tagAddForm">
		  <div class="form-group" ng-class="{'has-error': tagAddForm.libelle.$invalid}">
		    <label for="tagLibelle">Libelle</label>
		    <input id ="tagLibelle" class="form-control" name="libelle" placeholder="Libelle" type="text" required ng-model="tag.libelle" />
		  </div>
		</form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
        <button type="button" class="btn btn-primary" data-dismiss="modal" ng-disabled="!tagAddForm.$valid" ng-click="ajouterTag()">Valider</button>
      </div>
    </div>
  </div>
</div>
<!-- fin modal Add -->

<!-- debut modal Edition -->
<div class="modal fade" id="tagEdit" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel">Edition des tags</h4>
      </div>
      <div class="modal-body">
        <form id="tagEditForm" name="tagEditForm">
		  <div class="form-group" ng-class="{'has-error': tagEditForm.libelle.$invalid}">
		    <label for="tagLibelle">Libelle</label>
		    <input id ="tagLibelle" class="form-control" name="libelle" type="text" required ng-model="fiche.libelle" />
		  </div>
		</form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="afficherTags()">Annuler</button>
        <button type="button" class="btn btn-primary" data-dismiss="modal" ng-disabled="!tagEditForm.$valid" ng-click="modifierTag()">Valider</button>
      </div>
    </div>
  </div>
</div>
<!-- fin modal Edition -->

<!-- debut modal Delete -->
<div class="modal fade" id="tagDelete" tabindex="-1" role="dialog" aria-labelledby="tagDeleteLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="tagDeletelLabel">Suppression d'un tags</h4>
      </div>
      <div class="modal-body">
			Voulez-vous supprimer ce tag ?
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
        <button type="button" class="btn btn-primary" data-dismiss="modal" ng-click="supprimerTag()">Confirmer</button>
      </div>
    </div>
  </div>
</div>
<!-- fin modal Delete -->

<!-- Footer -->
	<div ng:include="'/views/common/footer.html'"></div>
<!-- End Footer --><commit_msg>Modification charte graphique "Gestion des tags"<commit_after><h1 id='titreCompte' class='animated fadeInLeft' >TAGS</h1>
<div class="tags-container">

  <div class="head_section">
    <button type="button" class="add_profile grey_btn pull-right" data-toggle="modal" data-target="#tagAdd" >Ajouter un Tag</button>
  </div>
	<table class="table table-bordered tag-list">
	  <thead>
	    <tr>
	      <th>Libelle</th>
	      <th class="action"></th>
	    </tr>
	  </thead>
	  <tbody>
	    <tr ng-repeat="tag in listTags">
	      <td>{{tag.libelle}}</td>
	      <td class="action">
	      	<a ng-click="preSupprimerTag(tag)" href class="btn btn-danger" data-toggle="modal" data-target="#tagDelete"><span class="glyphicon glyphicon-remove"></span></a>
	      	<a ng-click="preModifierTag(tag)" href class="btn btn-primary"  data-toggle="modal" data-target="#tagEdit"><span class="glyphicon glyphicon-edit"></span></a>
	      </td>
	    </tr>
	  </tbody>
	</table>
</div>

<!-- debut modal Add -->
<div class="modal fade" id="tagAdd" tabindex="-1" role="dialog" aria-labelledby="tagAddLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="tagAddlLabel">Ajout des tags</h4>
      </div>
      <div class="modal-body">
        <form id="tagAddForm" name="tagAddForm">
		  <div class="form-group" ng-class="{'has-error': tagAddForm.libelle.$invalid}">
		    <label for="tagLibelle">Libelle</label>
		    <input id ="tagLibelle" class="form-control" name="libelle" placeholder="Libelle" type="text" required ng-model="tag.libelle" />
		  </div>
		</form>
      </div>
      <div class="modal-footer">
        <button type="button" class="reset_btn" data-dismiss="modal">Annuler</button>
        <button type="button" class="grey_btn normal_padding" data-dismiss="modal" ng-disabled="!tagAddForm.$valid" ng-click="ajouterTag()">Valider</button>
      </div>
    </div>
  </div>
</div>
<!-- fin modal Add -->

<!-- debut modal Edition -->
<div class="modal fade" id="tagEdit" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel">Edition des tags</h4>
      </div>
      <div class="modal-body">
        <form id="tagEditForm" name="tagEditForm">
		  <div class="form-group" ng-class="{'has-error': tagEditForm.libelle.$invalid}">
		    <label for="tagLibelle">Libelle</label>
		    <input id ="tagLibelle" class="form-control" name="libelle" type="text" required ng-model="fiche.libelle" />
		  </div>
		</form>
      </div>
      <div class="modal-footer">
        <button type="button" class="reset_btn" data-dismiss="modal" ng-click="afficherTags()">Annuler</button>
        <button type="button" class="grey_btn normal_padding" data-dismiss="modal" ng-disabled="!tagEditForm.$valid" ng-click="modifierTag()">Valider</button>
      </div>
    </div>
  </div>
</div>
<!-- fin modal Edition -->

<!-- debut modal Delete -->
<div class="modal fade" id="tagDelete" tabindex="-1" role="dialog" aria-labelledby="tagDeleteLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="tagDeletelLabel">Suppression d'un Tag</h4>
      </div>
      <div class="modal-body">
			Voulez-vous supprimer ce tag ?
      </div>
      <div class="modal-footer">
        <button type="button" class="reset_btn" data-dismiss="modal">Annuler</button>
        <button type="button" class="grey_btn normal_padding" data-dismiss="modal" ng-click="supprimerTag()">Confirmer</button>
      </div>
    </div>
  </div>
</div>
<!-- fin modal Delete -->

<!-- Footer -->
	<div ng:include="'/views/common/footer.html'"></div>
<!-- End Footer -->
{'fraction_non_alphanumeric': 0.19937730627306274, 'fraction_numerical': 0.004497232472324723, 'mean_word_length': 3.637967914438503, 'pattern_counts': {'":': 0, '<': 245, '<?xml version=': 0, '>': 245, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4295148', 'n_tokens_mistral': 3036, 'n_tokens_neox': 2892, 'n_words': 555}