Sahara small UI fixes

Change-Id: I22486b5697ff9f6ffeae0b93e5564f254f732987
Closes-Bug: #1371370
This commit is contained in:
Cindy Lu 2014-09-19 14:49:38 -07:00
parent da4017446b
commit 3878a3fc8d
4 changed files with 5 additions and 8 deletions

View File

@ -30,6 +30,7 @@ class UploadFile(tables.LinkAction):
verbose_name = _("Upload Template")
url = 'horizon:project:data_processing.cluster_templates:upload_file'
classes = ("btn-launch", "ajax-modal")
icon = "upload"
class CreateCluster(tables.LinkAction):

View File

@ -10,7 +10,7 @@
</p>
<p>
{% blocktrans %}Tags are used for filtering images suitable for each plugin and each Data Processing version.
To add required tags, select a plugin and a Data Processing version and click &quot;Add all&quot; button.{% endblocktrans %}
To add required tags, select a plugin and a Data Processing version and click &quot;Add plugin tags&quot; button.{% endblocktrans %}
</p>
<p>
{% blocktrans %}You may also add any custom tag.{% endblocktrans %}

View File

@ -5,7 +5,7 @@
<h5>{% trans "Register tags required for the Plugin with specified Data Processing Version" %}</h5>
<span class="row">
<span class="col-sm-4 small-padding"><b>{% trans "Plugin" %}</b></span>
<span class="col-sm-3 small-padding"><b>{% trans "Version" %}</b></span>
<span class="col-sm-4 small-padding"><b>{% trans "Version" %}</b></span>
</span>
<span class="row">
<span class="col-sm-4 small-padding">
@ -15,7 +15,7 @@
{% endfor %}
</select>
</span>
<span class="col-sm-3 small-padding">
<span class="col-sm-4 small-padding">
{% for plugin, version_dict in plugins.items %}
<div id="version_group_{{ plugin }}" class="data_processing-version-choice" >
<select id="data_processing_version_{{ plugin }}" class="form-control">
@ -31,7 +31,7 @@
</span>
</span>
<span class="row">
<span class="col-sm-7 small-padding">
<span class="col-sm-8 small-padding">
<input type="text" class="tag-input form-control" id="_sahara_image_tag"/>
</span>
<span class="col-sm-3 small-padding">

View File

@ -7,10 +7,6 @@
{% endblock page_header %}
{% block main %}
<style type="text/css">
#id_data_source_url {
width: 250px !important; }
</style>
<div class="data_sources">
{{ data_sources_table.render }}