Skip to content

Commit 19ebcbf

Browse files
committed
Справка
1 parent f20401f commit 19ebcbf

9 files changed

Lines changed: 363 additions & 0 deletions

File tree

docs/Pic1.jpg

40.7 KB
Loading

docs/Pic2.jpg

43 KB
Loading

docs/doc.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2+
<html>
3+
<head>
4+
<meta content="text/html; charset=Windows-1251" http-equiv="content-type">
5+
<title>Документация</title>
6+
</head>
7+
<body>
8+
9+
<table style="text-align: left; width: 1000px; height: 816px; margin-left: auto; margin-right: auto; background-color: white;" border="0" cellpadding="2" cellspacing="2">
10+
<tbody>
11+
<tr>
12+
<td style="vertical-align: top; font-weight: bold; text-align: center; font-style: italic; color: rgb(51, 51, 153);"><big><big><big>Клиент-сервер<br><small><small>для сценарного языка</small></small> OneScript </big></big></big></td>
13+
<td style="width: 70px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="index.html"><button type="button">Главная</button></a><small><br></small></td>
14+
<td style="width: 90px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="screenshot.html"><button type="button">Скриншоты</button></a><br></td>
15+
<td style="width: 130px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="howworks.html"><button type="button">Как это работает</button></a><small><br></small></td>
16+
<td style="width: 110px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="doc.html"><button type="button">Документация</button></a><small><br></small></td>
17+
<td style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="down.html"><button type="button">Скачать</button></a><small><br></small></td>
18+
<th style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top; font-weight: normal;"><a href="kont.html"><button type="button">Контакты</button></a><small><br></small></th>
19+
</tr>
20+
<tr>
21+
<td colspan="7" rowspan="1" style="vertical-align: top; height: 747px; background-color: white;">
22+
<hr style="border-color: lightgray;">
23+
<div>
24+
<iframe src="OSClientServerRu//index.html" height="600" width="984"></iframe>
25+
</div>
26+
<br>
27+
<div style="text-align: right;"><a href="OSClientServerRu/index.html" target="_blank"><button type="button">Открыть отдельно</button></a><br></div>
28+
<p style="margin-left: 40px;"></p>
29+
</td>
30+
</tr>
31+
</tbody>
32+
</table>
33+
<br>
34+
<br>
35+
</body></html>

docs/down.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2+
<html>
3+
<head>
4+
<meta content="text/html; charset=Windows-1251" http-equiv="content-type">
5+
<link rel="stylesheet" type="text/css" href="theme.css">
6+
<title>Скачать</title>
7+
</head>
8+
<body>
9+
10+
<table style="text-align: left; width: 1000px; height: 816px; margin-left: auto; margin-right: auto; background-color: white;" border="0" cellpadding="2" cellspacing="2">
11+
<tbody>
12+
<tr>
13+
<td style="vertical-align: top; font-weight: bold; text-align: center; font-style: italic; color: rgb(51, 51, 153);"><big><big><big>Клиент-сервер<br><small><small>для сценарного языка</small></small> OneScript </big></big></big></td>
14+
<td style="width: 70px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="index.html"><button type="button">Главная</button></a><small><br></small></td>
15+
<td style="width: 90px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="screenshot.html"><button type="button">Скриншоты</button></a><br></td>
16+
<td style="width: 130px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="howworks.html"><button type="button">Как это работает</button></a><small><br></small></td>
17+
<td style="width: 110px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="doc.html"><button type="button">Документация</button></a><small><br></small></td>
18+
<td style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="down.html"><button type="button">Скачать</button></a><small><br></small></td>
19+
<th style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top; font-weight: normal;"><a href="kont.html"><button type="button">Контакты</button></a><small><br></small></th>
20+
</tr>
21+
<tr>
22+
<td colspan="7" rowspan="1" style="vertical-align: top; height: 747px; background-color: white;">
23+
<hr style="border-color: lightgray;">
24+
<p style="margin-left: 40px;">Первая версия ещё не вышла. Проект находится здесь: <a href="https://github.com/ahyahy/OneScriptClientServer" target="_blank">GitHub.</a></p>
25+
26+
27+
28+
29+
30+
31+
<hr style="border-color: lightgray; margin-left: 40px; margin-right: 40px;">
32+
</td>
33+
</tr>
34+
</tbody>
35+
</table>
36+
<br>
37+
<br>
38+
</body></html>

