Contents:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi folks, | |
Following up from our thread on Twitter, here's another attempt at | |
providing you the necessary info: | |
I am the technical lead for the California Revels (a non-profit arts | |
and community theater organization which has been operating in | |
Oakland, CA for 25+ years) and we would love to use GitHub to manage | |
the codebase and issue tracking for our upcoming website redesign. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id='new_comment' class='fade modal'> | |
<form class='form-stacked' action="{% comment_form_target %}" method="POST">{% csrf_token %} | |
<div class='modal-header'> | |
<a href="#" class="close">x</a> | |
<h3>Discuss Activity</h3> | |
</div> | |
<div class='modal-body'> | |
<p>Have a question? Need more information? Add a new comment to the discussion using the form below:</p> | |
{{ comment_form.as_custom }} | |
<input type='hidden' name='name' value='{{ profile }}'/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2011 Gabriel Hurley <gabriel@strikeawe.com> | |
# | |
# Licensed under the OSI-approved Fair License: | |
# | |
# Usage of this work is permitted provided that this | |
# instrument is retained with the work, so that any | |
# entity that uses the work is notified of this instrument. | |
# | |
# DISCLAIMER: THIS WORK IS WITHOUT WARRANTY. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from horizon import api | |
from horizon.dashboards.nova.keypairs import forms as keypair_forms | |
from nebula_dashboard.utils import tables | |
def DeleteKeyPairs(tables.TableAction): | |
name = "delete" | |
def handle(self, data_table, request, object_ids): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DeleteGroup(tables.Action): | |
name = "delete" | |
verbose_name = _("Delete") | |
verbose_name_plural = _("Delete Security Groups") | |
classes = ('danger',) | |
def allowed(self, request, security_group=None): | |
if not security_group: | |
return True | |
return security_group.name != 'default' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_tenant_create(self): | |
kwargs = {'id': TEST_TENANT_ID, | |
'description': 'aDescription', | |
"enabled": True} | |
tenant = keystoneclient_tenants.Tenant(self.request, kwargs) | |
keystoneclient = self.stub_keystoneclient() | |
keystoneclient.tenants = self.mox.CreateMockAnything() | |
keystoneclient.tenants.create(*kwargs.values()).AndReturn(tenant) | |
self.mox.ReplayAll() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Title of the document</title> | |
</head> | |
<body> | |
<table> | |
<thead> | |
<tr> |
OlderNewer