2017-07-23 19:56:51 +02:00
{% extends "main.html" %}
2022-01-14 15:58:06 +01:00
{% from 'bootstrap5/utils.html' import render_messages %}
2020-11-03 16:32:04 +01:00
{% block title %}Capture{% endblock %}
2017-07-23 19:56:51 +02:00
2021-01-18 13:03:10 +01:00
{% block card %}
< meta property = "og:title" content = "Lookyloo" / >
< meta property = "og:type" content = "website" / >
< meta
property="og:description"
content="Lookyloo captures websites and let you investigate them."
/>
< meta
property="og:image"
2021-01-18 16:57:27 +01:00
content="https://{{public_domain}}{{ url_for('static', filename='lookyloo.jpeg') }}"
2021-01-18 13:03:10 +01:00
/>
< meta
property="og:url"
2021-01-18 16:57:27 +01:00
content="https://{{public_domain}}"
2021-01-18 13:03:10 +01:00
/>
< meta name = "twitter:card" content = "summary_large_image" >
{% endblock %}
2024-06-25 11:37:19 +02:00
{% block styles %}
{{ super() }}
< link rel = "stylesheet" href = "{{ url_for('static', filename='index.css') }}"
{{get_sri('static', 'index.css')}}
crossorigin="anonymous">
{% endblock %}
2017-07-23 19:56:51 +02:00
{% block content %}
2024-06-25 11:37:19 +02:00
< div class = "corner-ribbon top-left sticky white shadow" >
< a href = "https://www.lookyloo.eu/docs/main/index.html" > Documentation< / a >
< / div >
< div class = "corner-ribbon bottom-left sticky white shadow" >
< a href = "https://github.com/Lookyloo/lookyloo/releases/tag/v{{version}}" > Changelog< / br > (v{{version}})< / a >
< / div >
{% if show_project_page %}
< div class = "corner-ribbon top-right sticky white shadow" >
< a href = "https://github.com/Lookyloo" > Project page< / a >
< / div >
{% endif%}
2017-07-23 19:56:51 +02:00
< div class = "container" >
2024-05-13 11:33:15 +02:00
< center >
2020-11-03 17:16:37 +01:00
< a href = "{{ url_for('index') }}" title = "Go back to index" >
< img src = "{{ url_for('static', filename='lookyloo.jpeg') }}"
2022-03-31 16:21:00 +02:00
alt="Lookyloo" width="25%">
2020-11-03 17:16:37 +01:00
< / a >
2024-05-13 11:33:15 +02:00
< / center >
2021-04-08 19:15:53 +02:00
{{ render_messages(container=True, dismissible=True) }}
2024-06-17 19:04:08 +02:00
{% if current_user.is_authenticated %}
< p class = "lead" > You are logged-in as < strong > {{ current_user.id }}< / strong >
< / br >
{% if user_config %}
{% if user_config['overwrite'] == true %}
The settings in your users configuration file will overwrite the settings you configure in the form below.
{% else %}
The settings in your users configuration file will only be used if you don't overwrite them in the form below.
{% endif %}
< p >
< dl class = "row" >
{% for key, value in user_config.items() %}
{% if key != 'overwrite' %}
< dt class = "col-sm-3" > {{ key }}< / dt >
< dd class = "col-sm-9" >
{% if value is mapping %}
< dl class = "row" >
{% for sub_key, sub_value in value.items() %}
< dt class = "col-sm-4" > {{ sub_key}}< / dt >
< dd class = "col-sm-8" > {{ sub_value }}< / dd >
{% endfor %}
< / dl >
{% else %}
{{ value }}
{% endif %}
< dd >
{% endif %}
{% endfor %}
< dl >
{% endif %}
{% endif %}
2020-11-03 16:32:04 +01:00
< form role = "form" action = "{{ url_for('capture_web') }}" method = post enctype = multipart/form-data >
2022-01-14 15:58:06 +01:00
< div class = "row mb-3" >
2020-05-22 17:36:22 +02:00
< div class = "col-sm-10" >
< div class = "form-check" >
2024-05-13 11:33:15 +02:00
< input class = "form-check-input" type = "checkbox" id = "listing" name = "listing" { % if default_public % } checked = "checked" { % endif % } >
2020-05-22 17:36:22 +02:00
< label for = "listing" class = "form-check-label" > Display results on public page< / label >
< / div >
< / div >
< / div >
2022-03-31 00:48:58 +02:00
2022-08-22 17:34:00 +02:00
<!-- Submission type -->
2022-08-04 16:58:07 +02:00
< nav >
< div class = "nav nav-tabs" id = "submission-type" role = "tablist" >
< button class = "nav-link active" id = "nav-url-tab" data-bs-toggle = "tab" data-bs-target = "#nav-url" type = "button" role = "tab" aria-current = "nav-url" aria-selected = "true" href = "#" > URL(s)< / button >
2022-08-04 17:15:21 +02:00
< button class = "nav-link" id = "nav-doc-tab" data-bs-toggle = "tab" data-bs-target = "#nav-doc" type = "button" role = "tab" aria-current = "nav-doc" aria-selected = "false" href = "#" > Web enabled document< / button >
2022-08-04 16:58:07 +02:00
< / div >
< / nav >
< div class = "tab-content" id = "nav-tabContent" >
2024-05-13 11:33:15 +02:00
< br >
2022-08-04 16:58:07 +02:00
< div class = "tab-pane fade show active" id = "nav-url" role = "tabpanel" aria-labelledby = "nav-url-tab" >
< div class = "row input-group mb-3" >
2024-05-14 11:13:46 +02:00
< label for = "url" class = "col-sm-1 col-form-label" > URL:< / label >
2022-08-04 16:58:07 +02:00
< input type = "text" class = "form-control col-auto" name = "url" id = singleCaptureField
2022-09-27 11:33:36 +02:00
placeholder="URL to capture" value="{{predefined_url_to_capture}}" required>
2022-08-04 16:58:07 +02:00
< textarea class = "form-control col-auto d-none" placeholder = "URLs to capture, one per line"
name="urls" id=multipleCapturesField>< / textarea >
2024-05-13 11:33:15 +02:00
< div class = "col-sm-2 input-group-text" >
2022-08-04 16:58:07 +02:00
< div class = "form-check" >
< input class = "form-check-input" name = "multipleCaptures" id = "multipleCaptures" type = "checkbox"
value="" aria-label="tick to enable multiple captures">
< label for = "multipleCaptures" class = "form-check-label" > Multiple captures< / label >
< / div >
2024-05-13 11:33:15 +02:00
< / div >
2022-03-31 00:48:58 +02:00
< / div >
2022-08-04 16:58:07 +02:00
< / div >
< div class = "tab-pane fade" id = "nav-doc" role = "tabpanel" aria-labelledby = "nav-doc-tab" >
< div class = "row mb-3" >
< label for = "document" class = "col-sm-1 col-form-label" > Document:< / label >
< div class = "col-sm-10" >
< input type = "file" class = "form-control-file" id = "document" name = "document" >
< div > Instead of a URL, you can upload a file. Preferably an HTML document, but it can be anything supported by a browser.< / div >
< / div >
< / div >
< / div >
2021-10-26 19:31:42 +02:00
< / div >
2022-11-21 15:02:12 +01:00
< hr >
2022-08-22 17:34:00 +02:00
<!-- End of Submission type -->
2019-06-27 17:47:21 +02:00
2022-03-30 12:32:20 +02:00
< div >
< button class = "btn btn-link" type = "button" data-bs-toggle = "collapse" data-bs-target = "#collapseConfigBrowser"
2024-05-15 12:27:05 +02:00
aria-expanded="false" aria-controls="collapseConfigBrowser">
< p style = "margin-left: -12px; margin-top: 12px; font-size: x-large; color: black; text-decoration: underline; text-decoration-color: blue;" >
< b > Browser Configuration< / b >
< / p >
2022-03-30 12:32:20 +02:00
< / button >
< div class = "help-tip" title = "Lookyloo uses an emulated browser for all captures, click to configure the User-Agent" > < / div >
< / div >
2024-05-14 11:13:46 +02:00
< div id = "collapseConfigBrowser" class = "collapse show" >
2022-03-30 12:32:20 +02:00
< div class = "card card-body" >
{% if personal_ua %}
< div class = "row mb-3" >
< div class = "col-sm-10" >
< div class = "form-check" >
2024-05-13 11:33:15 +02:00
< input class = "form-check-input" type = "radio" id = "personal_ua_select" name = "user_agent_select" >
2022-08-17 21:37:53 +02:00
< label for = "personal_ua_select" class = "form-check-label" >
2024-05-13 11:33:15 +02:00
Use the current < a href = "https://en.wikipedia.org/wiki/User_agent" > user-agent< / a > of your own browser:< br >
2022-03-30 12:32:20 +02:00
{{ personal_ua }}
< / label >
2024-05-13 11:33:15 +02:00
< input class = "visually-hidden" type = "text" id = "personal_ua" name = "personal_ua" value = "{{ personal_ua }}" disabled >
2022-03-30 12:32:20 +02:00
< / div >
2020-12-10 17:23:37 +01:00
< / div >
< / div >
2022-11-21 15:02:12 +01:00
< hr >
2022-03-30 12:32:20 +02:00
{% endif %}
2020-12-10 17:23:37 +01:00
2022-08-17 21:37:53 +02:00
< div class = "row mb-3" >
< div class = "col-sm-10" >
< div class = "form-check" >
2024-05-13 11:33:15 +02:00
< input class = "form-check-input" type = "radio" id = "predefined_ua_select" name = "user_agent_select" checked >
2022-08-17 21:37:53 +02:00
< label for = "predefined_ua_select" class = "form-check-label" > Pick the < a href = "https://en.wikipedia.org/wiki/User_agent" > user-agent< / a > of your choice:< / label >
< / div >
< / div >
< / div >
2022-08-19 14:26:18 +02:00
< div id = "prefed_selector" >
< div class = "row mb-3" >
2022-08-22 17:34:00 +02:00
< label for = "os-type" class = "col-sm-2 col-form-label" > OS type:< / label >
2022-08-19 14:26:18 +02:00
< div class = "col-sm-10" >
2022-12-02 09:57:03 +01:00
< select class = "form-select" name = "os-type" id = "os-type" autocomplete = "off" >
< option value = "desktop" selected > Desktop< / option >
2022-08-22 17:34:00 +02:00
< option value = "mobile" > Mobile< / option >
2022-08-19 14:26:18 +02:00
< / select >
< / div >
2022-03-30 12:32:20 +02:00
< / div >
2019-06-28 11:59:34 +02:00
2022-08-22 17:34:00 +02:00
<!-- Desktops -->
< div id = "desktops-list" >
< div class = "row mb-3" >
< label for = "os" class = "col-sm-2 col-form-label" > Operating System:< / label >
< div class = "col-sm-10" >
< select class = "form-select" name = "os" id = "os" >
2022-08-23 17:44:48 +02:00
{% for os in user_agents.keys()|sort(reverse=True) %}
2022-08-22 17:34:00 +02:00
<!-- Select the default os -->
< option value = "{{ os }}" { % if os = =default['os'] % } selected { % endif % } > {{ os }}< / option >
{% endfor%}
< / select >
< / div >
< / div >
{% for os, browsers in user_agents.items() %}
2022-08-19 14:26:18 +02:00
<!-- Hide the browsers that aren't part of the default os -->
2024-05-14 12:21:31 +02:00
< div id = "{{os.replace(' ', '_')}}" class = "style-sub-1" { % if not os = =default['os'] % } style = "display: none;" { % endif % } >
2024-05-15 12:27:05 +02:00
< label class = "row mb-3" >
< span class = "col-sm-2 col-form-label" > Browser Type:< / span >
< span class = "col-sm-10" >
<!-- Disable all the selects not related to the default os -->
< select class = "form-select" name = "browser" { % if not os = =default['os'] % } disabled { % endif % } >
{% for browser in browsers.keys()|sort(reverse=True) %}
<!-- Select the default browser -->
< option value = "{{ browser }}" { % if browser = =default['browser'] % } selected { % endif % } > {{ browser }}< / option >
{% endfor%}
< / select >
< / span >
< / label >
2022-08-19 14:26:18 +02:00
< / div >
2022-08-23 17:44:48 +02:00
{% for browser, user_agents in browsers.items() %}
2022-08-19 14:26:18 +02:00
<!-- Hide the user agents that aren't part of the default OS and browsers that aren't part of the default os -->
2024-05-14 12:21:31 +02:00
< div id = "{{os.replace(' ', '_')}}_{{browser.replace(' ', '_')}}" class = "style-sub-2" { % if not os = =default['os'] or not browser = =default['browser']%} style = "display: none;" { % endif % } >
< label class = "row mb-3" >
2024-05-15 12:27:05 +02:00
< span class = "col-sm-2 col-form-label" > User-Agent:< / span >
< span class = "col-sm-10" >
<!-- Disable all the selects, unless it is in default os and browser -->
< select class = "form-select" name = "user_agent" { % if not os = =default['os'] or not browser = =default['browser'] % } disabled { % endif % } >
{% for user_agent in user_agents %}
<!-- Select the default ua -->
< option value = "{{ user_agent }}" { % if user_agent = =default['useragent'] % } selected { % endif % } > {{ user_agent }}< / option >
{% endfor%}
< / select >
< / span >
2024-05-14 12:21:31 +02:00
< / label >
2022-08-19 14:26:18 +02:00
< / div >
2019-03-29 20:11:44 +01:00
{% endfor%}
2022-08-22 17:34:00 +02:00
{% endfor%}
< / div >
2022-08-17 21:37:53 +02:00
< / div >
2022-08-22 17:34:00 +02:00
<!-- End of Desktops -->
<!-- Mobiles -->
< div id = "mobiles-list" style = "display:none" >
< div class = "row mb-3" >
2024-05-13 11:33:15 +02:00
< label for = "device-name-mobile" class = "col-sm-2 col-form-label" > Device name:< / label >
2022-08-22 17:34:00 +02:00
< div class = "col-sm-10" >
< select class = "form-select" name = "device_name" id = "device-name-mobile" disabled >
{% for device_name in devices['mobile']['default'].keys() %}
< option value = "{{ device_name }}" > {{ device_name }}< / option >
{%endfor%}
< / select >
< / div >
< / div >
< / div >
<!-- End of Mobiles -->
2022-11-21 15:02:12 +01:00
< hr >
2022-08-17 21:37:53 +02:00
< div class = "row mb-3" >
< div class = "col-sm-10" >
< div class = "form-check" >
2024-05-13 11:33:15 +02:00
< input class = "form-check-input" type = "radio" id = "freetext_ua_select" name = "user_agent_select" >
2022-08-17 21:37:53 +02:00
< label for = "freetext_ua_select" class = "form-check-label" > Type the < a href = "https://en.wikipedia.org/wiki/User_agent" > user-agent< / a > of your choice:< / label >
< / div >
< / div >
< / div >
2022-03-30 12:32:20 +02:00
< div class = "row mb-3" >
< label for = "freetext_ua" class = "col-sm-2 col-form-label" > User-Agent:< / label >
< div class = "col-sm-10" >
< input type = "text" class = "form-control" name = "freetext_ua" id = "freetext_ua"
2022-08-17 21:37:53 +02:00
placeholder="String to use as a User-Agent for the capture" disabled>
2022-03-30 12:32:20 +02:00
< / div >
2021-11-26 01:36:01 +01:00
< / div >
< / div >
< / div >
2022-03-30 12:32:20 +02:00
2022-11-21 15:02:12 +01:00
< hr >
2022-03-30 12:32:20 +02:00
2021-11-26 01:36:01 +01:00
< div >
2022-01-14 15:58:06 +01:00
< button class = "btn btn-link" type = "button" data-bs-toggle = "collapse" data-bs-target = "#collapseConfigCapture" aria-expanded = "false" aria-controls = "collapseConfigCapture" >
2024-05-15 12:27:05 +02:00
< p style = "margin-left: -12px; margin-top: 12px; font-size: x-large; color: black; text-decoration: underline; text-decoration-color: blue;" >
< b > Capture Configuration< / b >
< / p >
2021-11-26 01:36:01 +01:00
< / button >
< div class = "help-tip" title = "Edit configuration options for the capture." > < / div >
< / div >
< div id = "collapseConfigCapture" class = "collapse" >
< div class = "card card-body" >
2024-03-19 19:21:41 +01:00
< div class = "row mb-3" >
< label for = "allow_tracking" class = "col-sm-2 col-form-check-label" > Allow tracking:< / label >
< div class = "col-sm-10" >
< div class = "form-check" >
2024-05-13 11:33:15 +02:00
< input class = "form-check-input" type = "checkbox" id = "allow_tracking" name = "allow_tracking" aria-describedby = "allow_tracking_help" >
2024-03-19 19:21:41 +01:00
< div id = "allow_tracking_help" class = "form-text" > We'll attempt to click on the button allowing the website captured to violate your privacy.< / div >
< / div >
< / div >
< / div >
2022-08-19 14:26:18 +02:00
<!-- Referer -->
2022-01-14 15:58:06 +01:00
< div class = "row mb-3" >
2022-08-03 12:07:41 +02:00
< label for = "referer" class = "col-sm-2 col-form-label" > < a href = "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer" > Referer< / a > :< / label >
2021-11-26 01:36:01 +01:00
< div class = "col-sm-10" >
< input type = "text" class = "form-control" name = "referer" id = referer placeholder = "Pass referer of the URL" >
< / div >
< / div >
2022-08-03 12:07:41 +02:00
< div class = "row mb-3" >
< label for = "dnt" class = "col-sm-2 col-form-label" > < a href = "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT" > Do not Track< / a > :< / label >
< div class = "col-sm-10" >
< select class = "form-select" name = "dnt" id = "dnt" aria-label = "Select a value for the Do Not Track HTTP Header" >
2024-05-13 11:33:15 +02:00
< option value = "" selected > Select a value for the DNT header (header not set otherwise)< / option >
2022-08-03 12:07:41 +02:00
< option value = "0" > 0 (The user prefers to allow tracking on the target site.)< / option >
< option value = "1" > 1 (The user prefers not to be tracked on the target site.)< / option >
< option value = "null" > null (The user has not specified a preference about tracking.)< / option >
< / select >
< / div >
< / div >
2022-01-14 15:58:06 +01:00
< div class = "row mb-3" >
2021-11-26 01:36:01 +01:00
< label for = "headers" class = "col-sm-2 col-form-label" > Other HTTP headers:< / label >
< div class = "col-sm-10" >
< textarea class = "form-control" name = "headers" id = headers rows = 3 placeholder = "Accept-Language: en-US;q=0.5, fr-FR;q=0.4" > < / textarea >
< / div >
< / div >
2023-06-07 15:05:40 +02:00
< div class = "row mb-3" >
{% set local_TZ, local_UTC_offset, all_timezones = tz_info() %}
< label for = "timezone_id" class = "col-sm-2 col-form-label" > Timezone (defaults to {{local_TZ}} - {{local_UTC_offset}}):< / label >
< div class = "col-sm-10" >
< input class = "form-control" list = "tzOptions" name = "timezone_id" id = "timezone_id" aria-label = "Pick the timezone for the capture" >
< datalist id = "tzOptions" >
{% for tz in all_timezones %}
< option value = "{{tz}}" > {{tz}}< / option >
{%endfor%}
< / datalist >
< / div >
< / div >
< div class = "row mb-3" >
< label for = "locale" class = "col-sm-2 col-form-label" > Locale:< / label >
< div class = "col-sm-10" >
< input type = "text" class = "form-control" name = "locale" id = "locale" placeholder = "Pass a language locale to the capture" >
< / div >
< / div >
< div class = "row mb-3" >
< label for = "color_scheme" class = "col-sm-2 col-form-label" > Color scheme:< / label >
< div class = "col-sm-10" >
< select class = "form-select" id = "color_scheme" name = "color_scheme" aria-label = "Select a prefered color scheme" >
2023-06-07 15:15:03 +02:00
< option value = "" selected > Select a color scheme< / option >
2023-06-07 15:05:40 +02:00
< option value = "light" > Light< / option >
< option value = "dark" > Dark< / option >
< option value = "no-preference" > No preference< / option >
< / select >
< / div >
< / div >
< div class = "row mb-3" >
< label for = "geoloc" class = "col-sm-2 col-form-label" > Geolocation:< / label >
< div class = "col-sm-10" id = "geoloc" >
< div class = "row g-3" >
< div class = "col" >
2023-06-12 15:46:43 +02:00
< input type = "number" step = "any" class = "form-control" name = "geo_latitude" id = "geo_latitude" placeholder = "Latitude" >
2023-06-07 15:05:40 +02:00
< / div >
< div class = "col" >
2023-06-12 15:46:43 +02:00
< input type = "number" step = "any" class = "form-control" name = "geo_longitude" id = "geo_longitude" placeholder = "Longitude" >
2023-06-07 15:05:40 +02:00
< / div >
< / div >
< / div >
< / div >
2023-06-13 11:53:27 +02:00
{% if not has_global_proxy %}
2022-01-14 15:58:06 +01:00
< div class = "row mb-3" >
2021-11-26 01:36:01 +01:00
< label for = "proxy" class = "col-sm-2 col-form-label" > Proxy:< / label >
< div class = "col-sm-10" >
< input type = "text" class = "form-control" name = "proxy" id = "proxy" placeholder = "Expected format: [scheme]://[username]:[password]@[hostname]:[port]" >
< / div >
< / div >
2023-06-13 11:53:27 +02:00
{%endif%}
2021-11-26 01:36:01 +01:00
2023-06-07 15:05:40 +02:00
< div class = "row mb-3" >
< label for = "httpauth" class = "col-sm-2 col-form-label" > HTTP Authentication< / label >
< div class = "col-sm-10" id = "httpauth" >
< div class = "row g-3" >
< div class = "col" >
< input type = "text" class = "form-control" name = "http_auth_username" id = "http_auth_username" placeholder = "Username" >
< / div >
< div class = "col" >
< input type = "text" class = "form-control" name = "http_auth_password" id = "http_auth_password" placeholder = "Password" >
< / div >
< / div >
< div class = "alert alert-danger" role = "alert" >
The authentication credentials will be stored on the lookyloo instance and potentially
accessed by third parties (either because the Lookyloo instance is public,
or people other than you have access to the instance).
If that's the case, please make sure none of them can be used to login as yourself
on websites.
< / div >
< / div >
< / div >
2022-01-14 15:58:06 +01:00
< div class = "row mb-3" >
2022-08-03 12:07:41 +02:00
< label for = "cookies" class = "col-sm-2 col-form-label" > Cookies:< / label >
< div class = "col-sm-10" >
2021-11-26 01:36:01 +01:00
< input type = "file" class = "form-control-file" id = "cookies" name = "cookies" >
2022-08-03 12:07:41 +02:00
< div > The file can either be the JSON export from the Firefox plugin < a href = "https://addons.mozilla.org/en-US/firefox/addon/cookie-quick-manager/" > Cookie Quick Manager< / a > < b > or< / b > from an other Lookyloo capture.< / div >
< div class = "alert alert-danger" role = "alert" >
The cookies will be stored on the lookyloo instance and potentially
accessed by third parties (either because the Lookyloo instance is public,
or people other than you have access to the instance).
If that's the case, please make sure none of them can be used to login as yourself
on websites.
< / div >
2021-11-26 01:36:01 +01:00
< / div >
< / div >
< / div >
2021-10-26 19:31:42 +02:00
< / div >
2021-11-26 01:36:01 +01:00
2022-11-21 15:02:12 +01:00
< hr >
2021-11-26 01:36:01 +01:00
2024-05-08 16:00:43 +02:00
{% if current_user.is_authenticated %}
2024-05-15 12:27:05 +02:00
<!-- admin only checkbox for autoreport -->
< div >
< div class = "form-check" >
< input class = "form-check-input" type = "checkbox" id = "auto-report" name = "auto-report" >
< label for = "auto-report" class = "form-check-label" > Automatically submit to investigation team< / label >
< / div >
< div id = "collapseMailConfiguration" class = "collapse" >
< div class = "card card-body" >
< div class = "row mb-3" >
< label class = "col-sm-3 col-form-label" for = "email" > Email of the sender (optional): < / label >
< div class = "col-sm-9" >
< input class = "form-control" type = "text" id = "email"
name="email" placeholder="myself@example.com">
< / div >
< / div >
< div class = "row mb-3" >
< label class = "col-sm-3 col-form-label" for = "recipient-mail" >
Email of the recipient (optional): < / label >
< div class = "col-sm-9" >
< input class = "form-control" type = "text" id = "recipient-mail"
name="recipient-mail" placeholder="to-someone@example.com">
2024-05-08 16:00:43 +02:00
< / div >
2024-05-15 12:27:05 +02:00
< / div >
< div class = "row mb-3" >
< label class = "col-sm-3 col-form-label" for = "comment" > Comment (optional): < / label >
< div class = "col-sm-9" >
< textarea class = "form-control" id = "comment" name = "comment" rows = "3" > < / textarea >
2024-05-08 16:00:43 +02:00
< / div >
2024-05-15 12:27:05 +02:00
< / div >
2024-05-08 16:00:43 +02:00
< / div >
2024-05-15 12:27:05 +02:00
< / div >
< / div >
< hr >
{% endif %}
2024-05-08 16:00:43 +02:00
2024-05-13 11:33:15 +02:00
< center >
2021-10-26 19:31:42 +02:00
< b >
2024-05-15 12:27:05 +02:00
{% if default_public %}
By default, the capture is public. If you do not want that, untick the box at the top of the form.
{% else %}
By default, the capture is private (not visible on the index page). If you want it to be public tick the box at the top of the form.
{% endif %}
2021-10-26 19:31:42 +02:00
< / b >
2024-05-13 11:33:15 +02:00
< br >
< br >
2022-11-21 15:02:12 +01:00
< button type = "submit" class = "new-capture-button btn btn-primary" id = "btn-looking" > Start looking!< / button >
2024-05-13 11:33:15 +02:00
< / center >
2019-06-28 11:59:34 +02:00
< / form >
2017-07-23 19:56:51 +02:00
< / div >
{% endblock %}
2019-03-29 20:11:44 +01:00
{% block scripts %}
2019-06-28 11:59:34 +02:00
{{ super() }}
2021-06-17 02:36:01 +02:00
< script src = '{{ url_for(' static ' , filename = 'capture.js' ) } } '
2024-05-15 12:27:05 +02:00
{{get_sri('static', 'capture.js')}}
crossorigin="anonymous">< / script >
2022-03-31 00:48:58 +02:00
2019-03-29 20:11:44 +01:00
{% endblock %}