adjusting styles for table action links

This commit is contained in:
Jake Dahn
2011-07-19 14:04:31 -07:00
parent 4e13f5531b
commit 0a46c215a3
22 changed files with 49 additions and 45 deletions

View File

@@ -8,7 +8,7 @@
<td>{{ container.name }}</td>
<td id="actions">
<ul>
<li>{% include "_delete_container.html" with form=delete_form %}</li>
<li class="form">{% include "_delete_container.html" with form=delete_form %}</li>
<li><a href="{% url dash_objects request.user.tenant container.name %}">List Objects</a></li>
<li><a href="{% url dash_objects_upload request.user.tenant container.name %}">Upload Object</a></li>
</ul>

View File

@@ -34,8 +34,8 @@
<td>{{instance.status|lower|capfirst}}</td>
<td id="actions">
<ul>
<li>{% include "_terminate.html" with form=terminate_form %}</li>
<li>{% include "_reboot.html" with form=reboot_form %}</li>
<li class="form">{% include "_terminate.html" with form=terminate_form %}</li>
<li class="form">{% include "_reboot.html" with form=reboot_form %}</li>
<li><a target="_blank" href="{% url dash_instances_console request.user.tenant instance.id %}">Log</a></li>
<li><a target="_blank" href="{% url dash_instances_vnc request.user.tenant instance.id %}">VNC Console</a></li>
<li><a href="{% url dash_instances_update request.user.tenant instance.id %}">Edit</a></li>

View File

@@ -10,7 +10,7 @@
<td>{{ keypair.fingerprint }}</td>
<td id="actions">
<ul>
<li>{% include "_delete_keypair.html" with form=delete_form %}</li>
<li class="form">{% include "_delete_keypair.html" with form=delete_form %}</li>
</ul>
</td>
</tr>

View File

@@ -9,7 +9,7 @@
<td id="actions">
<ul>
<li><a href="{% url dash_object_copy request.user.tenant container_name object.name %}">Copy</a></li>
<li>{% include "_delete_object.html" with form=delete_form %}</li>
<li class="form">{% include "_delete_object.html" with form=delete_form %}</li>
<li><a href="{% url dash_objects_download request.user.tenant container_name object.name %}">Download</a>
</ul>
</td>

View File

@@ -16,7 +16,7 @@
<td>{{flavor.disk}}GB</td>
<td id="actions">
<ul>
<li>{% include "_delete_flavor.html" with form=delete_form %}</li>
<li class="form">{% include "_delete_flavor.html" with form=delete_form %}</li>
</ul>
</td>
</tr>

View File

