mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
Treat about partial as a static asset
Now bundling all partials into `templates.js`. This didn't work so well for the about partial because the cowsay <pre> tag got all messed up when it was pre-cached in JavaScript. Moving this to assets to show that it's not meant to be bundled, but downloaded as an ajax request instead.
This commit is contained in:
28
awx/ui/client/assets/cowsay-about.html
Normal file
28
awx/ui/client/assets/cowsay-about.html
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
<div id="about-dialog-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-5">
|
||||
<div style="width: 340px; margin: 0 auto;">
|
||||
<pre id="cowsay">
|
||||
________________
|
||||
/ Tower Version \
|
||||
\<span id='about-modal-version'></span>/
|
||||
----------------
|
||||
\ ^__^
|
||||
\ (oo)\_______
|
||||
(__)\ A)\/\
|
||||
||----w |
|
||||
|| ||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-7 text-center">
|
||||
<img id="about-modal-titlelogo" src="/static/assets/ansible_tower_logo_minimalc.png"><br>
|
||||
<p>Copyright 2015. All rights reserved.</p>
|
||||
<p>Ansible and Ansible Tower are registered trademarks of Ansible, Inc.</p>
|
||||
<br>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user