mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 15:58:38 -05:00
Adds toolbox to network UI
* Calls API to get inventory * Adds CopySite message * Adds Toolbox and ToolboxItem model design * Add Toolbox and ToolboxItem tables * Sends toolbox items to client from server on connect
This commit is contained in:
@@ -142,3 +142,16 @@ class Process(models.Model):
|
||||
name = models.CharField(max_length=200,)
|
||||
type = models.CharField(max_length=200,)
|
||||
id = models.IntegerField(default=0)
|
||||
|
||||
|
||||
class Toolbox(models.Model):
|
||||
|
||||
toolbox_id = models.AutoField(primary_key=True,)
|
||||
name = models.CharField(max_length=200,)
|
||||
|
||||
|
||||
class ToolboxItem(models.Model):
|
||||
|
||||
toolbox_item_id = models.AutoField(primary_key=True,)
|
||||
toolbox = models.ForeignKey('Toolbox',)
|
||||
data = models.TextField()
|
||||
|
||||
Reference in New Issue
Block a user