<commit_before>
<lift:surround with="common-layout" at="content">

<head>
<title>Rudder - Directives Management</title>

<style type="text/css">

#versionTable thead tr {
    border: 1px solid #666 !important;
    padding: 0px;
    list-style: none inside none;
    font-weight: bold;
    background-color: #666;
    color: #FFF;
    font-size: 13px;
}

#versionTable thead tr th {
    padding: 3px;
    text-align: center;
}

#versionTable tbody tr {
    border: 1px solid #666 !important;
    padding: 4px 3px;
    margin: 0px;
    padding: 0px;
    list-style: none inside none;
    font-size: 12px;
}

#versionTable tbody tr td {
  text-align: center;
}

.filterIcon {
  margin-bottom:-3px;
}

#editForm {
  padding-bottom:70px;
}

</style>

</head>

<lift:configuration.DirectiveManagement.head />

<div class="col col-sm">
  <div class="page-title">Directive Library</div>
  <div id="activeTechniquesTree_actions_zone" style="margin:5px 0;">
    <img onclick="openAllNodes('#activeTechniquesTree');" src="/images/open-plus.png" alt="+" width="16" height="16" class="filterIcon"/>

    <img onclick="closeAllNodes('#activeTechniquesTree');" src="/images/close-minus.png" alt="-" width="16" height="16" class="filterIcon"/>

    <input style="width:100px;" id="treeSearch" type="text" placeholder="Filter" onkeydown="refuseEnter(event);" onkeyup="searchTree('#treeSearch', '#activeTechniquesTree');" class="tooltipable" title="" tooltipid="treeSearchTooltip"/>

    <span class="tooltipContent" id="treeSearchTooltip">Type at least three character to search element (name or description) in the tree.</span>

    <img onclick="clearSearchFieldTree('#treeSearch', '#activeTechniquesTree');" src="/images/close-cross.png" alt="x" width="16" height="16" class="filterIcon"/>

    <a style="float:right" href="/ncf-builder?path=/var/rudder/configuration-repository/ncf">
      <input style="padding:0.4em 0" type="button" value="Open Technique editor"/>
   </a>
 </div>

 <lift:configuration.DirectiveManagement.userLibrary />

</div>

<div class="col col-xl">

  <lift:configuration.DirectiveManagement.techniqueDetails>
    <div id="techniqueDetails" ng-app="techniqueDetails"   >
      <div class="page-title">Technique information</div>
      <div id="details">
        <div id="directiveIntro">
          The Directive <b class="directive">[Directive]</b> is based on following Technique:
        </div>
        <div>
        <h3><span id="techniqueName">[Technique name]</span></h3>
        </div>
        <br/>
        <fieldset class="deca">
          <legend>Description</legend>
          <span id="techniqueDescription">[technique.description]</span>
        </fieldset>            
        <div class="groupDiv">
          <fieldset class="deca">
            <legend>Characteristics</legend>
            <p id="techniqueLongDescription">[technique.longDescription]</p><commit_msg>Fixes #6029: Link to technique editor is not correct in directive page<commit_after>
<lift:surround with="common-layout" at="content">

<head>
<title>Rudder - Directives Management</title>

<style type="text/css">

#versionTable thead tr {
    border: 1px solid #666 !important;
    padding: 0px;
    list-style: none inside none;
    font-weight: bold;
    background-color: #666;
    color: #FFF;
    font-size: 13px;
}

#versionTable thead tr th {
    padding: 3px;
    text-align: center;
}

#versionTable tbody tr {
    border: 1px solid #666 !important;
    padding: 4px 3px;
    margin: 0px;
    padding: 0px;
    list-style: none inside none;
    font-size: 12px;
}

#versionTable tbody tr td {
  text-align: center;
}

.filterIcon {
  margin-bottom:-3px;
}

#editForm {
  padding-bottom:70px;
}

</style>

</head>

<lift:configuration.DirectiveManagement.head />

<div class="col col-sm">
  <div class="page-title">Directive Library</div>
  <div id="activeTechniquesTree_actions_zone" style="margin:5px 0;">
    <img onclick="openAllNodes('#activeTechniquesTree');" src="/images/open-plus.png" alt="+" width="16" height="16" class="filterIcon"/>

    <img onclick="closeAllNodes('#activeTechniquesTree');" src="/images/close-minus.png" alt="-" width="16" height="16" class="filterIcon"/>

    <input style="width:100px;" id="treeSearch" type="text" placeholder="Filter" onkeydown="refuseEnter(event);" onkeyup="searchTree('#treeSearch', '#activeTechniquesTree');" class="tooltipable" title="" tooltipid="treeSearchTooltip"/>

    <span class="tooltipContent" id="treeSearchTooltip">Type at least three character to search element (name or description) in the tree.</span>

    <img onclick="clearSearchFieldTree('#treeSearch', '#activeTechniquesTree');" src="/images/close-cross.png" alt="x" width="16" height="16" class="filterIcon"/>

    <a style="float:right" href="/secure/utilities/techniqueEditor">
      <input style="padding:0.4em 0" type="button" value="Open Technique editor"/>
   </a>
 </div>

 <lift:configuration.DirectiveManagement.userLibrary />

</div>

<div class="col col-xl">

  <lift:configuration.DirectiveManagement.techniqueDetails>
    <div id="techniqueDetails" ng-app="techniqueDetails"   >
      <div class="page-title">Technique information</div>
      <div id="details">
        <div id="directiveIntro">
          The Directive <b class="directive">[Directive]</b> is based on following Technique:
        </div>
        <div>
        <h3><span id="techniqueName">[Technique name]</span></h3>
        </div>
        <br/>
        <fieldset class="deca">
          <legend>Description</legend>
          <span id="techniqueDescription">[technique.description]</span>
        </fieldset>            
        <div class="groupDiv">
          <fieldset class="deca">
            <legend>Characteristics</legend>
            <p id="techniqueLongDescription">[technique.longDescription]</p>
{'fraction_non_alphanumeric': 0.15955983493810177, 'fraction_numerical': 0.016506189821182942, 'mean_word_length': 4.014655172413793, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 109, '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': '4673195', 'n_tokens_mistral': 1927, 'n_tokens_neox': 1820, 'n_words': 390}