diff --git a/client/images/line.png b/client/images/line.png new file mode 100644 index 00000000..c5a3a466 Binary files /dev/null and b/client/images/line.png differ diff --git a/client/images/server_settings.png b/client/images/server_settings.png new file mode 100644 index 00000000..fddc8b1a Binary files /dev/null and b/client/images/server_settings.png differ diff --git a/client/images/share.png b/client/images/share.png new file mode 100644 index 00000000..e1451e06 Binary files /dev/null and b/client/images/share.png differ diff --git a/client/res.qrc b/client/res.qrc index 13226c9b..851b4007 100644 --- a/client/res.qrc +++ b/client/res.qrc @@ -29,5 +29,8 @@ fonts/Lato-Thin.ttf fonts/Lato-ThinItalic.ttf images/AmneziaVPN.png + images/line.png + images/server_settings.png + images/share.png diff --git a/client/ui/mainwindow.ui b/client/ui/mainwindow.ui index a8a1576b..6a26945c 100644 --- a/client/ui/mainwindow.ui +++ b/client/ui/mainwindow.ui @@ -1360,6 +1360,328 @@ color: #333333; + + + + + 10 + 10 + 26 + 20 + + + + PointingHandCursor + + + QPushButton { + image: url(:/images/arrow_right.png); + image-position: left; + text-align: left; + /*font: 17pt "Ancient";*/ + + padding: 1px; + image: url(:/images/arrow_left.png); +} +QPushButton:hover { + padding: 0px; +} + + + + + + + + + + + 10 + 40 + 360 + 1 + + + + image: url(:/images/line.png); + + + + + + + + + 30 + 60 + 330 + 30 + + + + font-family: Lato; +font-style: normal; +font-weight: bold; +font-size: 20px; +line-height: 25px; +/* identical to box height, or 125% */ +display: flex; +align-items: center; +Text-align:left; +padding-left: 30px; + + +/* black */ +color: #100A44; + +background-image: url(:/images/server_settings.png); +background-repeat: no-repeat; + background-position: left center; + + + Server settings + + + + + + 10 + 110 + 360 + 1 + + + + image: url(:/images/line.png); + + + + + + + + + 30 + 130 + 330 + 30 + + + + font-family: Lato; +font-style: normal; +font-weight: bold; +font-size: 20px; +line-height: 25px; +/* identical to box height, or 125% */ +display: flex; +align-items: center; +Text-align:left; +padding-left: 30px; + + +/* black */ +color: #100A44; + +background-image: url(:/images/share.png); +background-repeat: no-repeat; + background-position: left center; + + + Share connection + + + + + + 10 + 180 + 360 + 1 + + + + image: url(:/images/line.png); + + + + + + + + + + + 10 + 10 + 26 + 20 + + + + PointingHandCursor + + + QPushButton { + image: url(:/images/arrow_right.png); + image-position: left; + text-align: left; + /*font: 17pt "Ancient";*/ + + padding: 1px; + image: url(:/images/arrow_left.png); +} +QPushButton:hover { + padding: 0px; +} + + + + + + + + + + true + + + + 20 + 40 + 341 + 41 + + + + font-family: Lato; +font-style: normal; +font-weight: bold; +font-size: 20px; +line-height: 25px; + +/* or 125% */ + +/* black */ +color: #181922; + + + Connection string + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + true + + + + + + 30 + 100 + 320 + 151 + + + + background: #F5F5F5; +border-radius: 10px; + + +font-family: Consolas; +font-style: normal; +font-weight: bold; +font-size: 22px; +line-height: 110%; +/* or 35px */ +text-align: center; + +color: #15CDCB; + + + + QTextEdit::FixedColumnWidth + + + 20 + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Consolas'; font-size:22px; font-weight:600; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:20pt;">vpn:\\aosdiufhafafsuhgqejghuserhglaidhgauhgalgadg</span></p></body></html> + + + + + + 20 + 280 + 341 + 40 + + + + PointingHandCursor + + + QPushButton { + font-size: 13pt; + font: "Open Sans Semibold"; + color:rgb(212, 212, 212); + +background: #181922; +border-radius: 4px; + +font-family: Lato; +font-style: normal; +font-weight: normal; +font-size: 16px; +line-height: 21px; + +} + + + + Copy + + + + + + 30 + 350 + 321 + 101 + + + + + +font-family: Lato; +font-style: normal; +font-weight: normal; +font-size: 16px; +line-height: 150%; +/* or 24px */ + +/* grey */ +color: #A7A7A7; + + + + Тот, кто зайдёт с этим кодом, будет иметь те же права на испольтование VPN, что и вы. Чтобы создать новый код смените логин и/или пароль для подлючения в настройках вашего сервера. + + + Qt::AlignJustify|Qt::AlignVCenter + + + true + + +