<commit_before>
{% load admin_extras %}
<style>
select {
    width:85%; 
    overflow:hidden; 
    white-space:pre; 
    text-overflow:ellipsis;
    
}
option {
          border: solid 1px #DDDDDD; 
}
.loadinggif {
    background:url('http://www.hsi.com.hk/HSI-Net/pages/images/en/share/ajax-loader.gif') no-repeat right center;
</style>

    
	<form action="" method="post">
	{% csrf_token %} 
	<table >
	{% ifequal methodsOnly "False" %}
		<p>Data available from: {{startDate}} to: {{endDate}} </p>
	{% endifequal %}
	<p>Collection methods include:</p>
	{% assign done 0 %}
	{% assign done2 0 %}
	{% for featureAction in featureActions %}
		{% if not useDataset %}
			
			{% ifequal methodsOnly "True" %}
				{% if not lastMethod == featureAction.action.method   %}
					<th scope="col"  class="sortable column-resultid">method name</th>
					<th scope="col"  class="sortable column-resultid">description</th>
					<th scope="col"  class="sortable column-resultid">link</th>
					</tr>
					<tr class="row1">
				<td width="20%">{{ featureAction.action.method.methodname }} </td>
				<td width="60%" >{{featureAction.action.method.methoddescription}}</td>
				<td width="20%"><a target="_blank", href='{{featureAction.action.method.methodlink}}'> All Data For this Method </a></td>
				</tr>
				{% endif %}
				{% if not done == 1 %}
				<table >
					<th scope="col"  class="sortable column-resultid">start date</th>
					<th scope="col"  class="sortable column-resultid">description</th>
					<th scope="col"  class="sortable column-resultid">link</th>
					
					
				{% endif %}
				{% assign done 1 %}
				<tr class="row1">
				<td width="20%" >{{featureAction.action.begindatetime.date}}</td>
				<td width="60%" >{{featureAction.action.actiondescription}}</td>
				<td width="20%"><a target="_blank", href='{{featureAction.action.actionfilelink}}'> link </a></td></tr>
				
			
			{% else %}
                {% if not done2 == 1 %}
                                <br><a  target="_blank" href="{{prefixpath}}../graphfa/samplingfeature&#61;{{featureAction.samplingfeatureid.samplingfeatureid}}">view times series data for all methods in new page</a></br>
                {% endif %}
                {% assign done2 1 %}
				<table >
                {% assign done 0 %}
				{% for Result in resultList %}
					{% if featureAction.action.method.methodname == Result.featureactionid.action.method.methodname  %}
						{% if not done == 1 %}
                            
						
							 <p><a target="_blank", href="{{prefixpath}}../graphfa/featureaction&#61;{{Result.featureactionid.featureactionid}} ">{{featureAction.action.method.methodname}}</a></p>

					
					<tr ><th scope="col" class="section">Result Series</td>
					<th scope="col"  class="sortable column-resultid">id</th>
					<th scope="col"  class="sortable column-resultid">Variable</th>
					<th scope="col"  class="sortable column-resultid">Units</th>
					<th scope="col"  class="sortable column-resultid">Graph Data</th>
					<th scope="col"  class="sortable column-resultid">Annotate Data</th>
					<th scope="col"  class="sortable column-resultid">Processing Level</th></tr>
						{% endif %}
						{% assign donut 1 %}
						{% assign done 1 %}
						<tr class="row1">
								<td>{{ Result.feature_action }} </td>
									<td >{{Result.resultid}}</td>
									<td >{{Result.variableid.variablecode}}</td>
									<td >{{Result.unitsid}}</td>
									<td ><a target="_blank", href=" {{prefixpath}}../graphfa/samplingfeature&#61;{{Result.featureactionid.samplingfeatureid.samplingfeatureid}}/resultidu&#61;{{Result.resultid}}"> View Time Series </a></td>
									<td ><a target="_blank", href=" {{prefixpath}}../graphfa/samplingfeature&#61;{{Result.featureactionid.samplingfeatureid.samplingfeatureid}}/resultidu&#61;{{Result.resultid}}/popup=Anno/"> View Time Series </a></td>
									<td > {{Result.processing_level}}</td>
									</tr>
					{% endif %} 
				{% endfor %}
			 </table>	
		{% endifequal %}
	{% endif %}
</td></tr>
{% assign lastMethod featureAction.action.method %}
{% endfor %}
</table>


			<br>
			
			<br>
</form>
<commit_msg>UI tweak for map. Popup had an extra column.<commit_after>
{% load admin_extras %}
<style>
select {
    width:85%; 
    overflow:hidden; 
    white-space:pre; 
    text-overflow:ellipsis;
    
}
option {
          border: solid 1px #DDDDDD; 
}
.loadinggif {
    background:url('http://www.hsi.com.hk/HSI-Net/pages/images/en/share/ajax-loader.gif') no-repeat right center;
</style>

    
	<form action="" method="post">
	{% csrf_token %} 
	<table >
	{% ifequal methodsOnly "False" %}
		<p>Data available from: {{startDate}} to: {{endDate}} </p>
	{% endifequal %}
	<p>Collection methods include:</p>
	{% assign done 0 %}
	{% assign done2 0 %}
	{% for featureAction in featureActions %}
		{% if not useDataset %}
			
			{% ifequal methodsOnly "True" %}
				{% if not lastMethod == featureAction.action.method   %}
					<th scope="col"  class="sortable column-resultid">method name</th>
					<th scope="col"  class="sortable column-resultid">description</th>
					<th scope="col"  class="sortable column-resultid">link</th>
					</tr>
					<tr class="row1">
				<td width="20%">{{ featureAction.action.method.methodname }} </td>
				<td width="60%" >{{featureAction.action.method.methoddescription}}</td>
				<td width="20%"><a target="_blank", href='{{featureAction.action.method.methodlink}}'> All Data For this Method </a></td>
				</tr>
				{% endif %}
				{% if not done == 1 %}
				<table >
					<th scope="col"  class="sortable column-resultid">start date</th>
					<th scope="col"  class="sortable column-resultid">description</th>
					<th scope="col"  class="sortable column-resultid">link</th>
					
					
				{% endif %}
				{% assign done 1 %}
				<tr class="row1">
				<td width="20%" >{{featureAction.action.begindatetime.date}}</td>
				<td width="60%" >{{featureAction.action.actiondescription}}</td>
				<td width="20%"><a target="_blank", href='{{featureAction.action.actionfilelink}}'> link </a></td></tr>
				
			
			{% else %}
                {% if not done2 == 1 %}
                                <br><a  target="_blank" href="{{prefixpath}}../graphfa/samplingfeature&#61;{{featureAction.samplingfeatureid.samplingfeatureid}}">view times series data for all methods in new page</a></br>
                {% endif %}
                {% assign done2 1 %}
				<table >
                {% assign done 0 %}
				{% for Result in resultList %}
					{% if featureAction.action.method.methodname == Result.featureactionid.action.method.methodname  %}
						{% if not done == 1 %}
                            
						
							 <p><a target="_blank", href="{{prefixpath}}../graphfa/featureaction&#61;{{Result.featureactionid.featureactionid}} ">{{featureAction.action.method.methodname}}</a></p>

					
					<tr ><th scope="col" class="section">Result Series</td>
					<th scope="col"  class="sortable column-resultid">Variable</th>
					<th scope="col"  class="sortable column-resultid">Units</th>
					<th scope="col"  class="sortable column-resultid">Graph Data</th>
					<th scope="col"  class="sortable column-resultid">Annotate Data</th>
					<th scope="col"  class="sortable column-resultid">Processing Level</th></tr>
						{% endif %}
						{% assign donut 1 %}
						{% assign done 1 %}
						<tr class="row1">
									<td >{{Result.resultid}}</td>
									<td >{{Result.variableid.variablecode}}</td>
									<td >{{Result.unitsid}}</td>
									<td ><a target="_blank", href=" {{prefixpath}}../graphfa/samplingfeature&#61;{{Result.featureactionid.samplingfeatureid.samplingfeatureid}}/resultidu&#61;{{Result.resultid}}"> View Time Series </a></td>
									<td ><a target="_blank", href=" {{prefixpath}}../graphfa/samplingfeature&#61;{{Result.featureactionid.samplingfeatureid.samplingfeatureid}}/resultidu&#61;{{Result.resultid}}/popup=Anno/"> View Time Series </a></td>
									<td > {{Result.processing_level}}</td>
									</tr>
					{% endif %} 
				{% endfor %}
			 </table>	
		{% endifequal %}
	{% endif %}
</td></tr>
{% assign lastMethod featureAction.action.method %}
{% endfor %}
</table>


			<br>
			
			<br>
</form>

{'fraction_non_alphanumeric': 0.18670576735092864, 'fraction_numerical': 0.010508308895405669, 'mean_word_length': 3.098647971957937, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2398187', 'n_tokens_mistral': 3314, 'n_tokens_neox': 2548, 'n_words': 511}