1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

fix logo on about modal

This commit is contained in:
John Mitchell 2015-10-28 17:37:12 -04:00
parent 3892b3db1c
commit 5b20e8767a
5 changed files with 20 additions and 19 deletions

View File

@ -1,7 +1,7 @@
<div id="about-dialog-body"> <div id="about-dialog-body">
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-5"> <div class="col-xs-12 col-sm-5 About-cowsay">
<div style="width: 340px; margin: 0 auto;"> <div style="width: 340px; margin: 0 auto;">
<pre id="cowsay"> <pre id="cowsay">
________________ ________________
@ -19,10 +19,11 @@
<div class="col-xs-12 col-sm-7 text-center"> <div class="col-xs-12 col-sm-7 text-center">
<img id="about-modal-titlelogo" src="/static/assets/ansible_tower_logo_minimalc.png"><br> <img id="about-modal-titlelogo" src="/static/assets/ansible_tower_logo_minimalc.png"><br>
<p>Copyright 2015. All rights reserved.</p> <p>Copyright 2015. All rights reserved.</p>
<p>Ansible and Ansible Tower are registered trademarks of Ansible, Inc.</p> <p>Ansible and Ansible Tower are registered trademarks of Red Hat, Inc.</p>
<br>
<img class="About-redhat" src="/static/assets/redhat_ansible_lockup.png">
<br> <br>
<p>Visit <a href="http://www.ansible.com" target="_blank">Ansible.com</a> for more information.</p> <p>Visit <a href="http://www.ansible.com" target="_blank">Ansible.com</a> for more information.</p>
<br>
<p><span id='about-modal-subscription'></span></p> <p><span id='about-modal-subscription'></span></p>
</div> </div>
</div> </div>

View File

@ -0,0 +1,14 @@
/** @define About */
.About {
height: 309px !important;
}
.About-cowsay {
margin-top: 30px;
}
.About-redhat {
max-width: 100%;
margin-top: -61px;
margin-bottom: -33px;
}

View File

@ -75,7 +75,7 @@ export default
scope: scope, scope: scope,
// buttons: [], // buttons: [],
width: 710, width: 710,
height: 400, height: 450,
minWidth: 300, minWidth: 300,
resizable: false, resizable: false,
callback: 'DialogReady', callback: 'DialogReady',

View File

@ -1,14 +0,0 @@
<div class="row">
<div class="left-side col-sm-4 col-xs-12">
<img id="about-modal-logo" src="static/assets/tower_console_bug.png">
</div>
<div class="right-side col-sm-8 col-xs-12">
<img id="about-modal-titlelogo" src="static/assets/tower_login_logo.png"><br>
<p>Tower Version <span id='about-modal-version'></span></p>
<textarea class="form-control" rows="2" readonly>Copyright 2015. All rights reserved.&#10Ansible and Ansible Tower are registered trademarks of Ansible, Inc.&#10</textarea>
<br>
<p>Visit <a href="http://www.ansible.com" target="_blank">Ansible.com</a> for more information!</p>
</div>
</div>

View File

@ -159,7 +159,7 @@
<div id="login-modal-dialog" style="display: none;"></div> <div id="login-modal-dialog" style="display: none;"></div>
<div id="help-modal-dialog" style="display: none;"></div> <div id="help-modal-dialog" style="display: none;"></div>
<div id="about-modal-dialog" style="display: none;" ng-include=" '{{ STATIC_URL }}assets/cowsay-about.html ' "></div> <div class="About" id="about-modal-dialog" style="display: none;" ng-include=" '{{ STATIC_URL }}assets/cowsay-about.html ' "></div>
<div id="prompt-for-days" style="display:none"> <div id="prompt-for-days" style="display:none">
<form name="prompt_for_days_form" id="prompt_for_days_form"> <form name="prompt_for_days_form" id="prompt_for_days_form">