@@ -21,8 +21,8 @@
<td>{{image.status|capfirst}}</td>
<td id="actions">
<ul>
<li>{% include "_delete_image.html" with form=delete_form %}</li>
{# <li>{% include "_toggle_image.html" with form=toggle_form %}</li> #}
<li class="form">{% include "_delete_image.html" with form=delete_form %}</li>
{# <li class="form">{% include "_toggle_image.html" with form=toggle_form %}</li> #}
<li><a href="{% url syspanel_images_update image.id %}">Edit</a></li>
</ul>

View File

@@ -25,8 +25,8 @@
<td>{{instance.status|lower|capfirst}}</td>
<td id="actions">
<ul>
<li>{% include "_terminate.html" with form=terminate_form %}</li>
<li>{% include "_reboot.html" with form=reboot_form %}</li>
<li class="form">{% include "_terminate.html" with form=terminate_form %}</li>
<li class="form">{% include "_reboot.html" with form=reboot_form %}</li>
<li><a target="_blank" href="{% url dash_instances_console instance.attrs.project_id instance.id %}">Console Log</a></li>
<li><a target="_blank" href="{% url dash_instances_vnc instance.attrs.project_id instance.id %}">VNC Console</a></li>
</ul>

View File

@@ -44,7 +44,7 @@
<td>{{service.up}}</td>
<td id="actions">
<ul>
<li>{% include "_service_toggle_enabled.html" with form=service_toggle_enabled_form %}</li>
<li class="form">{% include "_service_toggle_enabled.html" with form=service_toggle_enabled_form %}</li>
</ul>
</td>
</tr>

View File

@@ -12,7 +12,7 @@
<td>{{tenant.enabled}}</td>
<td id="actions">
<ul>
<li>{% include "_tenant_delete.html" with form=tenant_delete_form %}</li>
<li class="form">{% include "_tenant_delete.html" with form=tenant_delete_form %}</li>
<li><a href="{% url syspanel_tenant_update tenant.id %}">Edit</a></li>
<li><a href="{% url syspanel_tenant_users tenant.id %}">View Members</a></li>
<li><a href="{% url syspanel_tenant_quotas tenant.id %}">Modify Quotas</a></li>

View File

@@ -14,5 +14,5 @@
{% block dash_main %}
{% include '_container_list.html' %}
<a href="{% url dash_containers_create request.user.tenant %}">Create New Container &gt;&gt;</a>
<a class="action_link large-rounded" href="{% url dash_containers_create request.user.tenant %}">Create New Container &gt;&gt;</a>
{% endblock %}

View File

@@ -6,28 +6,23 @@
{% endwith %}
{% endblock %}
{% block main %}
<div id='page_header'>
<h2><span>Object Store:</span> Containers</h2>
<p class='desc'><span>&mdash;</span> Create a container.</p>
</div>
{% block page_header %}
{% include "_page_header.html" with title="Create Tenant" %}
{% endblock page_header %}
{% include "_messages.html" %}
<div class="main_content">
<div class="dash_block wide form">
<div class='title_block'>
<h3>Create Container</h3>
</div>
<div class="left">
{% include '_container_form.html' with form=create_form %}
<h3><a href="{% url dash_containers request.user.tenant %}">&lt;&lt; Return to containers list</a></h3>
</div>
<div class="right">
<h3>Description:</h3>
<p>A container is a storage compartment for your data and provides a way for you to organize your data. You can think of a container as a folder in Windows® or a directory in UNIX®. The primary difference between a container and these other file system concepts is that containers cannot be nested. You can, however, create an unlimited number of containers within your account. Data must be stored in a container so you must have at least one container defined in your account prior to uploading data.</p>
</div>
{% block dash_main %}
<div class="dash_block">
<div class="left">
{% include '_container_form.html' with form=create_form %}
<h3><a href="{% url dash_containers request.user.tenant %}">&lt;&lt; Return to containers list</a></h3>
</div>
<div class="right">
<h3>Description:</h3>
<p>A container is a storage compartment for your data and provides a way for you to organize your data. You can think of a container as a folder in Windows® or a directory in UNIX®. The primary difference between a container and these other file system concepts is that containers cannot be nested. You can, however, create an unlimited number of containers within your account. Data must be stored in a container so you must have at least one container defined in your account prior to uploading data.</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -37,6 +37,7 @@
<p>Keypairs are ssh credentials which are injected into images when they are launched. Creating a new key pair registers the public key and downloads the private key (a .pem file).</p>
<p>Protect and use the key as you would any normal ssh private key.</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -46,5 +46,6 @@
</tr>
</table>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -33,5 +33,6 @@
<h3>Description:</h3>
<p>From here you can define the sizing of a new flavor.</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -20,5 +20,6 @@
<h3>Description:</h3>
<p>From here you can modify different properties of an image.</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -20,6 +20,7 @@
<h3>Description:</h3>
<p>From here you can create a new tenant (aka project) to organize users.</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -20,6 +20,7 @@
<h3>Description:</h3>
<p>From here you can edit a tenant.</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -29,7 +29,7 @@
<td>{{user.email}}</td>
<td id="actions">
<ul>
<li>{% include "_remove_tenant_user.html" with form=remove_user_form %}</li>
<li class="form">{% include "_remove_tenant_user.html" with form=remove_user_form %}</li>
</ul>
</td>
</tr>
@@ -55,7 +55,7 @@
<td>{{user}}</td>
<td id="actions">
<ul>
<li>{% include "_add_tenant_user.html" with form=add_user_form %}</li>
<li class="form">{% include "_add_tenant_user.html" with form=add_user_form %}</li>
</ul>
</td>
</tr>

View File

@@ -21,5 +21,6 @@
<h3>Description:</h3>
<p>From here you can create a new user and assign them to a tenant (aka project).</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -21,5 +21,6 @@
<h3>Description:</h3>
<p>From here you can edit users by changing their usernames, emails, passwords, and tenants.</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}

View File

@@ -28,7 +28,7 @@
<td>{{user.tenantId}}</td>
<td id="actions">
<ul>
<li>{% include "_user_delete.html" with form=user_delete_form %}</li>
<li class="form">{% include "_user_delete.html" with form=user_delete_form %}</li>
<li><a href="{% url syspanel_users_update user.id %}">Edit</a></li>
</ul>
</td>