laba2
8
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
9
.idea/Internet-programming.iml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
6
.idea/misc.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager">
|
||||||
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
|
</component>
|
||||||
|
</project>
|
8
.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/Internet-programming.iml" filepath="$PROJECT_DIR$/.idea/Internet-programming.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
880
CSS/style.css
Normal file
@ -0,0 +1,880 @@
|
|||||||
|
*,*:before,*after{
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.selector-for-some-widget {
|
||||||
|
box-sizing: content-box;
|
||||||
|
}
|
||||||
|
header {
|
||||||
|
background-color: #03001F;
|
||||||
|
color: #ffffff;
|
||||||
|
height: 64px;
|
||||||
|
padding: 0.5em;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.navbar-collapse{
|
||||||
|
background-color: #03001F;
|
||||||
|
}
|
||||||
|
.dropdown-menu{
|
||||||
|
background-color: #03001F;
|
||||||
|
}
|
||||||
|
|
||||||
|
header nav {
|
||||||
|
justify-content: flex-end !important;
|
||||||
|
display: flex !important;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
header nav {
|
||||||
|
height: 64px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.aboba{
|
||||||
|
height: 64px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 1020px){
|
||||||
|
.card-group{
|
||||||
|
margin-top: 5%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
header nav a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-link{
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
.nav-item{
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-secondary{
|
||||||
|
font-size: 40px;
|
||||||
|
width: 15rem;
|
||||||
|
margin: 0 0 0 0.5%;
|
||||||
|
}
|
||||||
|
.btn-outline-info{
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
.btn-light{
|
||||||
|
max-width: 50rem;
|
||||||
|
width: 50rem;
|
||||||
|
font-size: 45px;
|
||||||
|
margin: 2% 2% 0 2%;
|
||||||
|
}
|
||||||
|
.card-group {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
.rows{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
.images{
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
@media (max-width: 1200px ){
|
||||||
|
.selector-for-some-widget {
|
||||||
|
box-sizing: content-box;
|
||||||
|
}
|
||||||
|
.nav-link{
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
.navbar-nav{
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
.navbar{
|
||||||
|
margin-bottom: 5%;
|
||||||
|
}
|
||||||
|
.btn-secondary{
|
||||||
|
font-size: 40px;
|
||||||
|
}
|
||||||
|
.btn-light{
|
||||||
|
max-width: 50rem;
|
||||||
|
width: 50rem;
|
||||||
|
font-size: 45px;
|
||||||
|
margin: 2% 2% 0 2%;
|
||||||
|
}
|
||||||
|
.card-group {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
.prev{
|
||||||
|
margin-left: 25%;
|
||||||
|
max-width: 15rem;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 1020px){
|
||||||
|
.selector-for-some-widget {
|
||||||
|
box-sizing: content-box;
|
||||||
|
}
|
||||||
|
.nav-link{
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-item{
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
.btn-secondary{
|
||||||
|
font-size: 20px;
|
||||||
|
width: 17rem;
|
||||||
|
}
|
||||||
|
.btn-light{
|
||||||
|
max-width: 50rem;
|
||||||
|
width: 50rem;
|
||||||
|
font-size: 45px;
|
||||||
|
margin: 2% 2% 0 2%;
|
||||||
|
}
|
||||||
|
.prev{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 50%;
|
||||||
|
width: 50%;
|
||||||
|
height: 50%;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
.images{
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
.genreselection{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.btn-light{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.text{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.btn-group{
|
||||||
|
margin-left: 20%;
|
||||||
|
margin-top: 20%;
|
||||||
|
width: 60%;
|
||||||
|
height: 60%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 1020px){
|
||||||
|
.btn-group{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.genreselection{
|
||||||
|
display: flex;
|
||||||
|
font-family: Inter, serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
@media (max-width: 510px){
|
||||||
|
.prev{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 50%;
|
||||||
|
width: 60%;
|
||||||
|
height: 50%;
|
||||||
|
font-size: 7px;
|
||||||
|
}
|
||||||
|
.btn-group{
|
||||||
|
margin-left: 20%;
|
||||||
|
margin-top: 20%;
|
||||||
|
width: 60%;
|
||||||
|
height: 60%;
|
||||||
|
}
|
||||||
|
.btn-secondary{
|
||||||
|
font-size: 20px;
|
||||||
|
width: 10rem;
|
||||||
|
}
|
||||||
|
.card-group{
|
||||||
|
margin-top: 10%;
|
||||||
|
}
|
||||||
|
.navbar-brand{
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 1200px) {
|
||||||
|
}
|
||||||
|
.info{
|
||||||
|
padding-top: 0;
|
||||||
|
margin-left: 10%;
|
||||||
|
font-size: 25px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
.FIO{
|
||||||
|
font-size: 40px;
|
||||||
|
margin-top: -15%;
|
||||||
|
}
|
||||||
|
.LK-img{
|
||||||
|
height: 30%;
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
.LK_block{
|
||||||
|
margin-left: 8%;
|
||||||
|
margin-top: 10%;
|
||||||
|
}
|
||||||
|
@media (max-width: 990px){
|
||||||
|
.blocks{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-left: 20%;
|
||||||
|
}
|
||||||
|
.LK-img{
|
||||||
|
min-height: 20%;
|
||||||
|
min-width: 20%;
|
||||||
|
}
|
||||||
|
.Title_blocks{
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 615px){
|
||||||
|
.DobPhoto{
|
||||||
|
margin-top: 5%;
|
||||||
|
margin-left: 5%;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
.upload-container{
|
||||||
|
margin-left: 25%;
|
||||||
|
margin-top: 5%;
|
||||||
|
}
|
||||||
|
.info{
|
||||||
|
margin-top: 15%;
|
||||||
|
}
|
||||||
|
.Title_blocks{
|
||||||
|
font-size: 15px
|
||||||
|
}
|
||||||
|
.button_add{
|
||||||
|
margin-left: 25%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 400px){
|
||||||
|
.upload-container{
|
||||||
|
width: 10%;
|
||||||
|
margin-left: 5%;
|
||||||
|
}
|
||||||
|
.info{
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
.FIO{
|
||||||
|
font-size: 25px;
|
||||||
|
}
|
||||||
|
.button_add{
|
||||||
|
margin-left: 5%;
|
||||||
|
}
|
||||||
|
.navbar-brand{
|
||||||
|
width: 10%;
|
||||||
|
height: 5%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 615px) {
|
||||||
|
.DobPhoto {
|
||||||
|
padding: 0;
|
||||||
|
margin: 8% 0 0 2%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: left;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.needs-validation{
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
.film{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
margin-top: 2%;
|
||||||
|
}
|
||||||
|
.Rating{
|
||||||
|
width: 300px;
|
||||||
|
margin-left: 2%;
|
||||||
|
}
|
||||||
|
.prevFilm{
|
||||||
|
width: 90%;
|
||||||
|
margin-top: 15%;
|
||||||
|
margin-left: 5%;
|
||||||
|
}
|
||||||
|
.rat{
|
||||||
|
color: white;
|
||||||
|
font-size: 25px;
|
||||||
|
margin-top: 5%;
|
||||||
|
margin-left: 8%;
|
||||||
|
}
|
||||||
|
.watch{
|
||||||
|
margin-top: 5%;
|
||||||
|
margin-left: 10%;
|
||||||
|
}
|
||||||
|
.description{
|
||||||
|
width: 250px;
|
||||||
|
margin-left: 5%;
|
||||||
|
}
|
||||||
|
.description_info{
|
||||||
|
background-color: #414141;
|
||||||
|
color: white;
|
||||||
|
border-radius: 15px;
|
||||||
|
width: 90%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 5%;
|
||||||
|
margin-left: 5%;
|
||||||
|
font-size: 20px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
.actorList{
|
||||||
|
width: 250px;
|
||||||
|
margin-left: 2%;
|
||||||
|
}
|
||||||
|
.actor{
|
||||||
|
background-color: #414141;
|
||||||
|
color: white;
|
||||||
|
border-radius: 15px;
|
||||||
|
width: 100%;
|
||||||
|
height: 140%;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 15%;
|
||||||
|
margin-left: 5%;
|
||||||
|
font-size: 20px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
@media (min-width: 990px){
|
||||||
|
.MainTitle{
|
||||||
|
width: 200px;
|
||||||
|
height: 70px;
|
||||||
|
margin: 2% 0 0 3%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 990px){
|
||||||
|
.MainTitle{
|
||||||
|
width: 200px;
|
||||||
|
height: 70px;
|
||||||
|
margin-top: 5%;
|
||||||
|
}
|
||||||
|
.Rating{
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
.description{
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
.actor{
|
||||||
|
width: 250px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 770px) {
|
||||||
|
.MainTitle{
|
||||||
|
width: 170px;
|
||||||
|
height: 60px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.film{
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
.prevFilm{
|
||||||
|
width: 60%;
|
||||||
|
margin-left: 30%;
|
||||||
|
margin-top: 10%;
|
||||||
|
}
|
||||||
|
.Rating{
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
.rat{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 2%;
|
||||||
|
}
|
||||||
|
.description{
|
||||||
|
margin-left: 3%;
|
||||||
|
}
|
||||||
|
.description_info{
|
||||||
|
width: 138%;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
.actor{
|
||||||
|
height: 100px;
|
||||||
|
width: 200%;
|
||||||
|
margin-left: 9%;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
@media (max-width: 580px){
|
||||||
|
.description{
|
||||||
|
width: 90%;
|
||||||
|
}
|
||||||
|
.description_info{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.actorList{
|
||||||
|
width: 90%;
|
||||||
|
}
|
||||||
|
.actor{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 5%;
|
||||||
|
margin-left: 6%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.video-container {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mediaLK{
|
||||||
|
margin-top: 1%;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
.LK2{
|
||||||
|
margin-top: 1%;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
.index{
|
||||||
|
margin-top: 1%;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
.film{
|
||||||
|
margin-top: 1%;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
.admin{
|
||||||
|
margin-top: 1%;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
.input{
|
||||||
|
margin-top: 1%;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
@media (max-width: 1200px){
|
||||||
|
.mediaLK{
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.LK2{
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.index{
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.film{
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.admin{
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.input{
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 550px){
|
||||||
|
.video-container{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 15%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 550px){
|
||||||
|
.video-player{
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
.video-container{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 45%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.pageLK{
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: -4% 0 2% 70%;
|
||||||
|
}
|
||||||
|
.text{
|
||||||
|
color: white;
|
||||||
|
font-size: 40px;
|
||||||
|
font-family: JejuGothic, serif;
|
||||||
|
margin: 12% 0 0 0;
|
||||||
|
}
|
||||||
|
.Photo{
|
||||||
|
height: 32%;
|
||||||
|
width: 27%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Ganr{
|
||||||
|
background: #8C8C8C;
|
||||||
|
color: white;
|
||||||
|
width: 40%;
|
||||||
|
height: 60px;
|
||||||
|
border-radius: 50px;
|
||||||
|
text-align: center;
|
||||||
|
margin: 1% 1% 0 1%;
|
||||||
|
font-size: 35px;
|
||||||
|
padding: 1% 0 0 0;
|
||||||
|
}
|
||||||
|
.Genre{
|
||||||
|
background: #D9D9D9;
|
||||||
|
color: white;
|
||||||
|
width: 50%;
|
||||||
|
height: 55px;
|
||||||
|
border-radius: 10px;
|
||||||
|
text-align: center;
|
||||||
|
margin: 1.5% 1% 0 1%;
|
||||||
|
font-size: 35px;
|
||||||
|
padding: 1% 0 0 0;
|
||||||
|
}
|
||||||
|
.Genre2{
|
||||||
|
background: #D9D9D9;
|
||||||
|
color: white;
|
||||||
|
width: 50%;
|
||||||
|
height: 55px;
|
||||||
|
border-radius: 10px;
|
||||||
|
text-align: center;
|
||||||
|
margin: 1.5% 1% 0 1%;
|
||||||
|
font-size: 35px;
|
||||||
|
padding: 1% 0 0 0;
|
||||||
|
}
|
||||||
|
.body{
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
}
|
||||||
|
.Join{
|
||||||
|
position: absolute;
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 5%;
|
||||||
|
margin: 10% 25% 10% 35%;
|
||||||
|
height: 50%;
|
||||||
|
width: 35%;
|
||||||
|
}
|
||||||
|
.name{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 10% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.Title{
|
||||||
|
width:150px;
|
||||||
|
height:50px;
|
||||||
|
margin: 5% 25% 1% 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.Join{
|
||||||
|
position: absolute;
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 5%;
|
||||||
|
margin: 12% 14% 12% 14%;
|
||||||
|
height: 80%;
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
.name{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 30% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.pass{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 25% 10% 5% 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.ButtonJoin{
|
||||||
|
background-color: #03001F;
|
||||||
|
color: white;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 15% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.Mistake{
|
||||||
|
color: #0047FF;
|
||||||
|
font-size: 20px;
|
||||||
|
margin: 5% 0 0 30%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.pass{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 8% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.ButtonJoin{
|
||||||
|
background-color: #03001F;
|
||||||
|
color: white;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 8% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.Mistake{
|
||||||
|
color: #0047FF;
|
||||||
|
font-size: 14px;
|
||||||
|
margin: 5% 0 0 55%;
|
||||||
|
}
|
||||||
|
@media (min-width: 800px) {
|
||||||
|
.reg_pass{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 3% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_ButtonJoin{
|
||||||
|
background-color: #03001F;
|
||||||
|
color: white;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 3% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_name{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 3% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.Title{
|
||||||
|
width:150px;
|
||||||
|
height:50px;
|
||||||
|
margin: 5% 25% 1% 25%;
|
||||||
|
}
|
||||||
|
.reg_login{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 3% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_mail{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 3% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.reg_pass{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 5% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_ButtonJoin{
|
||||||
|
background-color: #03001F;
|
||||||
|
color: white;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 15% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_name{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 2% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.Title{
|
||||||
|
width:200px;
|
||||||
|
height:75px;
|
||||||
|
margin: 10% 7% 1% 7%;
|
||||||
|
}
|
||||||
|
.reg_login{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 5% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_mail{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 5% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 400px) {
|
||||||
|
.reg_pass{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 10% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_ButtonJoin{
|
||||||
|
background-color: #03001F;
|
||||||
|
color: white;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 10% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_name{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 10% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.Title{
|
||||||
|
width:150px;
|
||||||
|
height:75px;
|
||||||
|
margin: 5% 7% 1% 7%;
|
||||||
|
}
|
||||||
|
.reg_login{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 10% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.reg_mail{
|
||||||
|
background-color: #D9D9D9;
|
||||||
|
color: black;
|
||||||
|
font-size: 28px;
|
||||||
|
margin: 10% 10% 0 15%;
|
||||||
|
width: 70%;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50px;
|
||||||
|
}
|
||||||
|
.Mistake{
|
||||||
|
color: #0047FF;
|
||||||
|
font-size: 14px;
|
||||||
|
margin: 7% 0 0 38%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.EnterLK{
|
||||||
|
background: #03001F;
|
||||||
|
color: white;
|
||||||
|
font-family: Inter, serif;
|
||||||
|
margin: -5% 1% 5% 75%;
|
||||||
|
width: 60px;
|
||||||
|
height: 25px;
|
||||||
|
border: 1px solid #03B8B8;
|
||||||
|
border-radius: 50px;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
.RegLk{
|
||||||
|
background: #03001F;
|
||||||
|
color: white;
|
||||||
|
font-family: Inter, serif;
|
||||||
|
margin: -5% 1% 5% 0;
|
||||||
|
width: 120px;
|
||||||
|
height: 25px;
|
||||||
|
border: 1px solid #03B8B8;
|
||||||
|
border-radius: 50px;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
.buttonLK{
|
||||||
|
background: #03001F;
|
||||||
|
color: white;
|
||||||
|
font-family: Inter, serif;
|
||||||
|
margin: -5% 1% 5% 0;
|
||||||
|
width: 150px;
|
||||||
|
height: 25px;
|
||||||
|
border: 1px solid #03B8B8;
|
||||||
|
border-radius: 50px;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
.buttonLK:visited{
|
||||||
|
color: white;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#upload-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 200px;
|
||||||
|
height: 250px;
|
||||||
|
outline: 2px dashed #5d5d5d;
|
||||||
|
outline-offset: -12px;
|
||||||
|
background-color: #e0f2f7;
|
||||||
|
font-family: 'Segoe UI';
|
||||||
|
color: #1f3c44;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#upload-container img {
|
||||||
|
width: 40%;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#upload-container label {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#upload-container label:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
#upload-container div {
|
||||||
|
position: relative;
|
||||||
|
z-index: 10;
|
||||||
|
padding: 0 0 0 10%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#upload-container input[type=file] {
|
||||||
|
width: 0.1px;
|
||||||
|
height: 0.1px;
|
||||||
|
opacity: 0;
|
||||||
|
position: absolute;
|
||||||
|
z-index: -10;
|
||||||
|
|
||||||
|
}
|
||||||
|
.button_input{
|
||||||
|
margin-top: 2%;
|
||||||
|
}
|
||||||
|
@media (max-width: 615px){
|
||||||
|
.AdminPanel{
|
||||||
|
margin-top: 5%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.text-center{
|
||||||
|
margin-top: 1%;
|
||||||
|
}
|
68
Film.html
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="CSS/style.css">
|
||||||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark film fixed-top">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="img/Title.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<div class="film rows container item">
|
||||||
|
<div class="Rating" style="">
|
||||||
|
<div>
|
||||||
|
<img class="prevFilm" src="img/Prev.png" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="rat">
|
||||||
|
Рейтинг
|
||||||
|
</div>
|
||||||
|
<div class="rat">
|
||||||
|
10 из 10
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="description">
|
||||||
|
<div class="rat">
|
||||||
|
Название фильма
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button class="btn btn-warning watch" type="button"><a class="nav-link" aria-current="page" href="media.html" style="text-decoration: none">Просмотр</a></button>
|
||||||
|
</div>
|
||||||
|
<div class="description_info">
|
||||||
|
Описание фильма
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="actorList">
|
||||||
|
<div class="actor">
|
||||||
|
Актерский состав
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
8
IP.iml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
81
Input.html
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="CSS/style.css">
|
||||||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark HeadInput input fixed-top">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="img/Title.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main class="container-fluid p-2">
|
||||||
|
<div class="text-center">
|
||||||
|
<img id="image-preview" src="https://via.placeholder.com/200" class="rounded rounded-circle"
|
||||||
|
alt="placeholder">
|
||||||
|
</div>
|
||||||
|
<form id="items-form" class="needs-validation" novalidate>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label for="item" class="form-label">Жанр</label>
|
||||||
|
<select id="item" class="form-select" name="selected" required>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label for="title" class="form-label">Название видео</label>
|
||||||
|
<input id="title" class="form-control" name="selected" required>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label class="form-label" for="cast">Актерский состав</label>
|
||||||
|
<input id="cast" name="price" class="form-control" type="text" style="height: 10%" required>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label class="form-label" for="description">Описание</label>
|
||||||
|
<input id="description" name="description" class="form-control" type="text" style="height: 10%" required>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label class="form-label" for="image">Изображение</label>
|
||||||
|
<input id="image" type="file" name="image" class="form-control" accept="image/*">
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label class="form-label" for="video">Видеофайл</label>
|
||||||
|
<input id="video" type="file" name="video" class="form-control" accept="video/*">
|
||||||
|
</div>
|
||||||
|
<a href="admin.html" class="btn btn-secondary" style="height: 7%;font-size: 16px">Назад</a>
|
||||||
|
<button type="submit" class="btn btn-primary">Сохранить</button>
|
||||||
|
</form>
|
||||||
|
</main>
|
||||||
|
<script type="module">
|
||||||
|
import validation from "./js/validation";
|
||||||
|
import { linesPageForm } from "./js/lines"
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
validation();
|
||||||
|
linesPageForm();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
25
Join.html
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Вход в OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="CSS/style.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F"></body>
|
||||||
|
<main>
|
||||||
|
<div class="Join">
|
||||||
|
<center><a href="index.html"><img src="img/Title_black.png" alt="название" class="Title"></a></center>
|
||||||
|
<div>
|
||||||
|
<input class="name" placeholder="Логин / почта пользователя" tabindex="1" name="username" type="text"/>
|
||||||
|
<input class="pass" placeholder="Пароль" tabindex="1" name="password" type="password"/>
|
||||||
|
<a class="Mistake">Забыли пароль?</a>
|
||||||
|
<button class="ButtonJoin" type="submit">Войти</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</html>
|
99
LK.html
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="CSS/style.css">
|
||||||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark LK2 fixed-top">
|
||||||
|
<div class="container-fluid LK">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="img/Title.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<div class="DobPhoto rows">
|
||||||
|
<form id="upload-container" class="upload-container" method="POST" action="send.php">
|
||||||
|
<img id="upload-image" src="img/icons8-загрузить-64.png">
|
||||||
|
<div>
|
||||||
|
<input id="file-input" type="file" name="file" multiple>
|
||||||
|
<label for="file-input">Выберите файл</label>
|
||||||
|
<span>или перетащите его сюда</span>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<div class="info">
|
||||||
|
<div class="FIO">Иван Иванов</div>
|
||||||
|
<div class="info_list-item" style="margin-top: 5%">Дата рождения - 25.09.2018</div>
|
||||||
|
<div class="info_list-item" style="margin-top: 5%">Просмотрено фильмов - 123</div>
|
||||||
|
<div class="info_list-item" style="margin-top: 5%; margin-bottom: 5%">Просмотрено сериалов - 123</div>
|
||||||
|
<button class="btn btn-outline-warning button_add" type="button"><a class="nav-link" aria-current="page" href="admin.html" style="text-decoration: none">Панель администратора</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
<div class="blocks rows">
|
||||||
|
<div class="LK_block" style="">
|
||||||
|
<div class="rows">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью" style="margin-right: 2%; margin-bottom: 2%">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="rows">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью" style="margin-right: 2%">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="Title_blocks" style="color: white; margin-left: 10%">
|
||||||
|
Любимые фильмы
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="LK_block">
|
||||||
|
<div class="rows">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью" style="margin-right: 2%; margin-bottom: 2%">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="rows">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью" style="margin-right: 2%">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="Title_blocks" style="color: white; margin-left: 10%">
|
||||||
|
Любимые сериалы
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="LK_block">
|
||||||
|
<div class="rows">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью" style="margin-right: 2%; margin-bottom: 2%">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="rows">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью" style="margin-right: 2%">
|
||||||
|
<img src="img/Prev.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="Title_blocks" style="color: white; margin-left: 20%">
|
||||||
|
Ожидаемое
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
28
Register.html
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="CSS/style.css">
|
||||||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F"></body>
|
||||||
|
<main>
|
||||||
|
<div class="Join">
|
||||||
|
<center><a href="index.html"><img src="img/Title_black.png" alt="название" class="Title"></a></center>
|
||||||
|
<div>
|
||||||
|
<input class="reg_name" placeholder="Имя" tabindex="1" name="username" type="text"/>
|
||||||
|
<input class="reg_login" placeholder="Логин" tabindex="2" name="login" type="text"/>
|
||||||
|
<input class="reg_mail" placeholder="Почта пользователя" tabindex="3" name="mail" type="email">
|
||||||
|
<input class="reg_pass" placeholder="Пароль" tabindex="4" name="password" type="password"/>
|
||||||
|
<button class="reg_ButtonJoin" type="submit">Регистрация</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</html>
|
65
admin.html
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="CSS/style.css">
|
||||||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark admin fixed-top">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="img/Title.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main class="container-fluid p-2">
|
||||||
|
<div class="button_input">
|
||||||
|
<button class="btn btn-outline-warning AdminPanel" type="button"><a class="nav-link" aria-current="page" href="Input.html" style="text-decoration: none">Добавить фильм</a></button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<table id="items-table" class="table table-striped" style="--bs-table-bg: #03001F; --bs-table-border-color: #03001F; --bs-table-color: white; --bs-table-striped-color: white; border-color: white">
|
||||||
|
<thead>
|
||||||
|
<th scope="col" class="colums">№</th>
|
||||||
|
<th scope="col" class="w-25 colums">Жанр</th>
|
||||||
|
<th scope="col" class="w-25 colums">Название</th>
|
||||||
|
<th scope="col" class="w-25 colums">Актерский состав</th>
|
||||||
|
<th scope="col" class="w-25 colums">Описание</th>
|
||||||
|
<th scope="col"></th>
|
||||||
|
<th scope="col"></th>
|
||||||
|
</thead>
|
||||||
|
<tbody></tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<script type="module">
|
||||||
|
import validation from "./js/validation";
|
||||||
|
import { linesForm } from "./js/lines";
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
validation();
|
||||||
|
linesForm();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
70
dist/Film.html
vendored
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
<script type="module" crossorigin src="/assets/bootstrap.min-80d355fc.js"></script>
|
||||||
|
<link rel="stylesheet" href="/assets/bootstrap-4f72abf7.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark film fixed-top">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="/assets/Title-7a451a58.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<div class="film rows container item">
|
||||||
|
<div class="Rating" style="">
|
||||||
|
<div>
|
||||||
|
<img class="prevFilm" src="/assets/Prev-505d4927.png" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="rat">
|
||||||
|
Рейтинг
|
||||||
|
</div>
|
||||||
|
<div class="rat">
|
||||||
|
10 из 10
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="description">
|
||||||
|
<div class="rat">
|
||||||
|
Название фильма
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button class="btn btn-warning watch" type="button"><a class="nav-link" aria-current="page" href="media.html" style="text-decoration: none">Просмотр</a></button>
|
||||||
|
</div>
|
||||||
|
<div class="description_info">
|
||||||
|
Описание фильма
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="actorList">
|
||||||
|
<div class="actor">
|
||||||
|
Актерский состав
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
77
dist/Input.html
vendored
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
<script type="module" crossorigin src="/assets/input-5a9a58e2.js"></script>
|
||||||
|
<link rel="modulepreload" crossorigin href="/assets/bootstrap.min-80d355fc.js">
|
||||||
|
<link rel="modulepreload" crossorigin href="/assets/lines-646d22be.js">
|
||||||
|
<link rel="stylesheet" href="/assets/bootstrap-4f72abf7.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark HeadInput input fixed-top">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="/assets/Title-7a451a58.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main class="container-fluid p-2">
|
||||||
|
<div class="text-center">
|
||||||
|
<img id="image-preview" src="https://via.placeholder.com/200" class="rounded rounded-circle"
|
||||||
|
alt="placeholder">
|
||||||
|
</div>
|
||||||
|
<form id="items-form" class="needs-validation" novalidate>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label for="item" class="form-label">Жанр</label>
|
||||||
|
<select id="item" class="form-select" name="selected" required>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label for="title" class="form-label">Название видео</label>
|
||||||
|
<input id="title" class="form-control" name="selected" required>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label class="form-label" for="cast">Актерский состав</label>
|
||||||
|
<input id="cast" name="price" class="form-control" type="text" style="height: 10%" required>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label class="form-label" for="description">Описание</label>
|
||||||
|
<input id="description" name="description" class="form-control" type="text" style="height: 10%" required>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label class="form-label" for="image">Изображение</label>
|
||||||
|
<input id="image" type="file" name="image" class="form-control" accept="image/*">
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
|
<label class="form-label" for="video">Видеофайл</label>
|
||||||
|
<input id="video" type="file" name="video" class="form-control" accept="video/*">
|
||||||
|
</div>
|
||||||
|
<a href="admin.html" class="btn btn-secondary" style="height: 7%;font-size: 16px">Назад</a>
|
||||||
|
<button type="submit" class="btn btn-primary">Сохранить</button>
|
||||||
|
</form>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
27
dist/Join.html
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Вход в OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="module" crossorigin src="/assets/bootstrap.min-80d355fc.js"></script>
|
||||||
|
<link rel="stylesheet" href="/assets/bootstrap-4f72abf7.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F"></body>
|
||||||
|
<main>
|
||||||
|
<div class="Join">
|
||||||
|
<center><a href="index.html"><img src="/assets/Title_black-416c6e2d.png" alt="название" class="Title"></a></center>
|
||||||
|
<div>
|
||||||
|
<input class="name" placeholder="Логин / почта пользователя" tabindex="1" name="username" type="text"/>
|
||||||
|
<input class="pass" placeholder="Пароль" tabindex="1" name="password" type="password"/>
|
||||||
|
<a class="Mistake">Забыли пароль?</a>
|
||||||
|
<button class="ButtonJoin" type="submit">Войти</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</html>
|
101
dist/LK.html
vendored
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
<script type="module" crossorigin src="/assets/bootstrap.min-80d355fc.js"></script>
|
||||||
|
<link rel="stylesheet" href="/assets/bootstrap-4f72abf7.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark LK2 fixed-top">
|
||||||
|
<div class="container-fluid LK">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="/assets/Title-7a451a58.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<div class="DobPhoto rows">
|
||||||
|
<form id="upload-container" class="upload-container" method="POST" action="send.php">
|
||||||
|
<img id="upload-image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAABJklEQVR4nO2YQUrEQBBFX+eWYsZruC1dudBZKQh6kzmSK/UAJUItQpjOrHrodP0HBQkJpOt3VX06IIQQQgghxLUpwC1wE9epKMAb4BGfwETS5D2TCKWSfAoRyoXkhxahAO+rRL8q1x7vlpF3/gN4WNwb8DpiJZRK8lMkvRSgjCjCy0ZprwWotcqRHfO70dfnBDgnwjc75hH4iUpYD7WaAMS7zyHg+tkw2IYAKTAJgCrA1QJoBriGIHIBIyEmF0Au4HIB5AIuF0AuYCTEsrvAYSHATEKmSHze+4/PNExRtodOd6z5+u4WPfv/kd5ovj7rfGo3X59JAFQBrhZAM8A1BJELGMlt8ATcdxanawrgnYe1Pr565zG3PL4+dR46XgshhBBCCC7zB9eCREG4l8/PAAAAAElFTkSuQmCC">
|
||||||
|
<div>
|
||||||
|
<input id="file-input" type="file" name="file" multiple>
|
||||||
|
<label for="file-input">Выберите файл</label>
|
||||||
|
<span>или перетащите его сюда</span>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<div class="info">
|
||||||
|
<div class="FIO">Иван Иванов</div>
|
||||||
|
<div class="info_list-item" style="margin-top: 5%">Дата рождения - 25.09.2018</div>
|
||||||
|
<div class="info_list-item" style="margin-top: 5%">Просмотрено фильмов - 123</div>
|
||||||
|
<div class="info_list-item" style="margin-top: 5%; margin-bottom: 5%">Просмотрено сериалов - 123</div>
|
||||||
|
<button class="btn btn-outline-warning button_add" type="button"><a class="nav-link" aria-current="page" href="admin.html" style="text-decoration: none">Панель администратора</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
<div class="blocks rows">
|
||||||
|
<div class="LK_block" style="">
|
||||||
|
<div class="rows">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью" style="margin-right: 2%; margin-bottom: 2%">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="rows">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью" style="margin-right: 2%">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="Title_blocks" style="color: white; margin-left: 10%">
|
||||||
|
Любимые фильмы
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="LK_block">
|
||||||
|
<div class="rows">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью" style="margin-right: 2%; margin-bottom: 2%">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="rows">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью" style="margin-right: 2%">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="Title_blocks" style="color: white; margin-left: 10%">
|
||||||
|
Любимые сериалы
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="LK_block">
|
||||||
|
<div class="rows">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью" style="margin-right: 2%; margin-bottom: 2%">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="rows">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью" style="margin-right: 2%">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="LK-img" alt="превью">
|
||||||
|
</div>
|
||||||
|
<div class="Title_blocks" style="color: white; margin-left: 20%">
|
||||||
|
Ожидаемое
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
30
dist/Register.html
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
<script type="module" crossorigin src="/assets/bootstrap.min-80d355fc.js"></script>
|
||||||
|
<link rel="stylesheet" href="/assets/bootstrap-4f72abf7.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F"></body>
|
||||||
|
<main>
|
||||||
|
<div class="Join">
|
||||||
|
<center><a href="index.html"><img src="/assets/Title_black-416c6e2d.png" alt="название" class="Title"></a></center>
|
||||||
|
<div>
|
||||||
|
<input class="reg_name" placeholder="Имя" tabindex="1" name="username" type="text"/>
|
||||||
|
<input class="reg_login" placeholder="Логин" tabindex="2" name="login" type="text"/>
|
||||||
|
<input class="reg_mail" placeholder="Почта пользователя" tabindex="3" name="mail" type="email">
|
||||||
|
<input class="reg_pass" placeholder="Пароль" tabindex="4" name="password" type="password"/>
|
||||||
|
<button class="reg_ButtonJoin" type="submit">Регистрация</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</html>
|
61
dist/admin.html
vendored
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
<script type="module" crossorigin src="/assets/admin-25a02c85.js"></script>
|
||||||
|
<link rel="modulepreload" crossorigin href="/assets/bootstrap.min-80d355fc.js">
|
||||||
|
<link rel="modulepreload" crossorigin href="/assets/lines-646d22be.js">
|
||||||
|
<link rel="stylesheet" href="/assets/bootstrap-4f72abf7.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark admin fixed-top">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="/assets/Title-7a451a58.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main class="container-fluid p-2">
|
||||||
|
<div class="button_input">
|
||||||
|
<button class="btn btn-outline-warning AdminPanel" type="button"><a class="nav-link" aria-current="page" href="Input.html" style="text-decoration: none">Добавить фильм</a></button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<table id="items-table" class="table table-striped" style="--bs-table-bg: #03001F; --bs-table-border-color: #03001F; --bs-table-color: white; --bs-table-striped-color: white; border-color: white">
|
||||||
|
<thead>
|
||||||
|
<th scope="col" class="colums">№</th>
|
||||||
|
<th scope="col" class="w-25 colums">Жанр</th>
|
||||||
|
<th scope="col" class="w-25 colums">Название</th>
|
||||||
|
<th scope="col" class="w-25 colums">Актерский состав</th>
|
||||||
|
<th scope="col" class="w-25 colums">Описание</th>
|
||||||
|
<th scope="col"></th>
|
||||||
|
<th scope="col"></th>
|
||||||
|
</thead>
|
||||||
|
<tbody></tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
dist/assets/Prev-505d4927.png
vendored
Normal file
After Width: | Height: | Size: 489 KiB |
BIN
dist/assets/Title-7a451a58.png
vendored
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
dist/assets/Title_black-416c6e2d.png
vendored
Normal file
After Width: | Height: | Size: 15 KiB |
1
dist/assets/admin-25a02c85.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import"./bootstrap.min-80d355fc.js";import{v as o,a as t}from"./lines-646d22be.js";document.addEventListener("DOMContentLoaded",()=>{o(),t()});
|
9
dist/assets/bootstrap-4f72abf7.css
vendored
Normal file
5
dist/assets/bootstrap.min-80d355fc.js
vendored
Normal file
BIN
dist/assets/fa-brands-400-003f1154.ttf
vendored
Normal file
BIN
dist/assets/fa-brands-400-faae6fc0.woff2
vendored
Normal file
BIN
dist/assets/fa-regular-400-7d81a1a7.ttf
vendored
Normal file
BIN
dist/assets/fa-regular-400-9169d8be.woff2
vendored
Normal file
BIN
dist/assets/fa-solid-900-886c8611.woff2
vendored
Normal file
BIN
dist/assets/fa-solid-900-cea79b34.ttf
vendored
Normal file
BIN
dist/assets/fa-v4compatibility-335fd7d9.woff2
vendored
Normal file
BIN
dist/assets/fa-v4compatibility-455e8e72.ttf
vendored
Normal file
1
dist/assets/input-5a9a58e2.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
import"./bootstrap.min-80d355fc.js";import{v as e,l as o}from"./lines-646d22be.js";document.addEventListener("DOMContentLoaded",()=>{e(),o()});
|
1
dist/assets/lines-646d22be.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
function k(){const e=document.querySelectorAll("form.needs-validation");for(let t=0;t<e.length;t+=1){const o=e[t];o.addEventListener("submit",n=>{o.checkValidity()||(n.preventDefault(),n.stopPropagation()),o.classList.add("was-validated")})}}const l="http://localhost:8081";function w(e,t,o,n,i,s){return{itemsId:e,title:t,cast:o,description:n,image:i,video:s}}async function v(){const e=await fetch(`${l}/items`);if(!e.ok)throw e.statusText;return e.json()}async function b(){const e=await fetch(`${l}/lines?_expand=items`);if(!e.ok)throw e.statusText;return e.json()}async function E(e){const t=await fetch(`${l}/lines/${e}?_expand=items`);if(!t.ok)throw t.statusText;return t.json()}async function T(e,t,o,n,i,s){const c=w(e,t,o,n,i,s),r={method:"POST",body:JSON.stringify(c),headers:{Accept:"application/json","Content-Type":"application/json"}},d=await fetch(`${l}/lines`,r);if(!d.ok)throw d.statusText;return d.json()}async function C(e,t,o,n,i,s,c){const r=w(t,o,n,i,s,c),d={method:"PUT",body:JSON.stringify(r),headers:{Accept:"application/json","Content-Type":"application/json"}},f=await fetch(`${l}/lines/${e}`,d);if(!f.ok)throw f.statusText;return f.json()}async function I(e){const t={method:"DELETE"},o=await fetch(`${l}/lines/${e}`,t);if(!o.ok)throw o.statusText;return o.json()}const a={button:document.getElementById("items-add"),table:document.querySelector("#items-table tbody"),form:document.getElementById("items-form"),lineId:document.getElementById("items-line-id"),genre:document.getElementById("item"),title:document.getElementById("title"),cast:document.getElementById("cast"),description:document.getElementById("description"),image:document.getElementById("image"),video:document.getElementById("video"),imagePreview:document.getElementById("image-preview")},p="https://via.placeholder.com/200";function h(e,t="",o=!1){const n=document.createElement("option");return n.value=t||"",n.selected=o,n.text=e,n}function g(e,t){const o=document.createElement("i");o.classList.add("fa-solid",e);const n=document.createElement("a");n.href="#",n.appendChild(o),n.onclick=s=>{s.preventDefault(),s.stopPropagation(),t()};const i=document.createElement("td");return i.appendChild(n),i}function m(e){const t=document.createElement("td");return t.textContent=e,t}function L(e,t,o,n,i){const s=document.createElement("th");s.scope="row",s.textContent=t+1;const c=document.createElement("tr");return c.id=`line-${e.id}`,c.appendChild(s),c.appendChild(m(e.items.name)),c.appendChild(m(e.title)),c.appendChild(m(e.cast)),c.appendChild(m(e.description)),c.appendChild(g("fa-pen-to-square",n)),c.appendChild(g("fa-trash",i)),c}async function P(){const e=await v();a.genre.appendChild(h("Выберите значение","",!0)),e.forEach(t=>{a.genre.appendChild(h(t.name,t.id))})}async function u(){if(console.info("Try to load data"),!a.table)return;const e=await b();a.table.innerHTML="",e.forEach((t,o)=>{a.table.appendChild(L(t,o,()=>location.assign(`Input.html?id=${t.id}`),()=>location.assign(`Input.html?id=${t.id}`),()=>x(t.id)))})}async function j(e,t,o,n,i,s){console.info("Try to add item");const c=await T(e,t,o,n,i,s);console.info("Added"),console.info(c),u()}async function B(e,t,o,n,i,s,c){console.info("Try to update item");const r=await C(e,t,o,n,i,s,c);console.info("Updated"),console.info(r),u()}async function x(e){if(!confirm("Do you really want to remove this item?")){console.info("Canceled");return}console.info("Try to remove item");const t=await I(e);console.info(t),u()}async function y(e){const t=new FileReader;return new Promise((o,n)=>{t.onloadend=()=>{const i=t.result;o(i)},t.onerror=()=>{n(new Error("oops, something went wrong with the file reader."))},t.readAsDataURL(e)})}async function $(){const e=a.image.files[0],t=await y(e);console.info("base64 ",t),a.imagePreview.src=t}function A(){console.info("linesForm"),u()}async function S(){console.info("linesPageForm"),P();const e=()=>location.assign("/admin.html");a.image.addEventListener("change",()=>$());const o=new URLSearchParams(location.search).get("id");if(o)try{const n=await E(o);a.genre.value=n.itemsId,a.title.value=n.title,a.cast.value=n.cast,a.description.value=n.description,a.imagePreview.src=n.image?n.image:p}catch{e()}a.form.addEventListener("submit",async n=>{if(console.info("Form onSubmit"),n.preventDefault(),n.stopPropagation(),!a.form.checkValidity())return;let i="imageTag",s="videoTag";if(a.imagePreview.src!==p){const r=await(await fetch(a.imagePreview.src)).blob();i=await y(r)}o?await B(o,a.genre.value,a.title.value,a.cast.value,a.description.value,i,s):await j(a.genre.value,a.title.value,a.cast.value,a.description.value,i,s),e()})}export{A as a,S as l,k as v};
|
BIN
dist/assets/sobaka-letit_(VIDEOMIN.NET)-7f240fdc.mp4
vendored
Normal file
123
dist/index.html
vendored
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
<script type="module" crossorigin src="/assets/bootstrap.min-80d355fc.js"></script>
|
||||||
|
<link rel="stylesheet" href="/assets/bootstrap-4f72abf7.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark index fixed-top">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="/assets/Title-7a451a58.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main class="container-fluid p-2">
|
||||||
|
|
||||||
|
<span class="text">Рекомендуемое</span>
|
||||||
|
<div class="card-group rows images">
|
||||||
|
<button class="prev" style="background-color: #03001F; border: none; margin-left: 1%">
|
||||||
|
<a href="Film.html">
|
||||||
|
<div class="card text-bg-dark" style="max-width: 20rem">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="card-img" alt="превью">
|
||||||
|
<div class="card-img-overlay">
|
||||||
|
<h5 class="card-title">Веном</h5>
|
||||||
|
<p class="card-text">В настырного журналиста вселяется симбиот. Том Харди в образе обаятельного суперзлодея из комиксов Marvel</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
<button class="prev" style="background-color: #03001F; border: none; margin-left: 1%">
|
||||||
|
<a href="Film.html">
|
||||||
|
<div class="card text-bg-dark" style="max-width: 20rem">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="card-img" alt="превью">
|
||||||
|
<div class="card-img-overlay">
|
||||||
|
<h5 class="card-title">Веном</h5>
|
||||||
|
<p class="card-text">В настырного журналиста вселяется симбиот. Том Харди в образе обаятельного суперзлодея из комиксов Marvel</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
<button class="prev" style="background-color: #03001F; border: none; margin-left: 1%">
|
||||||
|
<a href="Film.html">
|
||||||
|
<div class="card text-bg-dark" style="max-width: 20rem">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="card-img" alt="превью">
|
||||||
|
<div class="card-img-overlay">
|
||||||
|
<h5 class="card-title">Веном</h5>
|
||||||
|
<p class="card-text">В настырного журналиста вселяется симбиот. Том Харди в образе обаятельного суперзлодея из комиксов Marvel</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
<button class="prev" style="background-color: #03001F; border: none; margin-left: 1%">
|
||||||
|
<a href="Film.html">
|
||||||
|
<div class="card text-bg-dark" style="max-width: 20rem">
|
||||||
|
<img src="/assets/Prev-505d4927.png" class="card-img" alt="превью">
|
||||||
|
<div class="card-img-overlay">
|
||||||
|
<h5 class="card-title">Веном</h5>
|
||||||
|
<p class="card-text">В настырного журналиста вселяется симбиот. Том Харди в образе обаятельного суперзлодея из комиксов Marvel</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
<span class="text">Жанры</span>
|
||||||
|
<div class="genreselection">
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem;margin: 0 0 0 0.5%">Комедия</button>
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem; margin: 0 0 0 2%;">Боевик</button>
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem; margin: 0 0 0 2%;">Фэнтези</button>
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem; margin: 0 0 0 2%;">Романтика</button>
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem; margin: 0 0 0 2%;">Драма</button>
|
||||||
|
</div>
|
||||||
|
<div class="d-grid gap-2 d-md-flex">
|
||||||
|
<button class="btn btn-light me-md-2" type="button">Сериалы</button>
|
||||||
|
<button class="btn btn-light" type="button">Спорт</button>
|
||||||
|
</div>
|
||||||
|
<div class="d-grid gap-2 d-md-flex">
|
||||||
|
<button class="btn btn-light me-md-2" type="button">Ужасы</button>
|
||||||
|
<button class="btn btn-light" type="button">Триллеры</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group dropup">
|
||||||
|
<button type="button" class="btn btn-info dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" style="font-size: 20px">
|
||||||
|
Жанры
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Комедия</button></li>
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Боевик</button></li>
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Фэнтези</button></li>
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Романтика</button></li>
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Драма</button></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
44
dist/media.html
vendored
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
<script type="module" crossorigin src="/assets/bootstrap.min-80d355fc.js"></script>
|
||||||
|
<link rel="stylesheet" href="/assets/bootstrap-4f72abf7.css">
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark fixed-top">
|
||||||
|
<div class="container-fluid mediaLK">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="/assets/Title-7a451a58.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
<div class='video-container'>
|
||||||
|
<video controls src="/assets/sobaka-letit_(VIDEOMIN.NET)-7f240fdc.mp4" class='video-player' id='video-player' preload='metadata'></video>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
img/Fone.png
Normal file
After Width: | Height: | Size: 714 KiB |
BIN
img/Prev.png
Normal file
After Width: | Height: | Size: 489 KiB |
BIN
img/Title.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
img/Title_black.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
img/abstract-spectrum-wave.jpg
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
img/icons8-загрузить-64.png
Normal file
After Width: | Height: | Size: 372 B |
BIN
img/photo.png
Normal file
After Width: | Height: | Size: 30 KiB |
121
index.html
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="CSS/style.css">
|
||||||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark index fixed-top">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="img/Title.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main class="container-fluid p-2">
|
||||||
|
|
||||||
|
<span class="text">Рекомендуемое</span>
|
||||||
|
<div class="card-group rows images">
|
||||||
|
<button class="prev" style="background-color: #03001F; border: none; margin-left: 1%">
|
||||||
|
<a href="Film.html">
|
||||||
|
<div class="card text-bg-dark" style="max-width: 20rem">
|
||||||
|
<img src="img/Prev.png" class="card-img" alt="превью">
|
||||||
|
<div class="card-img-overlay">
|
||||||
|
<h5 class="card-title">Веном</h5>
|
||||||
|
<p class="card-text">В настырного журналиста вселяется симбиот. Том Харди в образе обаятельного суперзлодея из комиксов Marvel</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
<button class="prev" style="background-color: #03001F; border: none; margin-left: 1%">
|
||||||
|
<a href="Film.html">
|
||||||
|
<div class="card text-bg-dark" style="max-width: 20rem">
|
||||||
|
<img src="img/Prev.png" class="card-img" alt="превью">
|
||||||
|
<div class="card-img-overlay">
|
||||||
|
<h5 class="card-title">Веном</h5>
|
||||||
|
<p class="card-text">В настырного журналиста вселяется симбиот. Том Харди в образе обаятельного суперзлодея из комиксов Marvel</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
<button class="prev" style="background-color: #03001F; border: none; margin-left: 1%">
|
||||||
|
<a href="Film.html">
|
||||||
|
<div class="card text-bg-dark" style="max-width: 20rem">
|
||||||
|
<img src="img/Prev.png" class="card-img" alt="превью">
|
||||||
|
<div class="card-img-overlay">
|
||||||
|
<h5 class="card-title">Веном</h5>
|
||||||
|
<p class="card-text">В настырного журналиста вселяется симбиот. Том Харди в образе обаятельного суперзлодея из комиксов Marvel</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
<button class="prev" style="background-color: #03001F; border: none; margin-left: 1%">
|
||||||
|
<a href="Film.html">
|
||||||
|
<div class="card text-bg-dark" style="max-width: 20rem">
|
||||||
|
<img src="img/Prev.png" class="card-img" alt="превью">
|
||||||
|
<div class="card-img-overlay">
|
||||||
|
<h5 class="card-title">Веном</h5>
|
||||||
|
<p class="card-text">В настырного журналиста вселяется симбиот. Том Харди в образе обаятельного суперзлодея из комиксов Marvel</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
|
<footer>
|
||||||
|
<span class="text">Жанры</span>
|
||||||
|
<div class="genreselection">
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem;margin: 0 0 0 0.5%">Комедия</button>
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem; margin: 0 0 0 2%;">Боевик</button>
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem; margin: 0 0 0 2%;">Фэнтези</button>
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem; margin: 0 0 0 2%;">Романтика</button>
|
||||||
|
<button type="button" class="btn btn-secondary" style="width: 17rem; margin: 0 0 0 2%;">Драма</button>
|
||||||
|
</div>
|
||||||
|
<div class="d-grid gap-2 d-md-flex">
|
||||||
|
<button class="btn btn-light me-md-2" type="button">Сериалы</button>
|
||||||
|
<button class="btn btn-light" type="button">Спорт</button>
|
||||||
|
</div>
|
||||||
|
<div class="d-grid gap-2 d-md-flex">
|
||||||
|
<button class="btn btn-light me-md-2" type="button">Ужасы</button>
|
||||||
|
<button class="btn btn-light" type="button">Триллеры</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group dropup">
|
||||||
|
<button type="button" class="btn btn-info dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" style="font-size: 20px">
|
||||||
|
Жанры
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Комедия</button></li>
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Боевик</button></li>
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Фэнтези</button></li>
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Романтика</button></li>
|
||||||
|
<li><button type="button" class="btn btn-secondary" >Драма</button></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
42
media.html
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>OKPO</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
||||||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link rel="stylesheet" href="CSS/style.css">
|
||||||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||||
|
<script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
|
||||||
|
</head>
|
||||||
|
<body class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<nav class="navbar navbar-expand-md navbar-dark fixed-top">
|
||||||
|
<div class="container-fluid mediaLK">
|
||||||
|
<a class="navbar-brand" href="/">
|
||||||
|
<img class="MainTitle" src="img/Title.png" alt="название">
|
||||||
|
</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
<button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
|
||||||
|
<button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
<main class="h-100 d-flex flex-column" style="background-color: #03001F">
|
||||||
|
<div class='video-container'>
|
||||||
|
<video controls src="media/sobaka-letit_(VIDEOMIN.NET).mp4" class='video-player' id='video-player' preload='metadata'></video>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
8
media.iml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$/media" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
BIN
media/sobaka-letit_(VIDEOMIN.NET).mp4
Normal file
7950
package-lock.json
generated
Normal file
26
package.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"name": "int-prog",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"vite": "vite",
|
||||||
|
"serve": "http-server -p 3000 ./dist/",
|
||||||
|
"build": "vite build",
|
||||||
|
"rest": "json-server --watch data.json -p 8081",
|
||||||
|
"dev": "npm-run-all --parallel rest vite",
|
||||||
|
"prod": "npm-run-all build --parallel serve rest"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"bootstrap": "5.3.2",
|
||||||
|
"@fortawesome/fontawesome-free": "6.4.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"vite": "4.4.9",
|
||||||
|
"eslint": "8.50.0",
|
||||||
|
"eslint-config-airbnb-base": "15.0.0",
|
||||||
|
"eslint-plugin-import": "2.28.1",
|
||||||
|
"http-server": "14.1.1",
|
||||||
|
"json-server": "0.17.4",
|
||||||
|
"npm-run-all": "4.1.5"
|
||||||
|
}
|
||||||
|
}
|
19
vite.config.js
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
import { resolve } from 'path'
|
||||||
|
import { defineConfig } from 'vite'
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
build: {
|
||||||
|
rollupOptions: {
|
||||||
|
input: {
|
||||||
|
main: resolve(__dirname, 'index.html'),
|
||||||
|
input: resolve(__dirname, 'Input.html'),
|
||||||
|
Join: resolve(__dirname, 'Join.html'),
|
||||||
|
Reg: resolve(__dirname, 'Register.html'),
|
||||||
|
LK: resolve(__dirname, 'LK.html'),
|
||||||
|
Film: resolve(__dirname, 'Film.html'),
|
||||||
|
Media: resolve(__dirname, 'media.html'),
|
||||||
|
admin: resolve(__dirname, 'admin.html'),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|