docs/howworks.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2+
<html>
3+
<head>
4+
<meta content="text/html; charset=Windows-1251" http-equiv="content-type">
5+
<link rel="stylesheet" type="text/css" href="theme.css">
6+
<title>КакЭтоРаботает</title>
7+
</head>
8+
<body>
9+
10+
<table style="text-align: left; width: 1000px; height: 816px; margin-left: auto; margin-right: auto; background-color: white;" border="0" cellpadding="2" cellspacing="2">
11+
<tbody>
12+
<tr>
13+
<td style="vertical-align: top; font-weight: bold; text-align: center; font-style: italic; color: rgb(51, 51, 153);"><big><big><big>Клиент-сервер<br><small><small>для сценарного языка</small></small> OneScript </big></big></big></td>
14+
<td style="width: 70px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="index.html"><button type="button">Главная</button></a><small><br></small></td>
15+
<td style="width: 90px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="screenshot.html"><button type="button">Скриншоты</button></a><br></td>
16+
<td style="width: 130px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="howworks.html"><button type="button">Как это работает</button></a><small><br></small></td>
17+
<td style="width: 110px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="doc.html"><button type="button">Документация</button></a><small><br></small></td>
18+
<td style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="down.html"><button type="button">Скачать</button></a><small><br></small></td>
19+
<th style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top; font-weight: normal;"><a href="kont.html"><button type="button">Контакты</button></a><small><br></small></th>
20+
</tr>
21+
<tr>
22+
<td colspan="7" rowspan="1" style="vertical-align: top; height: 747px; background-color: white;">
23+
<hr style="border-color: lightgray;">
24+
<p style="margin-left: 40px;">Ознакомьтесь со статьей на ресурсе infostart.ru - <b>Как решать повседневные задачи с помощью OneScript</b> <a href="https://infostart.ru/public/327581/index.php?ID=327581%3Flogout%3Dyes" target="_blank">здесь</a></p>
25+
<p style="margin-left: 40px;">Скачайте и установите <b>1Script - язык сценариев для специалистов по 1С</b> (сайт) <a href="http://oscript.io/" target="_blank">здесь</a></p>
26+
<p style="margin-left: 40px;"></p>
27+
</td>
28+
</tr>
29+
</tbody>
30+
</table>
31+
<br>
32+
<br>
33+
</body></html>

docs/index.html

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2+
<html>
3+
<head>
4+
<meta content="text/html; charset=Windows-1251" http-equiv="content-type">
5+
<title>Главная</title>
6+
</head>
7+
<body>
8+
9+
<table style="text-align: left; width: 1000px; height: 816px; margin-left: auto; margin-right: auto; background-color: white;" border="0" cellpadding="2" cellspacing="2">
10+
<tbody>
11+
<tr>
12+
<td style="vertical-align: top; font-weight: bold; text-align: center; font-style: italic; color: rgb(51, 51, 153);"><big><big><big>Клиент-сервер<br><small><small>для сценарного языка</small></small> OneScript </big></big></big></td>
13+
<td style="width: 70px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="index.html"><button type="button">Главная</button></a><small><br></small></td>
14+
<td style="width: 90px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="screenshot.html"><button type="button">Скриншоты</button></a><br></td>
15+
<td style="width: 130px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="howworks.html"><button type="button">Как это работает</button></a><small><br></small></td>
16+
<td style="width: 110px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="doc.html"><button type="button">Документация</button></a><small><br></small></td>
17+
<td style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="down.html"><button type="button">Скачать</button></a><small><br></small></td>
18+
<th style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top; font-weight: normal;"><a href="kont.html"><button type="button">Контакты</button></a><small><br></small></th>
19+
</tr>
20+
<tr>
21+
<td colspan="7" rowspan="1" style="vertical-align: top; height: 747px; background-color: white;">
22+
<hr style="border-color: lightgray;">
23+
<p style="margin-left: 40px;">&nbsp;&nbsp;&nbsp; На этом сайте представлена бесплатная библиотека создания клиент-серверных приложений для сценарного языка OneScript.
24+
<br>
25+
<br>&nbsp;&nbsp;&nbsp;Основой проекта послужила разработка автора Halil ibrahim Kalkan <a href="https://www.codeproject.com/Articles/155282/TCP-Server-Client-Communication-Implementation" target="_blank">A Complete TCP Server/Client Communication and RMI Framework in C# .NET - Implementation</a>
26+
под лицензией <a href="https://www.codeproject.com/info/cpol10.aspx" target="_blank">The Code Project Open License (CPOL) 1.02</a>
27+
<br>
28+
<br>&nbsp;&nbsp;&nbsp;С моей стороны была проведена адаптация вышеуказанной разработки для использования в коде односкрипта.
29+
</p>
30+
<p style="margin-left: 40px;"></p>
31+
</td>
32+
</tr>
33+
</tbody>
34+
</table>
35+
<br>
36+
<br>
37+
</body></html>

