1686 lines
102 KiB
Python
1686 lines
102 KiB
Python
|
# -*- coding: utf-8 -*-
|
|||
|
'''Здесь описываются различные переменные'''
|
|||
|
from base64 import b64decode
|
|||
|
html = '''\
|
|||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
|
|||
|
<html>
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|||
|
<title>{title}</title>
|
|||
|
<link rel="stylesheet" href="{style}" type="text/css" />
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
{body}
|
|||
|
</body>
|
|||
|
</html>'''
|
|||
|
style = '''\
|
|||
|
body {
|
|||
|
font: 13px Arial, Verdana, Helvetica, sans-serif;
|
|||
|
text-align: center;
|
|||
|
}
|
|||
|
|
|||
|
@media screen {
|
|||
|
body {
|
|||
|
padding: 1em 1em 1em 21em;
|
|||
|
font-family: "Trebuchet MS", Trebuchet, Verdana, Arial, Helvetica, sans-serif;
|
|||
|
font-size: 76%;
|
|||
|
}
|
|||
|
|
|||
|
div.document, div.footer {
|
|||
|
width: 45em;
|
|||
|
background-color: white;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@media print {
|
|||
|
div.document, div.footer {
|
|||
|
width: auto;
|
|||
|
padding-left: 0px;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
input {
|
|||
|
display: none;
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
input {
|
|||
|
border: 1px solid #003399;
|
|||
|
padding: 0 2px;;
|
|||
|
margin-bottom: 0.3em;
|
|||
|
font-size: 85%;
|
|||
|
}
|
|||
|
|
|||
|
select {
|
|||
|
font-size: 10px ;
|
|||
|
margin-left:0.5em;
|
|||
|
font-family: "Trebuchet MS", Trebuchet, Verdana, Arial, Helvetica, sans-serif;
|
|||
|
font-size: 90%;
|
|||
|
}
|
|||
|
|
|||
|
option {
|
|||
|
background:#C5D9FF;
|
|||
|
color:#003399;
|
|||
|
}
|
|||
|
|
|||
|
div.document, div.footer, td {
|
|||
|
margin: 1em auto 1em auto;
|
|||
|
color: #222;
|
|||
|
}
|
|||
|
|
|||
|
div.document, td {
|
|||
|
text-align: left;
|
|||
|
}
|
|||
|
|
|||
|
div.footer {
|
|||
|
text-align: center;
|
|||
|
font-size: 70%;
|
|||
|
}
|
|||
|
|
|||
|
/*** TOC ***/
|
|||
|
|
|||
|
div.contents.topic ul {
|
|||
|
margin-top: 0px;
|
|||
|
}
|
|||
|
|
|||
|
div.contents.topic ul > li {
|
|||
|
text-decoration: none;
|
|||
|
line-height: 1.2em;
|
|||
|
}
|
|||
|
|
|||
|
div.contents.topic > p > a {
|
|||
|
text-decoration: none;
|
|||
|
}
|
|||
|
|
|||
|
/*** side menu ***/
|
|||
|
|
|||
|
div.sidemenu {
|
|||
|
position: absolute;
|
|||
|
top: 0px;
|
|||
|
left: 0px;
|
|||
|
width: 24em;
|
|||
|
font-size: 10px;
|
|||
|
text-align: left;
|
|||
|
border-right: groove gray;
|
|||
|
border-bottom: groove gray;
|
|||
|
padding-right: 1ex;
|
|||
|
background: #FFFAFA url(/menu_img) no-repeat top right;
|
|||
|
}
|
|||
|
|
|||
|
html > body div.sidemenu {
|
|||
|
/* ignored by IE -> everyone else knows 'fixed', right? */
|
|||
|
position: fixed;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu span.section.title {
|
|||
|
line-height: 1.2em;
|
|||
|
font-size: 130%;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu ul.menu.current li {
|
|||
|
color: #CC0000;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu ul.menu.current > li > a {
|
|||
|
color: #CC0000;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu ul.menu.current ul.submenu {
|
|||
|
display: block;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu ul.menu.foreign ul.submenu li {
|
|||
|
padding-top: 2px;
|
|||
|
padding-bottom: 2px;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu ul.menu.foreign li.menu:hover ul.submenu {
|
|||
|
display: block;
|
|||
|
position: absolute;
|
|||
|
border: groove #990000;
|
|||
|
padding: 1ex 1ex 1ex 3ex;
|
|||
|
margin-top: 0px;
|
|||
|
margin-left: 4em;
|
|||
|
margin-right: -20em;
|
|||
|
color: #990000;
|
|||
|
background-color: white;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu ul.submenu {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
|
|||
|
div.sidemenu ul {
|
|||
|
line-height: 1em;
|
|||
|
margin: 1ex;
|
|||
|
padding-left: 1em;
|
|||
|
}
|
|||
|
|
|||
|
/*** headings ***/
|
|||
|
|
|||
|
h1.title {
|
|||
|
background: url(title_img.png) no-repeat;
|
|||
|
padding: 20px 0 0 180px;
|
|||
|
height: 60px;
|
|||
|
font-size: 200%;
|
|||
|
}
|
|||
|
|
|||
|
h1.title, h1 a, h2 a, h3 a {
|
|||
|
color: #666;
|
|||
|
font-weight: bold;
|
|||
|
font-family: Helvetica, sans-serif;
|
|||
|
}
|
|||
|
|
|||
|
@media screen {
|
|||
|
div.section > h1:before {
|
|||
|
margin-left: -2ex;
|
|||
|
color: #CC0000;
|
|||
|
content: "\00BB" " ";
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
h1 {
|
|||
|
font-size: 150%;
|
|||
|
}
|
|||
|
|
|||
|
h2 {
|
|||
|
font-size: 130%;
|
|||
|
}
|
|||
|
|
|||
|
h3 {
|
|||
|
font-size: 110%;
|
|||
|
}
|
|||
|
|
|||
|
/*** content ***/
|
|||
|
|
|||
|
a, a:visited {
|
|||
|
background-color: transparent;
|
|||
|
/*** font-weight: bold; ***/
|
|||
|
color: Black;
|
|||
|
text-decoration: none;
|
|||
|
}
|
|||
|
|
|||
|
p a:active, ul a:active, td a:active{
|
|||
|
color: Red;
|
|||
|
}
|
|||
|
|
|||
|
p a:hover, ul a:hover, td a:hover {
|
|||
|
text-decoration: underline;
|
|||
|
}
|
|||
|
|
|||
|
p, table, tr, td {
|
|||
|
/*margin: 0.5em 0em 1em 0em;*/
|
|||
|
text-align: justify;
|
|||
|
line-height: 1.5em;
|
|||
|
margin: 0.5em 0em 0em 0em;
|
|||
|
}
|
|||
|
|
|||
|
div.document td {
|
|||
|
font-size: 13px ;
|
|||
|
}
|
|||
|
td {
|
|||
|
font-size: 13px ;
|
|||
|
}
|
|||
|
|
|||
|
th.docinfo-name {
|
|||
|
padding-left: 3ex;
|
|||
|
text-align: right;
|
|||
|
font-weight: bold;
|
|||
|
}
|
|||
|
|
|||
|
hr {
|
|||
|
clear: both;
|
|||
|
height: 1px;
|
|||
|
color: #8CACBB;
|
|||
|
background-color: transparent;
|
|||
|
}
|
|||
|
|
|||
|
dt {
|
|||
|
line-height: 1.5em;
|
|||
|
margin-left: 1em;
|
|||
|
}
|
|||
|
|
|||
|
dt:before {
|
|||
|
content: "\00BB" " ";
|
|||
|
}
|
|||
|
|
|||
|
ul {
|
|||
|
line-height: 1.5em;
|
|||
|
margin-left: 1em;
|
|||
|
}
|
|||
|
|
|||
|
ol {
|
|||
|
line-height: 1.5em;
|
|||
|
margin-left: 0em;
|
|||
|
}
|
|||
|
|
|||
|
blockquote {
|
|||
|
font-family: Times, "Times New Roman", serif;
|
|||
|
font-style: italic;
|
|||
|
}
|
|||
|
|
|||
|
div.eyecatcher, p.eyecatcher {
|
|||
|
font-family: Times, "Times New Roman", serif;
|
|||
|
text-align: center;
|
|||
|
font-size: 140%;
|
|||
|
line-height: 1.2em;
|
|||
|
margin-left: 9em;
|
|||
|
margin-right: 9em;
|
|||
|
}
|
|||
|
|
|||
|
div.pagequote {
|
|||
|
position: absolute;
|
|||
|
top: 0px;
|
|||
|
right: 0px;
|
|||
|
padding: 10px 10px 0 0;
|
|||
|
text-align: right;
|
|||
|
font-size: 80%;
|
|||
|
color: #990000;
|
|||
|
}
|
|||
|
|
|||
|
div.pagequote .reference {
|
|||
|
font-size: 140%;
|
|||
|
}
|
|||
|
|
|||
|
html > .pagequote {
|
|||
|
/* ignored by IE -> everyone else knows 'fixed', right? */
|
|||
|
position: fixed;
|
|||
|
}
|
|||
|
|
|||
|
code {
|
|||
|
color: Black;
|
|||
|
background-color: #f0f0f0;
|
|||
|
font-family: "Courier New", Courier, monospace;
|
|||
|
}
|
|||
|
|
|||
|
pre {
|
|||
|
padding: 0.5em;
|
|||
|
border: 1px solid #8cacbb;
|
|||
|
color: Black;
|
|||
|
background-color: #f0f0f0;
|
|||
|
font-family: "Courier New", Courier, monospace;
|
|||
|
}
|
|||
|
'''
|
|||
|
m_img = '''\
|
|||
|
iVBORw0KGgoAAAANSUhEUgAAAEgAAABCCAYAAAD0dpAhAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
|
|||
|
WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gwdEAgerZOhpwAAABl0RVh0Q29tbWVudABDcmVhdGVk
|
|||
|
IHdpdGggR0lNUFeBDhcAACAASURBVHjaPLvnk6Xped73e/N535PzOd2n8/RMd0+e2Z2wGVjkxYKk
|
|||
|
ABIkZdIEBZbBEmW6RFIqmXRpLKkUSqqSP9CySzJNFmW6BBEQwy6IxQZsDrM7O3mmZ3o69zl9co5v
|
|||
|
9odl+V946rru57mv53cJ/+2H3/fv379JLBpCJIwt6DiOxWjQI51JUSztU69V0AIiQT1Ms9Fg9cRJ
|
|||
|
Nu7f5Vf+7ncx9CCaLvHuOz9mbn6JwaDH6tE1Pnz/Lc6cf4xyucT87CqePcZHBlUmEgixVTygXq8Q
|
|||
|
ik/j+hqJdIGHe3Xq1QOi2Qw/+ON/zdaDTwgbSUoHu4zHFqqqEjB0vvbiC7iChTXuYU1spqemyOZT
|
|||
|
yIrE4WEZIxBjc/s+czNTlCsVAlqCxaVTLB1bQxJUOr0+lcNN8tNpdjYOeOFr38CyTVzXRJQE9rbv
|
|||
|
YztjfEFC+vYv/OqVoyuncFwZPZKi3u4QDKj4rk+z1SKVTBGPJ1mYW2Y8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|
</div>
|
|||
|
{document}'''
|
|||
|
menu_container = '''\
|
|||
|
<ul id="lyb-section">
|
|||
|
{menu}
|
|||
|
</ul>'''
|
|||
|
menu = '''\
|
|||
|
<li>
|
|||
|
<span class="section title">{name}</span>
|
|||
|
<ul class="menu foreign" id="index-menu">
|
|||
|
{submenu}
|
|||
|
</ul>
|
|||
|
</li>'''
|
|||
|
submenu = '''\
|
|||
|
<li class="menu title">
|
|||
|
<a href="{url}">{name}</a>
|
|||
|
{submenuitem}
|
|||
|
</li>
|
|||
|
'''
|
|||
|
submenuitem_container = '''\
|
|||
|
<ul class="submenu">
|
|||
|
{submenuitem}
|
|||
|
</ul>'''
|
|||
|
submenuitem = '''\
|
|||
|
<li class="menu item">
|
|||
|
<a href="{url}">{name}</a>
|
|||
|
</li>'''
|
|||
|
form_minisearch = '''\
|
|||
|
<ul id="lyb-section">
|
|||
|
<li>
|
|||
|
<span class="section title">Поиск</span>
|
|||
|
<ul class="menu foreign" id="index-menu">
|
|||
|
<li class="menu title">
|
|||
|
<form action="/poisk" method="post">
|
|||
|
<p><input type="text" name="search">
|
|||
|
<input type="submit" value="Поиск"></p>
|
|||
|
</form>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>'''
|
|||
|
form_auth = '''\
|
|||
|
<ul id="lyb-section">
|
|||
|
<li>
|
|||
|
<span class="section title">Авторизация</span>
|
|||
|
<ul class="menu foreign" id="index-menu">
|
|||
|
<li class="menu title">
|
|||
|
<form action="/auth/login" method="post">
|
|||
|
<input type="hidden" name="from_page" value="{from_page}">
|
|||
|
<p><input type="text" name="username"></p>
|
|||
|
</li>
|
|||
|
<li class="menu title">
|
|||
|
<p><input type="password" name="password"></p>
|
|||
|
<p><input type="submit" value="Войти"></p>
|
|||
|
</form>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>'''
|
|||
|
form_user = '''\
|
|||
|
<ul id="lyb-section">
|
|||
|
<li>
|
|||
|
<span class="section title">Пользователь</span>
|
|||
|
<ul class="menu foreign" id="index-menu">
|
|||
|
<li class="menu title">
|
|||
|
<form action="/auth/logout" method="post">
|
|||
|
<p><a href="/ctl/user">{username}</a>
|
|||
|
<input type="submit" value="Выйти"></p>
|
|||
|
</form>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</li>
|
|||
|
</ul>'''
|
|||
|
login_body = '''<div class="document"><h2>В графе "Авторизация" введите имя пользовотеля и пароль.</h2></div>'''
|
|||
|
user_body = '''\
|
|||
|
<div align="left">
|
|||
|
<table>
|
|||
|
{groups}
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div align="right"><a href="/ctl/users"><i>← Обратно в список пользователей</i></a></div>'''
|
|||
|
group_body = '''\
|
|||
|
<div align="left">
|
|||
|
<table>
|
|||
|
{groups}
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div align="right"><a href="/ctl/groups"><i>← Обратно в список групп</i></a></div>'''
|
|||
|
logged_on_boddy = '''<div class="document"><h2>Вы уже вошли в систему под пользователем [{username}].</h2></div>'''
|
|||
|
access_denied_body = '''<div class="document"><h2>Не хватает прав доступа.</h2></div>'''
|
|||
|
form_upload = '''\
|
|||
|
<form action="/edit/upload" enctype="multipart/form-data" method="post">
|
|||
|
<input type="hidden" name="catid" value={catid}>
|
|||
|
<p>Путь для загрузки в раздел "{catname}".<input type="text" size="50" name="filein">
|
|||
|
<input type="submit" value="Загрузить"></p>
|
|||
|
</form>'''
|
|||
|
back_href = '<a href="javascript: history.go(-1)">Назад</a>'
|
|||
|
index_html = '''<div class="document"><h2>Добро пожаловать в архив.</h2></div>'''
|
|||
|
nicedit_html1 = '''\
|
|||
|
<script src="/edit/nejs" type="text/javascript"></script>
|
|||
|
<script type="text/javascript">
|
|||
|
bkLib.onDomLoaded(function() {
|
|||
|
new nicEditor({fullPanel : false,
|
|||
|
maxHeight : 450,
|
|||
|
iconsPath : '/edit/negif',
|
|||
|
buttonList : ['xhtml','bold','italic','underline',
|
|||
|
'left','center','right','justify',
|
|||
|
'ol','ul','subscript','superscript',
|
|||
|
'strikethrough','removeformat','indent',
|
|||
|
'outdent','hr','image','forecolor',
|
|||
|
'bgcolor','link','unlink','fontSize',
|
|||
|
'fontFamily','fontFormat']
|
|||
|
}).panelInstance('nicedit-js-area');
|
|||
|
});
|
|||
|
</script>'''
|
|||
|
nicedit_html2 = '''\
|
|||
|
<form action="/edit/insert_doc" enctype="multipart/form-data" method="post">
|
|||
|
<input type="hidden" name="url" value="{url}">
|
|||
|
{modify_doc}
|
|||
|
<input type="hidden" name="catid" value={catid}>
|
|||
|
{textarea}
|
|||
|
<p><b>Имя документа:</b><input type="text" name="doc_name" size=60 value="{docname}">
|
|||
|
<input type="submit" value="Готово"></p>
|
|||
|
</form>
|
|||
|
<div align="right">
|
|||
|
<a href="/category?catid={catid}">
|
|||
|
<i>← Обратно в раздел "{catname}"</i>
|
|||
|
</a>
|
|||
|
</div>'''
|
|||
|
nicedit_textarea = '''<textarea name="html" style="width: 100%;" id="nicedit-js-area">{input_html}</textarea>'''
|
|||
|
nicedit_js = r'''\
|
|||
|
LyogTmljRWRpdCAtIE1pY3JvIElubGluZSBXWVNJV1lHCiAqIENvcHlyaWdodCAyMDA3LTIwMDgg
|
|||
|
QnJpYW4gS2lyY2hvZmYKICoKICogTmljRWRpdCBpcyBkaXN0cmlidXRlZCB1bmRlciB0aGUgdGVy
|
|||
|
bXMgb2YgdGhlIE1JVCBsaWNlbnNlCiAqIEZvciBtb3JlIGluZm9ybWF0aW9uIHZpc2l0IGh0dHA6
|
|||
|
Ly9uaWNlZGl0LmNvbS8KICogRG8gbm90IHJlbW92ZSB0aGlzIGNvcHlyaWdodCBtZXNzYWdlCiAq
|
|||
|
Lwp2YXIgYmtFeHRlbmQgPSBmdW5jdGlvbigpewoJdmFyIGFyZ3MgPSBhcmd1bWVudHM7CglpZiAo
|
|||
|
YXJncy5sZW5ndGggPT0gMSkgYXJncyA9IFt0aGlzLCBhcmdzWzBdXTsKCW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Uuym90mxmN1WcatFQyoQAYq0HXfA3/4
|
|||
|
8yt+yfeG9p2HgA/DtwYh0AEC8QRs9lF0N1F2Z3d7xwSncAZWEIEROAaUQAlnUHgJYRd5QETL8QDN
|
|||
|
ATHRgQD3kWSUR3ENESbU8UiSoU8VBwl2VwkNQAgFFgEN4HGA1go7l4N+UHxdMHY9A3mstisQMVM1
|
|||
|
5ROMlh+PVn0EEQljMDIc4RqrkH11IASnJgpXgxAGIH6I0QflF3vA9wU6ZRCc8GvEhhXwl3UMIBoC
|
|||
|
8XU6uHM86IMOAYVnAQJstwY14HYdAAoC4QR8mAR+iASAiARHMIiEKBAOeAb+iJiIioiBCCEKD3Al
|
|||
|
P6YlGvEGnfd6TXYRt2VmsLd5l/d61HV6neh5CQEuPaMxpTddoFiJn6cQC5gFXuAAtWd7EFCDBqGJ
|
|||
|
AfCJ9jd++CciPegR4fUFvdM1TaSE4JVPpeiJqHgQmoiLBBEWipACo2ADKSCNUUEWC2EA8jN+XUgQ
|
|||
|
YPAFpoAIpPAFTkgQnGABZrU/C5CGf3Z/+Ed8W9CLE+GMUAECHuABHRACeKiHFEEkLNSPaYEYOoYQ
|
|||
|
dvAA+5ZqJniQIKEjsbMUHCeLDXAHFNEE8AJ2IScjKIKQS9iENVEAgAAIKZACnhARavABR6d0TDcQ
|
|||
|
iPAFD/UFq2AKwJcQnLBsZ62ghpgykRSJGBbpER3wdvpIEZLABUwQlEI5lFcgCRh5lEhJE3dwZw4A
|
|||
|
kRSxCGAwFEShBFRZlVVZBUmZFwVQADbAAwb5EGpAAARgACdZE1AplUtglWqJlR3RAXmYlXAZl3I5
|
|||
|
l3RZl3bpEAEBADs='''
|
|||
|
def ne_js():
|
|||
|
return b64decode(nicedit_js.encode('utf-8'))
|
|||
|
def ne_gif():
|
|||
|
return b64decode(nicedit_img.encode('utf-8'))
|
|||
|
def m_i():
|
|||
|
return b64decode(m_img.encode('utf-8'))
|