File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
app/src/main/resources/templates Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 88 headTitle = "Главная страница",
99 content = @`
1010 <h1 >Привет, ${page. getCurrentUser() }!</h1 >
11- <h3 >Введите ссылку на сайт</h3 >
11+ <h4 >Введите ссылку на сайт</h4 >
1212 <form action =" ${NamedRoutes . urlsPath() }" method =" post" >
1313 <input type =" url" name =" url" value =" ${page. getUrl() }" required>
1414 <input type =" submit" value =" Проверить" >
Original file line number Diff line number Diff line change 2020
2121 <style >
2222 body {
23- background-color : #f8f9fa ;
23+ background-color : white ;
2424 font-family : ' Helvetica Neue' , Helvetica , Arial , sans-serif ;
2525 padding : 20px ;
2626 }
2727
2828 header {
29+ color : cornflowerblue
2930 margin-bottom: 20px ;
3031 }
3132
3738 table {
3839 width : 100% ;
3940 border-collapse : collapse ;
40- background-color : white ;
41+ background-color : #fffcf7 ;
4142 box-shadow : 0 2px 4px rgba (0 ,0 ,0 ,0.1 );
4243 }
4344
7677 padding : 8px 16px ;
7778 border-radius : 4px ;
7879 border : none ;
79- background-color : #0d6efd ;
80+ background-color : cornflowerblue ;
8081 color : white ;
8182 cursor :pointer ;
8283 }
8384
8485 form input [type = " submit" ]:hover {
85- background-color :#0b5ed7 ;
86+ background-color :cornflowerblue ;
8687 }
8788
8889 footer {
8990 font-weight : bold ;
9091 position :absolute ;
9192 bottom :0 ;
9293 right :0 ;
93- background-color :#0d6efd ;
94+ background-color :cornflowerblue ;
9495 color :white ;
9596 padding :8px 6px ;
9697 font-size :14px ;
Original file line number Diff line number Diff line change 77page = page,
88headTitle = "Добавленные сайты",
99content = @`
10- <h1 >Добавленные сайты</h1 >
1110 @if (page.getUrls().isEmpty())
12- <p >Ещё не добавлено ни одного сайта</ p >
11+ <h2 >Ещё не добавлено ни одного сайта ( ͡° ʖ̯ ͡° )</ h2 >
1312 @else
13+ <h1 >Добавленные сайты</h1 >
1414 <table >
1515 <thead >
1616 <tr >
You can’t perform that action at this time.
0 commit comments