Revision 60599850
b/ui/static/main.css | ||
---|---|---|
3889 | 3889 |
padding-left: 5em; |
3890 | 3890 |
} |
3891 | 3891 |
|
3892 |
#creation-password-overlay { |
|
3893 |
position: relative; |
|
3894 |
} |
|
3895 |
|
|
3896 |
#creation-password-overlay .form-action { |
|
3897 |
position: absolute; |
|
3898 |
bottom: 15px; |
|
3899 |
right: 13px; |
|
3900 |
font-size: 0.8em; |
|
3901 |
} |
|
3902 |
|
|
3892 | 3903 |
#creation-password-overlay .password { |
3893 | 3904 |
font-size: 1.3em; |
3894 | 3905 |
font-weight: bold; |
b/ui/static/snf/js/ui/web/ui_create_view.js | ||
---|---|---|
30 | 30 |
_.bindAll(this, 'show_password'); |
31 | 31 |
|
32 | 32 |
this.password = this.$("#new-machine-password"); |
33 |
|
|
34 |
this.$(".show-machine").click(_.bind(function(){ |
|
35 |
this.hide(); |
|
36 |
snf.ui.main.show_vm_details(storage.vms.get(this.vm_id)); |
|
37 |
}, this)); |
|
33 | 38 |
}, |
34 | 39 |
|
35 | 40 |
show_password: function() { |
b/ui/templates/partials/create_vm.html | ||
---|---|---|
84 | 84 |
<p class="important">{% blocktrans %}After closing this window you will <em>NOT</em> be able to retrieve it again |
85 | 85 |
{% endblocktrans %}</p> |
86 | 86 |
</div> |
87 |
<div class="form-action show-machine">{% trans "view machine" %}</div> |
|
87 | 88 |
</div> |
88 | 89 |
|
Also available in: Unified diff