MCPcopy Create free account
hub / github.com/cfwuya1/sublink-worker-admin / generateEmbedCodeSection

Function generateEmbedCodeSection

src/htmlBuilder.js:137–150  ·  view source on GitHub ↗
(baseUrl)

Source from the content-addressed store, hash-verified

135`;
136
137const generateEmbedCodeSection = (baseUrl) => `
138 <div class="form-section">
139 <div class="form-section-title">嵌入到您的网站</div>
140 <p class="text-secondary small mb-2">复制以下 HTML 代码,将其粘贴到您的网站中。</p>
141 <div class="input-group">
142 <textarea id="embedCode" class="form-control" readonly rows="4"><iframe
143 src="${baseUrl}/embed"
144 style="width: 100%; height: 250px; border: none; border-radius: 8px;"
145 title="Subscription Converter"
146></iframe></textarea>
147 <button class="btn" type="button" onclick="copyToClipboard('embedCode')"><i class="fas fa-copy"></i></button>
148 </div>
149 </div>
150`;
151
152const generateRuleSetSelection = () => `
153 <div class="form-section">

Callers 1

generateBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected