mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-09-07 20:21:15 +00:00
Update
This commit is contained in:
1
src/static/app/dist/assets/editConfiguration.css
vendored
Normal file
1
src/static/app/dist/assets/editConfiguration.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@media screen and (max-width: 567px){.inputGroup{&[data-v-4be4f48a]{flex-direction:column}h3[data-v-4be4f48a]{transform:rotate(90deg)}}}
|
File diff suppressed because one or more lines are too long
1
src/static/app/dist/assets/peerConfigurationFile.js
vendored
Normal file
1
src/static/app/dist/assets/peerConfigurationFile.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import{L as l}from"./localeText.js";import{D as u,a as p,c as m,b as e,d as b}from"./index.js";const g={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},f={class:"container d-flex h-100 w-100"},h={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},_={class:"card rounded-3 shadow w-100"},x={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},C={class:"mb-0"},v={class:"card-body"},y=["value"],D={__name:"peerConfigurationFile",props:{configurationFile:String},emits:["close"],setup(s,{emit:a}){const n=a,i=s,t=u(),r=async()=>{if(navigator.clipboard&&navigator.clipboard.writeText)return navigator.clipboard.writeText(i.configurationFile).then(()=>{t.newMessage("WGDashboard","Configuration file copied with ClipboardAPI","success")});document.querySelector("#peerConfigurationFile").select(),document.execCommand("copy")?t.newMessage("WGDashboard","Text copied to clipboard using execCommand","success"):t.newMessage("WGDashboard","Failed to copy text with execCommand","danger")};return(c,o)=>(p(),m("div",g,[e("div",f,[e("div",h,[e("div",_,[e("div",x,[e("h4",C,[b(l,{t:"Configuration File"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:o[0]||(o[0]=d=>n("close"))})]),e("div",v,[e("button",{onClick:o[1]||(o[1]=d=>r()),class:"btn bg-primary-subtle border-primary-subtle text-primary-emphasis rounded-3"}," Copy "),e("textarea",{style:{height:"300px"},class:"form-control w-100 rounded-3",disabled:"",id:"peerConfigurationFile",value:s.configurationFile},null,8,y)])])])])]))}};export{D as default};
|
2
src/static/app/dist/assets/peerList.css
vendored
2
src/static/app/dist/assets/peerList.css
vendored
File diff suppressed because one or more lines are too long
12
src/static/app/dist/assets/peerList.js
vendored
12
src/static/app/dist/assets/peerList.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user