docs/kont.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2+
<html>
3+
<head>
4+
<meta content="text/html; charset=Windows-1251" http-equiv="content-type">
5+
<title>Контакты</title>
6+
</head>
7+
<body>
8+
9+
<table style="text-align: left; width: 1000px; height: 816px; margin-left: auto; margin-right: auto; background-color: white;" border="0" cellpadding="2" cellspacing="2">
10+
<tbody>
11+
<tr>
12+
<td style="vertical-align: top; font-weight: bold; text-align: center; font-style: italic; color: rgb(51, 51, 153);"><big><big><big>Клиент-сервер<br><small><small>для сценарного языка</small></small> OneScript </big></big></big></td>
13+
<td style="width: 70px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="index.html"><button type="button">Главная</button></a><small><br></small></td>
14+
<td style="width: 90px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="screenshot.html"><button type="button">Скриншоты</button></a><br></td>
15+
<td style="width: 130px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="howworks.html"><button type="button">Как это работает</button></a><small><br></small></td>
16+
<td style="width: 110px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="doc.html"><button type="button">Документация</button></a><small><br></small></td>
17+
<td style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="down.html"><button type="button">Скачать</button></a><small><br></small></td>
18+
<th style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top; font-weight: normal;"><a href="kont.html"><button type="button">Контакты</button></a><small><br></small></th>
19+
</tr>
20+
<tr>
21+
<td colspan="7" rowspan="1" style="vertical-align: top; height: 747px; background-color: white;">
22+
<hr style="border-color: lightgray;">
23+
<p style="margin-left: 40px;">Алёшечкин Владимир Юрьевич, по образованию - инженер, химик-технолог.</p>
24+
<p style="margin-left: 40px;">Последняя профессия - системный администратор. В настоящее время пенсионер. Программирование перестало быть работой и перешло в разряд
25+
увлечений.</p>
26+
<p style="margin-left: 40px;">Свои замечания прошу высылать на <b>Email:</b> min6220@yandex.ru</p>
27+
</td>
28+
</tr>
29+
</tbody>
30+
</table>
31+
<br>
32+
<br>
33+
</body></html>

docs/screenshot.html

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2+
<html>
3+
<head>
4+
<meta content="text/html; charset=Windows-1251" http-equiv="content-type">
5+
<title>Скриншоты</title>
6+
<link href="theme.css" rel="StyleSheet">
7+
</head>
8+
<body>
9+
10+
<table style="text-align: left; width: 1000px; height: 816px; margin-left: auto; margin-right: auto; background-color: white;" border="0" cellpadding="2" cellspacing="2">
11+
<tbody>
12+
<tr>
13+
<td style="vertical-align: top; font-weight: bold; text-align: center; font-style: italic; color: rgb(51, 51, 153);"><big><big><big>Клиент-сервер<br><small><small>для сценарного языка</small></small> OneScript </big></big></big></td>
14+
<td style="width: 70px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="index.html"><button type="button">Главная</button></a><small><br></small></td>
15+
<td style="width: 90px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="screenshot.html"><button type="button">Скриншоты</button></a><br></td>
16+
<td style="width: 130px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="howworks.html"><button type="button">Как это работает</button></a><small><br></small></td>
17+
<td style="width: 110px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="doc.html"><button type="button">Документация</button></a><small><br></small></td>
18+
<td style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top;"><a href="down.html"><button type="button">Скачать</button></a><small><br></small></td>
19+
<th style="width: 75px; text-align: center; color: rgb(51, 51, 51); vertical-align: top; font-weight: normal;"><a href="kont.html"><button type="button">Контакты</button></a><small><br></small></th>
20+
</tr>
21+
<tr>
22+
<td colspan="7" rowspan="1" style="vertical-align: top; height: 747px; background-color: white;">
23+
<hr style="border-color: lightgray;">
24+
<p style="margin-left: 40px;">Для примера снимки экрана.</p>
25+
<figure>
26+
<img id="myImg01" src="Pic1.jpg" alt="Сервер">
27+
<div id="myModal01" class="modal">
28+
<span id="close01" class="close">×</span>
29+
<img id="img01" class="modal-content">
30+
<div id="caption">Сервер</div>
31+
</div>
32+
<img id="myImg02" src="Pic2.jpg" alt="Клиент">
33+
<div id="myModal02" class="modal">
34+
<span id="close02" class="close">×</span>
35+
<img id="img02" class="modal-content">
36+
<div id="caption">Клиент</div>
37+
</div>
38+
</figure>
39+
<p></p>
40+
</td>
41+
</tr>
42+
</tbody>
43+
</table>
44+
<br>
45+
<br>
46+
<script>
47+
var img01 = document.getElementById('myImg01');
48+
var modal01 = document.getElementById('myModal01');
49+
var modalImg01 = document.getElementById("img01");
50+
img01.onclick = function(){
51+
modal01.style.display = "block";
52+
modalImg01.src = img01.src;
53+
}
54+
var span01 = document.getElementById("close01");
55+
span01.onclick = function(){
56+
modal01.style.display = "none";
57+
}
58+
59+
var img02 = document.getElementById('myImg02');
60+
var modal02 = document.getElementById('myModal02');
61+
var modalImg02 = document.getElementById("img02");
62+
img02.onclick = function(){
63+
modal02.style.display = "block";
64+
modalImg02.src = img02.src;
65+
}
66+
var span02 = document.getElementById("close02");
67+
span02.onclick = function(){
68+
modal02.style.display = "none";
69+
}
70+
</script>
71+
</body></html>

