mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			693 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			693 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| (function(cloudStack) {
 | |
|   cloudStack.sections['global-settings'] = {
 | |
|     title: 'Global Settings',
 | |
|     id: 'global-settings',
 | |
|     listView: {
 | |
|       label: 'Global Settings',
 | |
|       actions: {
 | |
|         edit: {
 | |
|           label: 'Change value',
 | |
|           action: function(args) {
 | |
|             args.response.success();
 | |
|           },
 | |
|           notification: {
 | |
|             poll: testData.notifications.testPoll
 | |
|           }
 | |
|         }
 | |
|       },
 | |
|       fields: {
 | |
|         name: { label: 'Name', id: true },
 | |
|         description: { label: 'Description' },
 | |
|         value: { label: 'Value', editable: true }
 | |
|       },
 | |
|       dataProvider: testData.dataProvider.listView('globalSettings')
 | |
|     }
 | |
|   };
 | |
| })(cloudStack);
 |