<commit_before>{% extends "ndf/mis_base_create_edit.html" %}
{% load i18n %}
{% load ndf_tags %}
{% load pagination_tags %}

{% block head %}
  {{block.super}}

  <!-- DataTables -->
  <script src="/static/ndf/bower_components/DataTables/media/js/jquery.dataTables.js"></script>
  <script src="/static/ndf/bower_components/datatables-plugins/integration/foundation/dataTables.foundation.js"></script>
  <!-- DataTables CSS -->
  <link href="/static/ndf/bower_components/datatables-plugins/integration/foundation/dataTables.foundation.css" rel="stylesheet" type="text/css" />
{% endblock %}

{% block style %}
  {{block.super}}

  /* Resetting css-properties for fieldset (also legend, input) */
    /* fieldset (padding-bottom) */ 
    fieldset {
      padding: 0rem 1.25rem !important;
    }

    /* legend (background-color) */
    fieldset legend {
      background-color: transparent !important;
    }

    /* input (margin) */
    fieldset input {
      margin: 0 !important;
    }

  /* Setting css-properties for reveal-modal's label */
    div.reveal-modal > label {
      color: white;
      font-weight: bold;
      font-size: 1rem;
    }

    #announce-course.hide{
      display: none;
    }

  /* DataTables css-properties */
    .selected {
      background-color: #D3D3D3 !important;
    }

    #lbl_displ {
      color: #0b8a91;
      font-weight: bold;
      font-size: 1rem;
    }
{% endblock %}

{% block body_content %} 
  <div id="alertModal" class="reveal-modal medium alert-box radius" data-reveal data-alert>
    <label id="alertModalLabel"></label>
    <a class="close-reveal-modal">&#215;</a>
  </div>

  <form data-abide enctype="multipart/form-data" id="form-edit-node" method="POST" action="">

    <header class="row" style="margin: 1rem 0 0 0 ;">
      <h2 class="small-12 columns">
        {% if node %}
        {% blocktrans with title_var=title node_name=node.name %} Editing {{title_var}}: {{node_name}} {% endblocktrans %}
        {% else %}
        {% trans title %}
        {% endif %}
      </h2>
    </header>

    <nav class="row" style="margin-top: 0.5rem;">
      <dl class="tabs small-12 columns" data-tab data-options="deep_linking:true">
        {% for tab_details in property_order_list %}
        <dd {% if forloop.counter == 1 %}class="active"{% endif %} title="STEP: Fill {{tab_details.0|lower}} details...">
          <a href="#panel_{{tab_details.0}}">
            {% blocktrans with tab_name=tab_details.0 %} {{tab_name}} {% endblocktrans %}
          </a>
        </dd>
        {% endfor %}
      </dl>
    </nav>

    {% csrf_token %}

    <div id="course-enrollment-edit-div" class="tabs-content" style="border-style: solid; border-width: 1.5px; border-color: #0eacb5; padding: 0px 5px;" >
      <div class="active content row" id="panel_{{property_order_list.0.0}}">
        {% if node %}
          <div class="row">
            <div class="small-2 columns">
              <label class="right inline"> 
                {% trans "Announced Course" %}
              </label>
            </div>
            <div class="small-3 columns end">
              <div style="padding-top: 8px;">
                {{for_acourse}}
              </div>
            </div>
          </div>

          <div class="row">
            <div class="small-2 columns">
              <label class="right inline"> 
                {% trans "College" %}
              </label>
            </div>
            <div class="small-3 columns">
              <div style="padding-top: 8px;">
                {{for_college}}
              </div>
            </div>

            <div class="small-2 columns">
              <label class="right inline"> 
                {% trans "University" %}
              </label>
            </div>
            <div class="small-3 columns end">
              <div style="padding-top: 8px;">
                {{for_university}}
              </div>
            </div>
          </div>

          <div class="row">
            <div class="small-2 columns">
              <label class="right inline">Enrollment Duration</label>
            </div>

            <div class="small-1 columns">
              <label for="{{property_order_list.0.1.1.name}}" class="right inline"> 
                {% trans "From" %}
              </label>
            </div>

            <div class="small-2 columns">
              {% html_widget groupid node.pk property_order_list.0.1.1 %}
            </div>

            <div class="small-1 columns">
              <label for="{{property_order_list.0.1.2.name}}" class="right inline"> 
                {% trans "To" %}
              </label><commit_msg>Editing FC sce, will now display all announced courses under that FC sce<commit_after>{% extends "ndf/mis_base_create_edit.html" %}
{% load i18n %}
{% load ndf_tags %}
{% load pagination_tags %}

