Найден корректный robots.txt
Файл управления сканированием сайта роботами
?
Robots.txt указывает поисковым роботам, какие страницы сканировать, а какие — нет. Ошибки в файле могут случайно закрыть важные разделы от индексации.
Robots.txt настроен корректно. Размер файла: 27868 байт. Загружен за: 0сек.
Проверяемая страница не запрещена в robots.txt.
Цепочка редиректов для файла robots.txt:
http://status.qrstuff.com/robots.txt
301 MovedPermanently
https://status.qrstuff.com/robots.txt
200 OK
Показать содержимое robots.txt
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>System Status | QRStuff</title>
<meta name="description" content="Real-time status and uptime monitoring for QRStuff services.">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/svg+xml" href="/logo-navbar.svg">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
[x-cloak] { display: none !important; }
body {
background: #F1F0F6;
font-family: Arial, -apple-system, BlinkMacSystemFont, sans-serif;
padding-top: 62px;
}
.site-nav {
padding: 0;
z-index: 1030;
}
.site-nav .logo-wrapper {
display: flex;
align-items: center;
padding: 12px 0;
}
.site-nav .navbar-brand { margin: 0; }
.logo-img { width: 256px; height: 36px; }
.breadcrumbs-section {
padding: 25px 0 0;
}
.breadcrumbs-section .breadcrumbs {
list-style: none;
display: flex;
flex-flow: row wrap;
padding: 0;
margin: 0 0 8px 0;
font-size: 16px;
line-height: 30px;
letter-spacing: 2px;
color: #343434;
opacity: 0.8;
}
.breadcrumbs-section .breadcrumbs a {
color: #343434;
text-decoration: none;
}
.breadcrumbs-section .separator {
padding: 0 8px;
}
.breadcrumbs-section .active {
opacity: 1;
font-weight: bold;
}
:root {
--st-operational: #3BAA35;
--st-degraded: #F59E0B;
--st-partial: #E5006C;
--st-major: #EF4444;
--st-no-data: #D9D9D9;
--st-border: #E6E5EC;
--st-text-secondary: #6C6C6C;
--st-bg-subtle: #F1F0F5;
--st-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.status-banner {
padding: 18px 0;
text-align: center;
color: #fff;
font-weight: 600;
font-size: 16px;
border-radius: 10px;
margin-bottom: 24px;
transition: background-color 0.3s ease;
}
.status-banner.operational { background: var(--st-operational); }
.status-banner.degraded { background: var(--st-degraded); }
.status-banner.partial_outage { background: var(--st-partial); }
.status-banner.major_outage { background: var(--st-major); }
.status-banner-icon { font-size: 20px; margin-right: 8px; vertical-align: middle; }
.status-group-card {
background: #fff;
border-radius: 10px;
box-shadow: var(--st-card-shadow);
margin-bottom: 20px;
overflow: visible;
}
.status-group-header {
padding: 12px 20px;
font-size: 12px;
font-weight: 700;
color: var(--st-text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 1px solid var(--st-border);
background: var(--st-bg-subtle);
}
.status-service-row {
position: relative;
display: flex;
align-items: center;
padding: 13px 20px;
border-bottom: 1px solid var(--st-border);
transition: background-color 0.15s;
}
.status-service-row:last-child { border-bottom: none; }
.status-service-row:hover {
z-index: 2;
background: var(--st-bg-subtle);
}
.status-service-heading {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 3px;
padding: 1px 0;
}
.status-service-title {
font-size: 14px;
font-weight: 600;
color: #242424;
line-height: 1.25;
letter-spacing: 0.01em;
}
a.status-service-title-link {
color: inherit;
text-decoration: none;
font-size: inherit;
font-weight: inherit;
letter-spacing: inherit;
}
a.status-service-title-link:hover,
a.status-service-title-link:focus-visible {
color: #5D4696;
text-decoration: underline;
outline: none;
}
.status-service-host {
font-size: 12px;
font-weight: 400;
color: var(--st-text-secondary);
line-height: 1.3;
letter-spacing: 0.02em;
}
.status-service-info {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
font-weight: 500;
}
.status-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
.status-dot.operational { background: var(--st-operational); }
.status-dot.degraded { background: var(--st-degraded); }
.status-dot.partial_outage { background: var(--st-partial); }
.status-dot.major_outage { background: var(--st-major); }
.status-label.operational { color: var(--st-operational); }
.status-label.degraded { color: var(--st-degraded); }
.status-label.partial_outage { color: var(--st-partial); }
.status-label.major_outage { color: var(--st-major); }
.status-info-wrap {
position: relative;
display: inline-flex;
align-items: center;
margin-left: 6px;
}
.status-info-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
padding: 0;
border: none;
background: transparent;
color: var(--st-text-secondary);
cursor: pointer;
border-radius: 50%;
flex-shrink: 0;
}
.status-info-btn:hover,
.status-info-btn:focus-visible {
color: #5D4696;
background: rgba(93, 70, 150, 0.1);
outline: none;
}
.status-info-hover-tip {
position: absolute;
bottom: calc(100% + 8px);
right: 0;
background: #343434;
color: #fff;
padding: 6px 10px;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
white-space: nowrap;
z-index: 200;
pointer-events: none;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.status-info-hover-tip::after {
content: '';
position: absolute;
top: 100%;
right: 10px;
border: 6px solid transparent;
border-top-color: #343434;
}
.status-uptime-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.45);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.status-uptime-panel {
background: #fff;
border-radius: 12px;
max-width: 440px;
width: 100%;
max-height: 85vh;
display: flex;
flex-direction: column;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.status-uptime-panel-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
padding: 16px 20px;
border-bottom: 1px solid var(--st-border);
}
.status-uptime-panel-title-block {
flex: 1;
min-width: 0;
}
.status-uptime-panel-head h3 {
margin: 0;
font-size: 1.1rem;
font-weight: 700;
color: var(--st-text);
}
.status-uptime-panel-domain {
margin: 6px 0 0 0;
font-size: 0.9rem;
font-weight: 500;
color: var(--st-text-secondary);
word-break: break-all;
}
.status-uptime-panel-close {
border: none;
background: transparent;
font-size: 1.5rem;
line-height: 1;
color: var(--st-text-secondary);
cursor: pointer;
padding: 0 4px;
margin: -4px 0 0 0;
}
.status-uptime-panel-close:hover { color: var(--st-text); }
.status-uptime-panel-body { overflow-y: auto; padding: 16px 20px 20px; }
.status-uptime-stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px 16px;
margin-bottom: 16px;
font-size: 13px;
}
.status-uptime-stats dt { color: var(--st-text-secondary); margin: 0; }
.status-uptime-stats dd { margin: 0; font-weight: 600; color: var(--st-text); }
.status-uptime-panel-note {
font-size: 12px;
color: var(--st-text-secondary);
margin: 0 0 8px 0;
}
.status-uptime-detail-list {
list-style: none;
margin: 0;
padding: 0;
max-height: 220px;
overflow-y: auto;
font-size: 12px;
border: 1px solid var(--st-border);
border-radius: 8px;
}
.status-uptime-detail-list li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 6px 10px;
border-bottom: 1px solid var(--st-border);
}
.status-uptime-detail-list li:last-child { border-bottom: none; }
.status-uptime-detail-dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
}
.status-uptime-detail-dot.up { background: var(--st-operational); }
.status-uptime-detail-dot.degraded { background: var(--st-degraded); }
.status-uptime-detail-dot.partial { background: var(--st-partial); }
.status-uptime-detail-dot.down { background: var(--st-major); }
.status-uptime-detail-dot.no-data { background: var(--st-no-data); }
.status-incidents-title { font-size: 18px; font-weight: 700; margin: 32px 0 16px; }
.status-incident-date {
font-size: 13px;
font-weight: 600;
color: var(--st-text-secondary);
padding-bottom: 8px;
border-bottom: 1px solid var(--st-border);
margin-bottom: 12px;
}
.status-incident-card {
background: #fff;
border-radius: 10px;
box-shadow: var(--st-card-shadow);
padding: 14px 20px;
margin-bottom: 10px;
}
.status-incident-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 4px;
}
.status-incident-title { font-size: 14px; font-weight: 600; }
.status-incident-badge {
display: inline-block;
padding: 2px 10px;
border-radius: 9999px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.status-incident-badge.investigating {
background: rgba(239, 68, 68, 0.1);
color: var(--st-major);
}
.status-incident-badge.identified {
background: rgba(245, 158, 11, 0.1);
color: var(--st-degraded);
}
.status-incident-badge.monitoring {
background: rgba(0, 184, 236, 0.1);
color: #00B8EC;
}
.status-incident-badge.resolved {
background: rgba(59, 170, 53, 0.1);
color: var(--st-operational);
}
.status-incident-meta { font-size: 12px; color: var(--st-text-secondary); }
.status-incident-message {
font-size: 13px;
color: var(--st-text-secondary);
margin-top: 6px;
line-height: 1.5;
}
.status-no-incidents {
font-size: 14px;
color: var(--st-text-secondary);
padding: 12px 0;
}
.status-loading {
text-align: center;
padding: 60px 0;
color: var(--st-text-secondary);
}
.status-spinner {
display: inline-block;
width: 28px;
height: 28px;
border: 3px solid var(--st-border);
border-top-color: #5D4696;
border-radius: 50%;
animation: status-spin 0.7s linear infinite;
margin-bottom: 12px;
}
@keyframes status-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
.status-service-row { padding: 11px 14px; }
.status-group-header { padding: 10px 14px; }
}
</style>
</head>
<body>
<div x-data="statusPage">
<nav class="navbar navbar-light bg-white shadow fixed-top site-nav" aria-label="Site">
<div class="logo-wrapper">
<a class="navbar-brand" :href="mainSiteHref" aria-label="QRStuff">
<img class="ps-4 logo-img" src="/logo-navbar.svg" alt="">
</a>
</div>
</nav>
<section class="breadcrumbs-section">
<div class="container">
<ul class="breadcrumbs">
<li><a :href="mainSiteHref">Home</a></li>
<li class="separator">/</li>
<li class="active">System Status</li>
</ul>
</div>
</section>
<section class="py-3 py-lg-4">
<div x-show="loading" class="status-loading">
<div class="status-spinner"></div>
<div>Loading status...</div>
</div>
<div x-show="error && !loading" style="display:none">
<div class="container">
<div class="status-group-card" style="text-align:center;padding:40px 20px;">
<div style="font-size:16px;font-weight:600;margin-bottom:8px;">Unable to load status</div>
<div style="color:var(--st-text-secondary);font-size:14px;" x-text="error"></div>
</div>
</div>
</div>
<div x-show="!loading && status" style="display:none">
<div class="container">
<h2 class="text-center mb-4">System Status</h2>
<div class="status-banner" :class="overallStatus">
<span class="status-banner-icon" x-text="overallIcon"></span>
<span x-text="overallLabel"></span>
</div>
<template x-for="group in status.groups" :key="group.name">
<div class="status-group-card">
<div class="status-group-header" x-show="status.groups.length > 1" x-text="group.name"></div>
<template x-for="svc in group.services" :key="svc.id">
<div>
<div class="status-service-row">
<div class="status-service-heading">
<a
class="status-service-title status-service-title-link"
:href="serviceHref(svc.name)"
x-text="svc.name"
target="_blank"
rel="noopener noreferrer"
></a>
<span class="status-service-host" x-show="svc.domain" x-text="svc.domain"></span>
</div>
<div class="status-service-info">
<span class="status-label" :class="svc.status" x-text="serviceStatusLabel(svc.status)"></span>
<span class="status-dot" :class="svc.status"></span>
<span class="status-info-wrap">
<button
type="button"
class="status-info-btn"
@mouseenter="uptimeTipId = svc.id"
@mouseleave="uptimeTipId = null"
@click="openUptimeDetail(svc.id)"
aria-label="Uptime details"
>
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true">
<circle cx="12" cy="12" r="10"/>
<path d="M12 16v-4M12 8h.01"/>
</svg>
</button>
<span class="status-info-hover-tip" x-show="uptimeTipId === svc.id" x-cloak>Click for more information</span>
</span>
</div>
</div>
</div>
</template>
</div>
</template>
<template x-if="uptimeDetailId !== null && uptimeDetailService">
<div
class="status-uptime-backdrop"
@click.self="closeUptimeDetail()"
x-on:keydown.escape.window="closeUptimeDetail()"
>
<div class="status-uptime-panel" role="dialog" aria-modal="true" aria-labelledby="uptime-panel-title" @click.stop>
<div class="status-uptime-panel-head">
<div class="status-uptime-panel-title-block">
<h3 id="uptime-panel-title" x-text="uptimeDetailService.name"></h3>
<p class="status-uptime-panel-domain" x-show="uptimeDetailService.domain" x-text="uptimeDetailService.domain"></p>
</div>
<button type="button" class="status-uptime-panel-close" @click="closeUptimeDetail()" aria-label="Close">×</button>
</div>
<div class="status-uptime-panel-body">
<template x-if="uptimeExtendedLoading">
<p class="status-uptime-panel-note">Loading details…</p>
</template>
<template x-if="!uptimeExtendedLoading && uptimeExtended">
<dl class="status-uptime-stats">
<dt>Last 24 hours</dt>
<dd x-text="formatUptime(uptimeExtended.uptime_24h)"></dd>
<dt>Last 7 days</dt>
<dd x-text="formatUptime(uptimeExtended.uptime_7d)"></dd>
<dt>Last 30 days</dt>
<dd x-text="formatUptime(uptimeExtended.uptime_30d)"></dd>
<dt>Last 90 days</dt>
<dd x-text="formatUptime(uptimeExtended.uptime_90d)"></dd>
</dl>
</template>
<template x-if="!uptimeExtendedLoading && !uptimeExtended">
<p class="status-uptime-panel-note">90-day uptime: <strong x-text="formatUptime(uptimeDetailService.uptime_90d)"></strong></p>
</template>
<p class="status-uptime-panel-note">Daily uptime (most recent first)</p>
<ul class="status-uptime-detail-list">
<template x-for="day in dailyUptimeReversed(uptimeDetailService)" :key="day.date">
<li>
<span style="display:flex;align-items:center;gap:8px;">
<span class="status-uptime-detail-dot" :class="dayClass(day)"></span>
<span x-text="day.date"></span>
</span>
<span x-text="daySummary(day)"></span>
</li>
</template>
</ul>
</div>
</div>
</div>
</template>
<div class="status-incidents-title">Past Incidents</div>
<template x-for="group in groupedIncidents" :key="group.date">
<div style="margin-bottom:20px;">
<div class="status-incident-date" x-text="group.label"></div>
<template x-if="group.incidents.length === 0">
<div class="status-no-incidents">No incidents reported.</div>
</template>
<template x-for="inc in group.incidents" :key="inc.id">
<div class="status-incident-card">
<div class="status-incident-header">
<span class="status-incident-title" x-text="inc.title"></span>
<span class="status-incident-badge" :class="inc.status" x-text="inc.status"></span>
</div>
<div class="status-incident-meta">
<span x-text="inc.service_name"></span> ·
<span x-text="formatTime(inc.created_at)"></span>
<template x-if="inc.resolved_at">
<span> — Resolved <span x-text="formatTime(inc.resolved_at)"></span></span>
</template>
</div>
<template x-if="inc.message">
<div class="status-incident-message" x-text="inc.message"></div>
</template>
</div>
</template>
</div>
</template>
</div>
</div>
</section>
</div>
<script>
(function () {
var LINKS = {
production: {
main: 'https://www.qrstuff.com',
services: {
'Website': 'https://qrstuff.com',
'Main Website': 'https://qrstuff.com',
'API': 'https://api.qrstuff.com',
'Shorturl': 'https://qrs.ly',
'Dashboard': 'https://dashboard.qrstuff.com',
'DBC': 'https://dbc.qrstuff.com/login'
}
},
staging: {
main: 'https://staging.qrstuff.com',
services: {
'Website': 'https://staging.qrstuff.com',
'Main Website': 'https://staging.qrstuff.com',
'API': 'https://api-staging.qrstuff.com',
'Shorturl': 'https://s.qrs.ly',
'Dashboard': 'https://dashboard-staging.qrstuff.com',
'DBC': 'https://dbc-staging.qrstuff.com/login'
}
}
};
function detectEnv() {
var qs = new URLSearchParams(window.location.search);
var q = (qs.get('env') || '').toLowerCase();
if (q === 'staging' || q === 'production') {
return q;
}
var h = (window.location.hostname || '').toLowerCase();
if (h.indexOf('staging') !== -1) {
return 'staging';
}
return 'production';
}
window.statusPageEnv = detectEnv;
window.statusPageMainHref = function () {
var env = detectEnv();
return (LINKS[env] && LINKS[env].main) || LINKS.production.main;
};
window.statusPageServiceHref = function (name) {
var env = detectEnv();
var map = LINKS[env] && LINKS[env].services;
if (map && map[name]) {
return map[name];
}
return '#';
};
})();
</script>
<script>
document.addEventListener('alpine:init', function () {
Alpine.data('statusPage', function () {
return {
status: null,
incidents: [],
loading: true,
error: null,
uptimeTipId: null,
uptimeDetailId: null,
uptimeExtended: null,
uptimeExtendedLoading: false,
mainSiteHref: typeof window.statusPageMainHref === 'function' ? window.statusPageMainHref() : 'https://www.qrstuff.com',
init: async function () {
await this.fetchData();
setInterval(function () { this.fetchData(); }.bind(this), 60000);
},
serviceHref: function (name) {
return typeof window.statusPageServiceHref === 'function' ? window.statusPageServiceHref(name) : '#';
},
fetchData: async function () {
try {
var statusRes = await fetch('/api/status');
var incidentsRes = await fetch('/api/incidents');
if (!statusRes.ok || !incidentsRes.ok) throw new Error('API request failed');
this.status = await statusRes.json();
this.incidents = await incidentsRes.json();
this.error = null;
} catch (e) {
this.error = 'Unable to load status data. Retrying...';
console.error('Status fetch error:', e);
} finally {
this.loading = false;
}
},
get overallStatus() {
return (this.status && this.status.overall_status) || 'operational';
},
get overallLabel() {
return this.statusLabel(this.overallStatus);
},
get overallIcon() {
switch (this.overallStatus) {
case 'operational': return '\u2713';
case 'degraded': return '!';
case 'partial_outage': return '\u26A0';
case 'major_outage': return '\u2715';
default: return '?';
}
},
statusLabel: function (s) {
var m = {
operational: 'All Systems Operational',
degraded: 'Degraded Performance',
partial_outage: 'Partial System Outage',
major_outage: 'Major System Outage'
};
return m[s] || s;
},
serviceStatusLabel: function (s) {
var m = {
operational: 'Operational',
degraded: 'Degraded',
partial_outage: 'Partial Outage',
major_outage: 'Major Outage'
};
return m[s] || s;
},
dayClass: function (day) {
if (day.checks === 0 || day.uptime < 0) return 'no-data';
if (day.uptime >= 99.5) return 'up';
if (day.uptime >= 95) return 'degraded';
if (day.uptime >= 80) return 'partial';
return 'down';
},
daySummary: function (day) {
if (day.checks === 0 || day.uptime < 0) return 'No data';
return day.uptime.toFixed(2) + '%';
},
dailyUptimeReversed: function (svc) {
if (!svc || !Array.isArray(svc.daily_uptime)) return [];
return svc.daily_uptime.slice().reverse();
},
get uptimeDetailService() {
if (this.uptimeDetailId == null || !this.status) return null;
var groups = this.status.groups;
for (var gi = 0; gi < groups.length; gi++) {
var services = groups[gi].services;
for (var si = 0; si < services.length; si++) {
if (services[si].id === this.uptimeDetailId) return services[si];
}
}
return null;
},
openUptimeDetail: async function (id) {
this.uptimeDetailId = id;
this.uptimeExtended = null;
this.uptimeExtendedLoading = true;
this.uptimeTipId = null;
try {
var r = await fetch('/api/uptime');
if (!r.ok) throw new Error('uptime fetch failed');
var data = await r.json();
if (!Array.isArray(data)) {
this.uptimeExtended = null;
} else {
this.uptimeExtended = data.find(function (x) { return x.service_id === id; }) || null;
}
} catch (e) {
console.error('Uptime detail fetch error:', e);
this.uptimeExtended = null;
} finally {
this.uptimeExtendedLoading = false;
}
},
closeUptimeDetail: function () {
this.uptimeDetailId = null;
this.uptimeExtended = null;
},
formatUptime: function (pct) {
if (pct == null || isNaN(Number(pct))) return '\u2014';
if (pct === 100) return '100%';
return Number(pct).toFixed(3) + '%';
},
get groupedIncidents() {
var grouped = {};
for (var i = 0; i < this.incidents.length; i++) {
var inc = this.incidents[i];
var date = (inc.created_at && inc.created_at.split('T')[0]) || 'Unknown';
if (!grouped[date]) grouped[date] = [];
grouped[date].push(inc);
}
var today = new Date();
var dates = [];
for (var j = 0; j < 14; j++) {
var d = new Date(today);
d.setDate(d.getDate() - j);
var key = d.toISOString().split('T')[0];
dates.push({
date: key,
label: this.formatDate(key),
incidents: grouped[key] || []
});
}
return dates;
},
formatDate: function (dateStr) {
var d = new Date(dateStr + 'T00:00:00');
return d.toLocaleDateString('en-US', {
weekday: 'short',
month: 'short',
day: 'numeric',
year: 'numeric'
});
},
formatTime: function (isoStr) {
if (!isoStr) return '';
return new Date(isoStr).toLocaleTimeString('en-US', {
hour: '2-digit',
minute: '2-digit'
});
}
};
});
});
</script>
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.8/dist/cdn.min.js"></script>
</body>
</html>