mirror of https://github.com/CIRCL/lookyloo
26 lines
1.2 KiB
HTML
26 lines
1.2 KiB
HTML
<div>
|
|
<p>Event to push: {{event.info}}</p>
|
|
<p>Auto Publish: {{auto_publish}}</p>
|
|
<p>Default tags: {{', '.join(default_tags)}}</p>
|
|
<form role="form" action="{{ url_for('web_misp_push_view', tree_uuid=tree_uuid) }}" method=post enctype=multipart/form-data>
|
|
<div class="form-group row">
|
|
<label for="tags" class="col-sm-2 col-form-label">Available tags:</label>
|
|
<div class="col-sm-10">
|
|
<select class="form-control" name="tags" id="tags" multiple>
|
|
{% for tag in fav_tags %}
|
|
<option value="{{ tag.name }}">{{ tag.name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
{% if existing_event %}
|
|
<p>There is already an <a href="{{existing_event}}">event on your MISP instance</a> with this lookyloo capture.</p>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="checkbox" name="force_push" onchange="document.getElementById('btn-misp-push').disabled = !this.checked;"></input>
|
|
<label for="force_push" class="form-check-label">Tick this box if you want to push anyway</label>
|
|
</div>
|
|
{% endif %}
|
|
<button type="submit" class="btn btn-info" id="btn-misp-push" {% if existing_event %}disabled=true{% endif %}>Push to MISP</button>
|
|
</form>
|
|
</div>
|