1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Chris Houseknecht 2014-08-15 16:31:52 -04:00
parent fc0ca8cd22
commit ceeea4d527
2 changed files with 15 additions and 2 deletions

View File

@ -54,6 +54,7 @@ function($rootScope, $compile, CreateDialog, Store, LicenseUpdateForm, GenerateF
contact_us = "<a href=\"http://www.ansible.com/contact-us\" target=\"_black\">contact us <i class=\"fa fa-external-link\"></i></a>",
renew = "<a href=\"http://www.ansible.com/renew\" target=\"_blank\">ansible.com/renew <i class=\"fa fa-external-link\"></i></a>",
pricing = "<a href=\"http://www.ansible.com/pricing\" target=\"_blank\">ansible.com/pricing <i class=\"fa fa-external-link\"></i></a>",
license_link = "<a href=\"http://www.ansible.com/license\" target=\"_blank\">click here</a>",
result = {},
license_is_valid=false;
@ -110,8 +111,9 @@ function($rootScope, $compile, CreateDialog, Store, LicenseUpdateForm, GenerateF
} else {
// No license
title = "Add Your License";
html = "<div id=\"license-notification-body\"><div style=\"margin-top:5px; margin-bottom:25px;\"><p>Now that youve successfully installed or upgraded Ansible Tower, the next step is to add a license file.</p>" +
"<p>If you dont have a license file yet, visit " + pricing + " to see all of our free and paid license options.</p>";
html = "<div id=\"license-notification-body\"><div style=\"margin-top:5px; margin-bottom:25px;\"><p>Now that youve successfully installed or upgraded Ansible Tower, the next step is to add a license file. " +
"If you dont have a license file yet, " + license_link + " to see all of our free and paid license options.</p>" +
"<p style=\"margin-top:15px; margin-bottom 15px; text-align:center;\"><a href=\"http://ansible.com/license\" target=\"_blank\" class=\"btn btn-danger free-button\">Get a Free Tower Trial License</a></p>";
}
if (IsAdmin()) {

View File

@ -1255,6 +1255,17 @@ input[type="checkbox"].checkbox-no-label {
color: @grey;
font-size: 10px;
}
.free-button {
background-color: #ff5850;
border: 1px solid #ff5850;
color: @white;
}
.free-button:hover {
background-color: #E64F48;
border: 1px solid #E64F48;
color: @white;
}
}
/* Inventory nav links */