1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 06:19:41 +02:00
portainer/app/docker/components/volumesCIFSForm/volumesCifsFormModel.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
536 B
JavaScript
Raw Normal View History

export function VolumesCIFSFormData() {
this.useCIFS = false;
this.serverAddress = '';
this.share = '';
this.version = 'CIFS v2.0 (Used by Windows Vista / Server 2008)';
this.versions = [
'CIFS v1.0 (Used by Windows XP / Server 2003 and earlier)',
'CIFS v2.0 (Used by Windows Vista / Server 2008)',
'CIFS v2.1 (Used by Windows 7 / Server 2008 R2)',
'CIFS 3.0 (Used by Windows 8 / Server 2012 and newer)',
];
this.versionsNumber = ['1.0', '2.0', '2.1', '3.0'];
this.username = '';
this.password = '';
}