{% block head %}
  {{block.super}}

  <!-- DataTables -->
  <script src="/static/ndf/bower_components/DataTables/media/js/jquery.dataTables.js"></script>
  <script src="/static/ndf/bower_components/datatables-plugins/integration/foundation/dataTables.foundation.js"></script>
  <!-- DataTables CSS -->
  <link href="/static/ndf/bower_components/datatables-plugins/integration/foundation/dataTables.foundation.css" rel="stylesheet" type="text/css" />
{% endblock %}

{% block style %}
  {{block.super}}

  /* Resetting css-properties for fieldset (also legend, input) */
    /* fieldset (padding-bottom) */ 
    fieldset {
      padding: 0rem 1.25rem !important;
    }

    /* legend (background-color) */
    fieldset legend {
      background-color: transparent !important;
    }

    /* input (margin) */
    fieldset input {
      margin: 0 !important;
    }

  /* Setting css-properties for reveal-modal's label */
    div.reveal-modal > label {
      color: white;
      font-weight: bold;
      font-size: 1rem;
    }

    #announce-course.hide{
      display: none;
    }

  /* DataTables css-properties */
    .selected {
      background-color: #D3D3D3 !important;
    }

    #lbl_displ {
      color: #0b8a91;
      font-weight: bold;
      font-size: 1rem;
    }
{% endblock %}

{% block body_content %} 
  <div id="alertModal" class="reveal-modal medium alert-box radius" data-reveal data-alert>
    <label id="alertModalLabel"></label>
    <a class="close-reveal-modal">&#215;</a>
  </div>

  <form data-abide enctype="multipart/form-data" id="form-edit-node" method="POST" action="">

    <header class="row" style="margin: 1rem 0 0 0 ;">
      <h2 class="small-12 columns">
        {% if node %}
        {% blocktrans with title_var=title node_name=node.name %} Editing {{title_var}}: {{node_name}} {% endblocktrans %}
        {% else %}
        {% trans title %}
        {% endif %}
      </h2>
    </header>

    <nav class="row" style="margin-top: 0.5rem;">
      <dl class="tabs small-12 columns" data-tab data-options="deep_linking:true">
        {% for tab_details in property_order_list %}
        <dd {% if forloop.counter == 1 %}class="active"{% endif %} title="STEP: Fill {{tab_details.0|lower}} details...">
          <a href="#panel_{{tab_details.0}}">
            {% blocktrans with tab_name=tab_details.0 %} {{tab_name}} {% endblocktrans %}
          </a>
        </dd>
        {% endfor %}
      </dl>
    </nav>

    {% csrf_token %}

    <div id="course-enrollment-edit-div" class="tabs-content" style="border-style: solid; border-width: 1.5px; border-color: #0eacb5; padding: 0px 5px;" >
      <div class="active content row" id="panel_{{property_order_list.0.0}}">
        {% if node %}
          <div class="row">
            <div class="small-2 columns">
              <label class="right inline"> 
                {% trans "Announced Course" %}
              </label>
            </div>
            <div class="small-3 columns end">
              <div style="padding-top: 8px;">
              {% for every_ac in for_acourse %}
                {{every_ac}} <br>
              {% endfor %}              
              </div>
            </div>
          </div>

          <div class="row">
            <div class="small-2 columns">
              <label class="right inline"> 
                {% trans "College" %}
              </label>
            </div>
            <div class="small-3 columns">
              <div style="padding-top: 8px;">
              {% for every_ac in for_college %}
                {{every_ac}}
              {% endfor %}              
              </div>
            </div>

            <div class="small-2 columns">
              <label class="right inline"> 
                {% trans "University" %}
              </label>
            </div>
            <div class="small-3 columns end">
              <div style="padding-top: 8px;">
              {% for every_ac in for_university %}
                {{every_ac}}
              {% endfor %}              
              </div>
            </div>
          </div>

          <div class="row">
            <div class="small-2 columns">
              <label class="right inline">Enrollment Duration</label>
            </div>

            <div class="small-1 columns">
              <label for="{{property_order_list.0.1.1.name}}" class="right inline"> 
                {% trans "From" %}
              </label>
            </div>

            <div class="small-2 columns">
              {% html_widget groupid node.pk property_order_list.0.1.1 %}
            </div>

            <div class="small-1 columns">
              <label for="{{property_order_list.0.1.2.name}}" class="right inline"> 
                {% trans "To" %}
              </label>
{'fraction_non_alphanumeric': 0.1579441201000834, 'fraction_numerical': 0.013552960800667223, 'mean_word_length': 1.907850863898151, 'pattern_counts': {'":': 0, '<': 144, '<?xml version=': 0, '>': 146, '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': '4827329', 'n_tokens_mistral': 3112, 'n_tokens_neox': 2833, 'n_words': 613}