|
112 | 112 | {% if watch.uuid in queued_uuids %}queued{% endif %}
|
113 | 113 | {% if checking_now %}checking-now{% endif %}
|
114 | 114 | {% if watch.notification_muted %}notification_muted{% endif %}
|
| 115 | + {% if watch.get_screenshot() %}has-thumbnail{% endif %} |
115 | 116 | ">
|
116 | 117 | <td class="inline checkbox-uuid" ><input name="uuids" type="checkbox" value="{{ watch.uuid}} " > <span>{{ loop.index+pagination.skip }}</span></td>
|
117 | 118 | <td class="inline watch-controls">
|
|
121 | 122 | <a class="ajax-op state-off mute-toggle" data-op="mute" href="{{url_for('watchlist.index', op='mute', uuid=watch.uuid, tag=active_tag_uuid)}}"><img src="{{url_for('static_content', group='images', filename='bell-off.svg')}}" alt="Mute notification" title="Mute notification" class="icon icon-mute" ></a>
|
122 | 123 | <a class="ajax-op state-on mute-toggle" data-op="mute" style="display: none" href="{{url_for('watchlist.index', op='mute', uuid=watch.uuid, tag=active_tag_uuid)}}"><img src="{{url_for('static_content', group='images', filename='bell-off.svg')}}" alt="UnMute notification" title="UnMute notification" class="icon icon-mute" ></a>
|
123 | 124 | </td>
|
124 |
| - <td class="title-col inline">{{watch.title if watch.title is not none and watch.title|length > 0 else watch.url}} |
125 |
| - <a class="external" target="_blank" rel="noopener" href="{{ watch.link.replace('source:','') }}"></a> |
126 |
| - <a class="link-spread" href="{{url_for('ui.form_share_put_watch', uuid=watch.uuid)}}"><img src="{{url_for('static_content', group='images', filename='spread.svg')}}" class="status-icon icon icon-spread" title="Create a link to share watch config with others" ></a> |
127 |
| - |
128 |
| - {% if watch.get_screenshot() %} |
129 |
| - <img class="thumbnail" src="{{url_for('static_content', group='thumbnail', filename=watch.uuid)}}" alt="thumbnail screenshot" title="thumbnail screenshot" > |
130 |
| - {% endif %} |
131 |
| - |
132 |
| - {% if watch.get_fetch_backend == "html_webdriver" |
133 |
| - or ( watch.get_fetch_backend == "system" and system_default_fetcher == 'html_webdriver' ) |
134 |
| - or "extra_browser_" in watch.get_fetch_backend |
135 |
| - %} |
136 |
| - <img class="status-icon" src="{{url_for('static_content', group='images', filename='google-chrome-icon.png')}}" alt="Using a Chrome browser" title="Using a Chrome browser" > |
137 |
| - {% endif %} |
138 |
| - |
139 |
| - {% if watch.is_pdf %}<img class="status-icon" src="{{url_for('static_content', group='images', filename='pdf-icon.svg')}}" alt="Converting PDF to text" >{% endif %} |
140 |
| - {% if watch.has_browser_steps %}<img class="status-icon status-browsersteps" src="{{url_for('static_content', group='images', filename='steps.svg')}}" alt="Browser Steps is enabled" >{% endif %} |
| 125 | + <td class="title-col inline"> |
| 126 | + |
| 127 | + <div class="title-col-inner"> |
| 128 | + <img style="display: none" class="thumbnail" {% if watch.get_screenshot() %} src="{{url_for('static_content', group='thumbnail', filename=watch.uuid)}}"{% endif %} alt="thumbnail screenshot" title="thumbnail screenshot" > |
| 129 | + {{watch.title if watch.title is not none and watch.title|length > 0 else watch.url}} |
| 130 | + <a class="external" target="_blank" rel="noopener" href="{{ watch.link.replace('source:','') }}"></a> |
| 131 | + <a class="link-spread" href="{{url_for('ui.form_share_put_watch', uuid=watch.uuid)}}"><img src="{{url_for('static_content', group='images', filename='spread.svg')}}" class="status-icon icon icon-spread" title="Create a link to share watch config with others" ></a> |
| 132 | + {% if watch.get_fetch_backend == "html_webdriver" |
| 133 | + or ( watch.get_fetch_backend == "system" and system_default_fetcher == 'html_webdriver' ) |
| 134 | + or "extra_browser_" in watch.get_fetch_backend |
| 135 | + %} |
| 136 | + <img class="status-icon" src="{{url_for('static_content', group='images', filename='google-chrome-icon.png')}}" alt="Using a Chrome browser" title="Using a Chrome browser" > |
| 137 | + {% endif %} |
| 138 | + {% if watch.is_pdf %}<img class="status-icon" src="{{url_for('static_content', group='images', filename='pdf-icon.svg')}}" alt="Converting PDF to text" >{% endif %} |
| 139 | + {% if watch.has_browser_steps %}<img class="status-icon status-browsersteps" src="{{url_for('static_content', group='images', filename='steps.svg')}}" alt="Browser Steps is enabled" >{% endif %} |
| 140 | + </div> |
141 | 141 |
|
142 | 142 | <div class="error-text" style="display:none;">{{ watch.compile_error_texts(has_proxies=datastore.proxy_list)|safe }}</div>
|
143 |
| - |
144 | 143 | {% if watch['processor'] == 'text_json_diff' %}
|
145 | 144 | {% if watch['has_ldjson_price_data'] and not watch['track_ldjson_price_data'] %}
|
146 | 145 | <div class="ldjson-price-track-offer">Switch to Restock & Price watch mode? <a href="{{url_for('price_data_follower.accept', uuid=watch.uuid)}}" class="pure-button button-xsmall">Yes</a> <a href="{{url_for('price_data_follower.reject', uuid=watch.uuid)}}" class="">No</a></div>
|
|
0 commit comments