From 923b4183b3764a1a5fb8482e3dd758b0fa9a3ada Mon Sep 17 00:00:00 2001 From: drdemons Date: Mon, 2 Mar 2020 21:36:09 +0300 Subject: [PATCH 1/2] =?UTF-8?q?*=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=84=D0=B0=D0=B9=D0=BB=20index.html=20=D0=B8?= =?UTF-8?q?=20=D1=84=D0=B0=D0=B9=D0=BB=20=D1=81=D1=82=D0=B8=D0=BB=D0=B5?= =?UTF-8?q?=D0=B9,=20=D0=B4=D0=BB=D1=8F=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B?= =?UTF-8?q?=20=D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/public/index.html | 68 +++++++++++++++++++ .../resources/public/static/css/signin.css | 49 +++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 src/main/resources/public/index.html create mode 100644 src/main/resources/public/static/css/signin.css diff --git a/src/main/resources/public/index.html b/src/main/resources/public/index.html new file mode 100644 index 0000000..c3830ed --- /dev/null +++ b/src/main/resources/public/index.html @@ -0,0 +1,68 @@ + + + + + + + + Авторизатор BitBucked MarkBot + + + + +
+ +
+ + + diff --git a/src/main/resources/public/static/css/signin.css b/src/main/resources/public/static/css/signin.css new file mode 100644 index 0000000..d31b609 --- /dev/null +++ b/src/main/resources/public/static/css/signin.css @@ -0,0 +1,49 @@ +html, +body { + height: 100%; +} + +body { + display: -ms-flexbox; + display: -webkit-box; + display: flex; + -ms-flex-align: center; + -ms-flex-pack: center; + -webkit-box-align: center; + align-items: center; + -webkit-box-pack: center; + justify-content: center; + padding-top: 40px; + padding-bottom: 40px; + background-color: #f5f5f5; +} + +.form-signin { + width: 100%; + max-width: 330px; + padding: 15px; + margin: 0 auto; +} +.form-signin .checkbox { + font-weight: 400; +} +.form-signin .form-control { + position: relative; + box-sizing: border-box; + height: auto; + padding: 10px; + font-size: 16px; +} +.form-signin .form-control:focus { + z-index: 2; +} +.form-signin input[type="email"] { + margin-bottom: -1px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.form-signin input[type="password"] { + margin-bottom: 10px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} From ce957f231da79709b849d0489b902b919c3126b4 Mon Sep 17 00:00:00 2001 From: drdemons Date: Mon, 2 Mar 2020 21:37:06 +0300 Subject: [PATCH 2/2] =?UTF-8?q?*=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=84=D0=B0=D0=B9=D0=BB=20index.html=20=D0=B8?= =?UTF-8?q?=20=D1=84=D0=B0=D0=B9=D0=BB=20=D1=81=D1=82=D0=B8=D0=BB=D0=B5?= =?UTF-8?q?=D0=B9,=20=D0=B4=D0=BB=D1=8F=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B?= =?UTF-8?q?=20=D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/public/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/resources/public/index.html b/src/main/resources/public/index.html index c3830ed..66b3f80 100644 --- a/src/main/resources/public/index.html +++ b/src/main/resources/public/index.html @@ -51,11 +51,10 @@ body: JSON.stringify(data), headers: { 'Content-Type': 'application/json', - 'Access-Control-Allow-Origin': '*' } + } }); const json = await response.json(); console.log('Успех:', JSON.stringify(json)); - this.responseMessage = json } catch (error) { console.error('Ошибка:', error); }