docs/theme.css

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
summary {
2+
cursor: pointer; /* курсор на метке имеет вид руки */
3+
}
4+
summary:hover {
5+
color:#ff3200; /* изменение цвета метки при наведении */
6+
}
7+
pre.code {
8+
background-color: #eeeeee; /* фон для текста примера */
9+
padding: 4px 6px 4px 6px;
10+
}
11+
.container {
12+
width: 100%; /* ширина блока-контейнера */
13+
max-width: 1000px; /* максимальная ширина контейнера */
14+
margin: 0 auto; /* этот стиль центрирует контейнер */
15+
}
16+
.photo {
17+
float: left; /* говорим элементам выстраиваться один за другим */
18+
width: 25%; /* устанавливаем ширину элемента */
19+
padding: 8px; /* добавляем отступы с каждой стороны */
20+
box-sizing: border-box; /* меняем способ вычисления ширины */
21+
}
22+
.photo a:hover {
23+
opacity: 0.5;
24+
}
25+
.photo a {
26+
display: block;
27+
}
28+
figcaption {
29+
font-family: 'Open Sans', sans-serif;
30+
color: #999999;
31+
text-align: center;
32+
margin-top: 20px;
33+
}
34+
img {
35+
border: 1px solid #ddd; /* Gray border */
36+
border-radius: 4px; /* Rounded border */
37+
padding: 5px; /* Some padding */
38+
width: 240px; /* Set a small width */
39+
cursor: pointer;
40+
}
41+
img:hover {
42+
box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
43+
opacity: 0.7;
44+
}
45+
/* The Modal (background) */
46+
.modal {
47+
display: none; /* Hidden by default */
48+
position: fixed; /* Stay in place */
49+
z-index: 1; /* Sit on top */
50+
padding-top: 10px; /* Location of the box */
51+
left: 0;
52+
top: 0;
53+
width: 100%; /* Full width */
54+
height: 100%; /* Full height */
55+
overflow: auto; /* Enable scroll if needed */
56+
background-color: rgb(0,0,0); /* Fallback color */
57+
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
58+
}
59+
/* Modal Content (image) */
60+
.modal-content {
61+
margin: auto;
62+
display: block;
63+
width: 80%;
64+
max-width: 1000px;
65+
}
66+
.modal-content:hover {
67+
opacity: 1;
68+
}
69+
/* Caption of Modal Image */
70+
#caption {
71+
margin: auto;
72+
display: block;
73+
width: 80%;
74+
max-width: 700px;
75+
text-align: center;
76+
color: #ccc;
77+
padding: 10px 0;
78+
height: 150px;
79+
}
80+
/* Add Animation */
81+
.modal-content, #caption {
82+
-webkit-animation-name: zoom;
83+
-webkit-animation-duration: 0.6s;
84+
animation-name: zoom;
85+
animation-duration: 0.6s;
86+
}
87+
@-webkit-keyframes zoom {
88+
from {-webkit-transform:scale(0)}
89+
to {-webkit-transform:scale(1)}
90+
}
91+
@keyframes zoom {
92+
from {transform:scale(0)}
93+
to {transform:scale(1)}
94+
}
95+
/* The Close Button */
96+
.close {
97+
position: absolute;
98+
top: 15px;
99+
right: 35px;
100+
color: #f1f1f1;
101+
font-size: 40px;
102+
font-weight: bold;
103+
transition: 0.3s;
104+
}
105+
.close:hover,
106+
.close:focus {
107+
color: #bbb;
108+
text-decoration: none;
109+
cursor: pointer;
110+
}
111+
/* 100% Image Width on Smaller Screens */
112+
@media only screen and (max-width: 700px){
113+
.modal-content {
114+
width: 100%;
115+
}
116+
}

0 commit comments

Comments
 (0)