Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .theia/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!-- Тег HTML, с него начинается страница -->
<html>
<head>
<title>Заголовок страницы</title>
<!-- Подключаем JavaScript'овый скрипт с названием current_script.js -->
<script type='text/javascript' src='current_script.js'></script>
<!-- Подключаем main.css -->
<link rel='StyleSheet' type='text/css' href='main.css' />
</head>
<body>
<div id='form_A'>
<form action='user_checking.php' method='POST'>
<input type='text' value='Имя' name='first_name' class='field' size='10' /><br />
<input type='text' value='Фамилия' name='last_name' class='field' size='15' /><br />
<br />
<!-- Кнопка отправки данных формы на сервер -->
<input type='submit' value='Проверить' class='button' name='check_button'
onmouseover="check_fields('first_name', 'last_name'); " />
</form>
</div>
</body>
</html>
hhhhhhhhhhhhhhhhhhhhhhh
35 changes: 35 additions & 0 deletions .theia/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Launch)",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopOnEntry": false,
"mainClass": "",
"args": ""
},
{
"type": "java",
"name": "Debug (Launch)-HelloWorld<HelloWorld>",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopOnEntry": false,
"mainClass": "HelloWorld",
"args": "",
"projectName": "HelloWorld"
},
{
"type": "java",
"name": "Debug (Attach)",
"request": "attach",
"hostName": "localhost",
"port": "<debug port of remote debuggee>"
}
]
}
22 changes: 22 additions & 0 deletions .theia/maintest.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* звездочка означает, что стиль применяется ко всем html элементам */
* {margin: 0; padding: 0;}
/* для html, body устанавливаем ширину, высоту и цвет заднего фона */
html, body {width: 100%; height: 100%; background-color: #f0f0f0; }

#form_A {
/* Абсолютное позиционирование - будем перемещать его сами */
position: absolute;
/* Перемещаем направо и вниз на половину экрана */
left: 50%; top: 50%;
/* Выставляем ширину и высоту блока */
width: 300px; height: 150px;
/* Перемещаем налево на половину ширину, и вверх - на половину высоту */
margin-left: -150px; margin-top: -75px;
/* Устанавливаем цвет заднего фона в серый */
background-color: #ccc;

/* Устанавливаем бордюры */
border-left: 2px solid #999; border-top: 2px solid #999;
border-right: 2px solid #333; border-bottom: 2px solid #333;
/* Благодаря ним добиваемся 3D эффекта объемности */
}
18 changes: 18 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!-- Тег HTML, с него начинается страница -->
<html>
<head>
<title>Заголовок страницы</title>
<!-- Подключаем JavaScript'овый скрипт с названием current_script.js -->
<script type='text/javascript' src='current_script.js'></script>
<!-- Подключаем main.css -->
<link rel='StyleSheet' type='text/css' href='main.css' />
</head>
<body>
<div id='form_A'>
<form action='user_checking.php' method='POST'>
<input type='text' value='Имя' name='first_name' class='field' size='10' /><br />
<input type='text' value='Фамилия' name='last_name' class='field' size='15' /><br />
<br />
<!-- Кнопка отправки данных формы на сервер -->
<input type='submit' value='Проверить' class='button' name='check_button'
onmouseover="check_fields('first_name', 'last_name'); " />