Initial Commit ...
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fa" dir="rtl">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>افزونه من</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Segoe UI', sans-serif;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
#result {
|
||||
margin-top: 15px;
|
||||
font-weight: bold;
|
||||
color: #107c10;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2>👋 سلام از افزونه من!</h2>
|
||||
<p>اطلاعات پروژه جاری:</p>
|
||||
<div id="result">در حال اتصال...</div>
|
||||
|
||||
<!-- Scrip Handling -->
|
||||
<script>
|
||||
//
|
||||
var connection = fetch("http://192.168.10.22:8080/tfs/RPKavoshDevOps/_apis/connectionData", {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
},
|
||||
}).then((response) => {
|
||||
//
|
||||
console.log("Connection Data:", connection);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user