NICH
Server IP : 127.0.1.1  /  Your IP : 216.73.216.172
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux bahcrestlinepropertiesllc 5.15.0-113-generic #123-Ubuntu SMP Mon Jun 10 08:16:17 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/1648833/cwd/snap/lxd/current/share/lxd-ui/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/1648833/cwd/snap/lxd/current/share/lxd-ui/assets/StorageVolumeFormMenu-e90b9f5c.js
import{d as c,r,A as g,j as e}from"./index-13b2882d.js";import{F as n}from"./FormMenuItem-c8a1a121.js";import{u as h}from"./updateMaxHeight-325b3cd4.js";const j="Main configuration",N="Snapshots",S="Filesystem",b="ZFS",E=({active:m,setActive:d,formik:u,poolDriver:i,contentType:p,isCreating:v})=>{var l;const f=c.useNotify(),[t,x]=r.useState(!v),a={active:m,setActive:d},s=u.values.name.length>0?void 0:"Please enter a volume name to enable this section",o=()=>{h("form-navigation","p-bottom-controls")};return r.useEffect(o,[(l=f.notification)==null?void 0:l.message]),g("resize",o),e.jsx("div",{className:"p-side-navigation--accordion form-navigation",children:e.jsx("nav",{"aria-label":"Storage volume form navigation",children:e.jsxs("ul",{className:"p-side-navigation__list",children:[e.jsx(n,{label:j,...a}),e.jsxs("li",{className:"p-side-navigation__item",children:[e.jsx(c.Button,{type:"button",className:"p-side-navigation__accordion-button","aria-expanded":t?"true":"false",onClick:()=>x(!t),disabled:!!s,title:s,children:"Advanced"}),e.jsxs("ul",{className:"p-side-navigation__list","aria-expanded":t?"true":"false",children:[e.jsx(n,{label:N,...a,disableReason:s}),p==="filesystem"&&["zfs","lvm","ceph"].includes(i)&&e.jsx(n,{label:S,...a,disableReason:s}),i==="zfs"&&e.jsx(n,{label:b,...a,disableReason:s})]})]})]})})})};export{S as F,j as M,E as S,b as Z,N as a};

Anon7 - 2022
AnonSec Team