mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 05:15:25 +02:00
feat(volumes): add a switch to use CIFS volumes (#3823)
* feat(volumes): add a switch to use CIFS volumes * feat(volumes): switch between nfs and cifs * feat(volumes): autofix sharepoint, hide driveroptions and allow to create unnammed volume * feat(volumes): change cifs version select options * feat(volumes): change few things
This commit is contained in:
parent
8eac1d2221
commit
ebac85b462
8 changed files with 220 additions and 79 deletions
|
@ -0,0 +1,15 @@
|
|||
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 = '';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue