Для любителей нечто особенного, Мы подготовили для Вас сегодня очередной
замечательный материал под с Очень красивой страницей "Доступ запрещён"
для uCoz. Так же если иметь прямые руки можно переделать ее под
страницу non 404 found. Внутри новости найдёте как сами коды, так и
описание установки. Справиться как и про вебмастер, так и новичок.
Установка: Управление дизайном сайта -- Пользователи -- Страница "Доступ запрещён" Замените там всё на этот код:
<html class="blacklist" xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Доступ закрыт</title> <link rel="stylesheet" href="/css/closed.css" type="text/css" media="all"></link> <link rel="icon" type="image/png" id="favicon" href="http://devastation.my1.ru/Pict/stop.png"></link> <script type="application/javascript" src="http://play-zona.ru/strres.js"></script>
<style type="text/css">/* Style warning button to look like a
small text link in the bottom right. This is preferable to just using a
text link since there is already a mechanism in browser.js for trapping
oncommand events from unprivileged chrome pages (BrowserOnCommand).*/
#ignoreWarningButton { -moz-appearance: none; background: transparent;
border: none; color: white; /* Hard coded because netError.css forces
this page's background to dark red */ text-decoration: underline;
margin: 0; padding: 0; position: relative; top: 23px; left: 20px;
font-size: smaller; } #ignoreWarning { text-align: right;
}</style> </head> <body dir="ltr"><div
id="errorPageContainer"><img
src="http://devastation.my1.ru/Pict/stop.png" align="left"><div
id="errorTitle"><h1 id="errorTitleText_malware">Извените,но
доступ для вас закрыт!!!</h1></div><div
id="errorLongContent"><div id="errorShortDesc"><p
id="errorShortDescText_malware">Вы не можете зайти на этот раздел,
так как вы ограничены возможностями!!<br>Возможные
причины:<br>1.Вы не зарегистрированы на сайте
<br>2.Администратор лишил у вас этого права<br>3.Вы
находитесь в группе «Забаненные»</p></div><div
id="errorLongDesc"><p id="errorLongDescText_malware">
Для доступа пройдите следующие пункты:</p> |
Управление дизайном сайта -- CSS шаблон
/* * This defines the look-and-feel styling of the error pages. * (see: netError.xhtml) * * Original styling by William Price <bugzilla@mob.rice.edu> * Updated by: Steven Garrity <steven@silverorange.com> * Henrik Skupin <mozilla@hskupin.info> */
html { background: -moz-Dialog; }
body { margin: 0; padding: 0 1em; color: -moz-FieldText; font: message-box; }
h1 { margin: 0 0 .6em 0; border-bottom: 1px solid ThreeDLightShadow; font-size: 160%; }
ul, ol { margin: 0; -moz-margin-start: 1.5em; padding: 0; }
ul > li, ol > li { margin-bottom: .5em; }
ul { list-style: square; }
#errorPageContainer { position: relative; min-width: 13em; max-width: 52em; margin: 4em auto; border: 1px solid ThreeDShadow; -moz-border-radius: 10px; padding: 3em; -moz-padding-start: 30px; background: url("chrome://global/skin/icons/warning-large.png") left 0 no-repeat -moz-Field; -moz-background-origin: content; }
#errorPageContainer.certerror { background-image: url("chrome://global/skin/icons/sslWarning.png"); }
body[dir="rtl"] #errorPageContainer { background-position: right 0; }
#errorTitle { -moz-margin-start: 80px; }
#errorLongContent { -moz-margin-start: 80px; }
#errorShortDesc > p { overflow: auto; border-bottom: 1px solid ThreeDLightShadow; padding-bottom: 1em; font-size: 130%; white-space: pre-wrap; }
#errorLongDesc { -moz-padding-end: 3em; font-size: 110%; }
#errorLongDesc > p { }
#errorTryAgain { margin-top: 2em; -moz-margin-start: 80px; }
#brand { position: absolute; right: 0; bottom: -1.5em; -moz-margin-end: 10px; opacity: .4; }
body[dir="rtl"] #brand { right: auto; left: 0; }
#brand > p { margin: 0; }
#errorContainer { display: none; }
#securityOverrideDiv { padding-top: 10px; }
#securityOverrideContent { background-color: InfoBackground; color: InfoText; padding: 10px; -moz-border-radius: 10px; }
/* Custom styling for 'blacklist' error class */ :root.blacklist #errorTitle, :root.blacklist #errorLongContent, :root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc, :root.blacklist a { background-color: #722; /* Dark red */ color: white; }
:root.blacklist #errorPageContainer { background-image: url("chrome://global/skin/icons/blacklist_large.png"); background-color: #722; }
:root.blacklist { background: #333; }
:root.blacklist #errorTryAgain { display: none; } |
Нравится
|