1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-22 02:24:56 +00:00

build new tree

This commit is contained in:
Retspen 2015-02-27 11:28:22 +02:00
parent 4d48e79341
commit dd5f98cbe8
22 changed files with 745 additions and 60 deletions

8
secrets/forms.py Normal file
View file

@ -0,0 +1,8 @@
from django import forms
class AddSecret(forms.Form):
ephemeral = forms.ChoiceField(required=True, choices=(('no', 'no'), ('yes', 'yes')))
private = forms.ChoiceField(required=True, choices=(('no', 'no'), ('yes', 'yes')))
usage_type = forms.ChoiceField(required=True, choices=(('ceph', 'ceph'), ('volume', 'volume'), ('iscsi', 'iscsi')))
data = forms.CharField(max_length=100, required=True)