Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/includes/take-new-snapshot.html
{% comment %} | {% comment %} | ||||
Copyright (C) 2019 The Software Heritage developers | Copyright (C) 2019 The Software Heritage developers | ||||
See the AUTHORS file at the top-level directory of this distribution | See the AUTHORS file at the top-level directory of this distribution | ||||
License: GNU Affero General Public License version 3, or any later version | License: GNU Affero General Public License version 3, or any later version | ||||
See top-level LICENSE file for more information | See top-level LICENSE file for more information | ||||
{% endcomment %} | {% endcomment %} | ||||
{% load static %} | {% load static %} | ||||
{% load swh_templatetags %} | {% load swh_templatetags %} | ||||
{% if snapshot_context and snapshot_context.visit_info and snapshot_context.visit_info.type|visit_type_savable %} | {% if snapshot_context and snapshot_context.visit_info and snapshot_context.visit_info.type|visit_type_savable %} | ||||
<!-- entry in the Actions menu --> | <!-- entry in the Actions menu --> | ||||
<div class="dropdown-submenu"> | <div class="dropdown-submenu"> | ||||
<button class="dropdown-item" type="button" tabindex="-1" data-toggle="modal" data-target="#swh-take-new-snapshot-modal"> | <button class="dropdown-item" type="button" tabindex="-1" data-toggle="modal" data-target="#swh-take-new-snapshot-modal"> | ||||
<i class="fa fa-camera fa-fw" aria-hidden="true"></i>Take a new snapshot | <i class="mdi mdi-camera mdi-fw" aria-hidden="true"></i>Take a new snapshot | ||||
</button> | </button> | ||||
</div> | </div> | ||||
<div class="modal fade" id="swh-take-new-snapshot-modal" tabindex="-1" role="dialog" aria-labelledby="swh-take-new-snapshot-modal-label" aria-hidden="true"> | <div class="modal fade" id="swh-take-new-snapshot-modal" tabindex="-1" role="dialog" aria-labelledby="swh-take-new-snapshot-modal-label" aria-hidden="true"> | ||||
<div class="modal-dialog"> | <div class="modal-dialog"> | ||||
<div class="modal-content"> | <div class="modal-content"> | ||||
<div class="modal-header"> | <div class="modal-header"> | ||||
<h6 class="modal-title" id="swh-take-new-snapshot-modal-label">Take a new snapshot of a software origin</h6> | <h6 class="modal-title" id="swh-take-new-snapshot-modal-label">Take a new snapshot of a software origin</h6> | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |