From b9d32afc67746914cd3664003fa3526e896bd515 Mon Sep 17 00:00:00 2001 From: Mondi Geetha Date: Mon, 3 Jul 2017 22:32:34 +0530 Subject: [PATCH 01/73] Changed some styles for modal popup --- hosting/static/hosting/css/commons.css | 68 +++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/hosting/static/hosting/css/commons.css b/hosting/static/hosting/css/commons.css index 78bfd827..74d154d1 100644 --- a/hosting/static/hosting/css/commons.css +++ b/hosting/static/hosting/css/commons.css @@ -57,4 +57,70 @@ width: 90%; } } - +/***********Styles for Model********************/ +.modal-content { + border-radius: 0px; + font-family: 'Lato', sans-serif; + width: 100%; + float: left; +} +.close { + font-size: 50px; + font-weight: 300; + } +.modal-header { + border-bottom: 0px solid #e5e5e5; + padding: 0px 15px; + width: 100%; + float: left; + } +.modal-body { + text-align: center; + width: 100%; + float: left; + padding: 0px 30px 15px 30px; +} +.modal-body .modal-icon i { + font-size: 50px; + font-weight: 100; + color: #999; +} +.modal-title { + margin: 0; + line-height: 1.42857143; + font-size: 22px; + padding: 20px 0; + font-family: 'Lato', sans-serif; +} +.modal-footer { + border-top: 0px solid #e5e5e5; + width: 100%; + float: left; + text-align: center; + padding: 30px 15px; +} +@media (min-width: 1300px) { + .modal-dialog { + top: 30%; + width: 25%; + } +} +@media (max-width: 1299px) { + .modal-dialog { + top: 20%; + width: 43%; + } +} +@media (max-width: 900px) { + .modal-dialog { + top: 20%; + width: 50%; + } +} +@media (max-width: 767px) { + .modal-dialog { + top: 30%; + width: 90%; + margin: 0 auto !important; + } +} From 49ae9adcb849a30c28142fa4790a1e8bf8545926 Mon Sep 17 00:00:00 2001 From: Mondi Geetha Date: Mon, 3 Jul 2017 22:34:39 +0530 Subject: [PATCH 02/73] Added icons for modals --- hosting/templates/hosting/orders.html | 3 ++- hosting/templates/hosting/user_keys.html | 1 + hosting/templates/hosting/virtual_machine_detail.html | 11 ++++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html index 99aab23e..7adc4cd3 100644 --- a/hosting/templates/hosting/orders.html +++ b/hosting/templates/hosting/orders.html @@ -52,6 +52,7 @@ diff --git a/hosting/templates/hosting/user_keys.html b/hosting/templates/hosting/user_keys.html index 1dc45e54..30525798 100644 --- a/hosting/templates/hosting/user_keys.html +++ b/hosting/templates/hosting/user_keys.html @@ -53,6 +53,7 @@