fix buttons size

This commit is contained in:
Anton Romanov 2018-10-11 19:49:16 +04:00
parent 47e906fddc
commit 76666912d7
2 changed files with 24 additions and 16 deletions

View File

@ -76,6 +76,11 @@ section h3.section-subheading {
padding: 20px 40px; padding: 20px 40px;
} }
.btn-success {
background-color: #28a745;
border-color: #28a745;
}
.btn-primary { .btn-primary {
background-color: #fed136; background-color: #fed136;
border-color: #fed136; border-color: #fed136;

View File

@ -26,7 +26,7 @@
<div class="col-lg-12"> <div class="col-lg-12">
<form id="contactForm" name="sentMessage" novalidate=""> <form id="contactForm" name="sentMessage" novalidate="">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6 col-sm-12">
<div class="form-group"> <div class="form-group">
<label for="name">Название:</label> <label for="name">Название:</label>
<input class="form-control" id="name" type="text" placeholder="Название статьи" <input class="form-control" id="name" type="text" placeholder="Название статьи"
@ -57,22 +57,25 @@
</div> </div>
</div> </div>
<div class="col-md-3 offset-md-3"> <div class="col-md-3 offset-md-3 col-sm-12 offset-sm-0">
<button id="pingButton" class="btn btn-primary btn-xl text-uppercase" type="button"> <div class="form-group">
Ping авторам <button id="pingButton" class="btn btn-primary text-uppercase" type="button">
</button> Ping авторам
</button>
</div>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="col-lg-12 text-center"> <div class="col-lg-12">
<div id="success"></div> <div class="form-group">
<button id="sendMessageButton" class="btn btn-primary btn-xl text-uppercase" <button id="sendMessageButton" class="btn btn-success text-uppercase"
type="submit"> type="submit">
Сохранить Сохранить
</button> </button>
<button id="cancelButton" class="btn btn-default btn-xl text-uppercase" type="button"> <button id="cancelButton" class="btn btn-default text-uppercase" type="button">
Отмена Отмена
</button> </button>
</div>
</div> </div>
</div> </div>
</form> </form>
@ -89,14 +92,14 @@
div: "loader", div: "loader",
url: urlFileUpload, url: urlFileUpload,
maxSize: 1.5, maxSize: 1.5,
extensions: ["doc", "docx","xls", "jpg", "pdf", "txt", "png"], extensions: ["doc", "docx", "xls", "jpg", "pdf", "txt", "png"],
callback: function (response) { callback: function (response) {
showFeedbackMessage("Файл успешно загружен"); showFeedbackMessage("Файл успешно загружен");
console.debug(response); console.debug(response);
} }
}); });
getFromRest(urlPaperStatuses, function(response) { getFromRest(urlPaperStatuses, function (response) {
fillSelect($("#status"), response); fillSelect($("#status"), response);
}); });
}); });