zoom to images

This commit is contained in:
agahhulusi 2022-06-20 17:41:49 +03:00
parent 43565e458d
commit 8a6785fc22
8 changed files with 161 additions and 35 deletions

View file

@ -20,30 +20,11 @@
</component>
<component name="ChangeListManager">
<list default="true" id="7a28f45d-2ff5-44bf-b867-8386170d77fd" name="Default" comment="">
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/calistirilan_görev_raporu/calistirilangorev.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/calistirilan_görev_raporu/calistirilangorev1.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/calistirilan_görev_raporu/calistirilangorev2.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/calistirilan_görev_raporu/calistirilangorev3.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/calistirilan_görev_raporu/calistirilangorev4.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/sistem_guncesi_raporu/sistemguncesi.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/sistem_guncesi_raporu/sistemguncesi1.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/sistem_guncesi_raporu/sistemguncesi2.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/sistem_guncesi_raporu/sistemguncesi3.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/sistem_guncesi_raporu/sistemguncesi4.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/sistem_guncesi_raporu/sistemguncesi5.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/liderv2/reports/images/sistem_guncesi_raporu/sistemguncesi6.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/görevraporu.md" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/detayli_istemci_raporu.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/günceraporu.md" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/sistem_güncesi_raporu.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/images/mevcutgrup.png" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/images/detayli_istemci_raporu/mevcutgrup.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/images/raporlar.png" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/images/detayli_istemci_raporu/raporlar.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/images/raporlardisaaktar.png" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/images/detayli_istemci_raporu/raporlardisaaktar.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/images/raporlardurumu.png" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/images/detayli_istemci_raporu/raporlardurumu.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/images/raporlarfilitrealani.png" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/images/detayli_istemci_raporu/raporlarfilitrealani.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/images/raporlargrup.png" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/images/detayli_istemci_raporu/raporlargrup.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/images/raporlarkayittarihi.png" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/images/detayli_istemci_raporu/raporlarkayittarihi.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/images/yenigrup.png" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/images/detayli_istemci_raporu/yenigrup.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/liderv2/reports/istemciraporu.md" beforeDir="false" afterPath="$PROJECT_DIR$/liderv2/reports/calistirilan_görev_raporu.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/lider3.0/settings/images/registirationTemplate/registirationTemplate.png" beforeDir="false" afterPath="$PROJECT_DIR$/docs/lider3.0/settings/images/registirationTemplate/registirationTemplate.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/lider3.0/settings/registirationTemplate/registirationTemplate.md" beforeDir="false" afterPath="$PROJECT_DIR$/docs/lider3.0/settings/registirationTemplate/registirationTemplate.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/lider3.0/settings/scriptDefinition/script.md" beforeDir="false" afterPath="$PROJECT_DIR$/docs/lider3.0/settings/scriptDefinition/script.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mkdocs.yml" beforeDir="false" afterPath="$PROJECT_DIR$/mkdocs.yml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -53,6 +34,9 @@
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectId" id="1nEVue9HC4eEZsH5eK95xz8T97s" />
<component name="ProjectLevelVcsManager">
<ConfirmationsSetting value="2" id="Add" />
@ -102,9 +86,5 @@
</entry>
</map>
</option>
<option name="oldMeFiltersMigrated" value="true" />
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
</project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View file

@ -2,11 +2,140 @@
Şablonda belirtilen metinle başlayan istemcilerin domaine sadece şablonda belirtilen gruba üye olan
kullanıcılar tarafından alınmasını sağlayıp bu kullanıcıların şablonda verilen Organizasyon Birimi altında
oluşturulmasını sağlar. Örneğin şablon adı 'pardus-01-', yetkili grup DN'i
'cn=adminGroups,ou=User,ou=Groups,dc=liderahenk,dc=org' ve istemcilerin dahil edileceği Organizsayon
Birimi ise 'ou=ANKARA,ou=Agents,dc=liderahenk,dc=org' olsun. Bu kayıt şablonundan sonra istemci adı
'pardus-01-' ile başlayan tüm kullanıcılar sadece cn=adminGroups,ou=User,ou=Groups,dc=liderahenk,dc=org'
grubunda yer alan yetkili kullanıcılar tarafından domaine alınabilir ve domaine alınan istemciler
'ou=ANKARA,ou=Agents,dc=liderahenk,dc=org' Organizsayon Birimi altında oluşturulur.
oluşturulmasını sağlar. Örneğin şablon adı:
![Dosya Paylaşımı](../images/registirationTemplate/registirationTemplate.png)
>'pardus-01-', yetkili grup DN'i 'cn=adminGroups,ou=User,ou=Groups,dc=liderahenk,dc=org'
ve istemcilerin dahil edileceği Organizsayon Birimi ise:
>'ou=ANKARA,ou=Agents,dc=liderahenk,dc=org'
olsun.
Bu kayıt şablonundan sonra istemci adı:
'pardus-01-' ile başlayan tüm kullanıcılar sadece:
>'cn=adminGroups,ou=User,ou=Groups,dc=liderahenk,dc=org'
grubunda yer alan yetkili kullanıcılar tarafından domaine alınabilir ve domaine alınan istemciler
>'ou=ANKARA,ou=Agents,dc=liderahenk,dc=org'
Organizsayon Birimi altında oluşturulur.
![Dosya Paylaşımı](../images/registirationTemplate/registirationTemplate.png#zoom)
<a href="../../images/registirationTemplate/registirationTemplate.png" class="without-caption image-link">
<img src="../../images/registirationTemplate/registirationTemplate.png" />
</a>
<br/>
<a href="../images/registirationTemplate/registirationTemplate.png" data-source="http://commons.wikimedia.org/wiki/Commons:Picture_of_the_day" class="with-caption image-link" title="The caption">
<img src="../images/registirationTemplate/registirationTemplate.png" />
</a>
<br/>
<style>
.image-link {
cursor: -webkit-zoom-in;
cursor: -moz-zoom-in;
cursor: zoom-in;
}
/* This block of CSS adds opacity transition to background */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
opacity: 0;
-webkit-backface-visibility: hidden;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.mfp-with-zoom.mfp-ready .mfp-container {
opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
opacity: 0.8;
}
.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
opacity: 0;
}
/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
top: 0;
bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
padding: 0;
}
/* aligns caption to center */
.mfp-title {
text-align: center;
padding: 6px 0;
}
.image-source-link {
color: #DDD;
}
body { -webkit-backface-visibility: hidden; padding: 10px 30px;
font-family: "Calibri", "Trebuchet MS", "Helvetica", sans-serif;
}
</style>
<script>
$('.without-caption').magnificPopup({
type: 'image',
closeOnContentClick: true,
closeBtnInside: false,
mainClass: 'mfp-no-margins mfp-with-zoom', // class to remove default margin from left and right side
image: {
verticalFit: true
},
zoom: {
enabled: true,
duration: 300 // don't foget to change the duration also in CSS
}
});
$('.with-caption').magnificPopup({
type: 'image',
closeOnContentClick: true,
closeBtnInside: false,
mainClass: 'mfp-with-zoom mfp-img-mobile',
image: {
verticalFit: true,
titleSrc: function(item) {
return item.el.attr('title') + ' &middot; <a class="image-source-link" href="'+item.el.attr('data-source')+'" target="_blank">image source</a>';
}
},
zoom: {
enabled: true
}
});
</script>

View file

@ -11,3 +11,16 @@ bir görev eklentisidir. Betik adı girilir. Ardından betiğin türü Python, B
(eğer var ise) belirtilerek görev çalıştırılır.
![Dosya Paylaşımı](../images/scriptDefinition/scriptCreate.png)
![minipic](../images/scriptDefinition/scriptCreate.png)
<style>
img[alt="minipic"] {
max-width: 2000px;
display: block;
}
</style>
[![Alternative Text](../images/scriptDefinition/scriptCreate.png)](../images/scriptDefinition/scriptCreate.png)

View file

@ -16,7 +16,6 @@ theme:
name: Switch to light mode
direction: ltr
nav:
- Ana Sayfa: index.md
- Kurulum:
@ -139,6 +138,11 @@ nav:
- Kullanım Geçmişi: lider3.0/profile/loginLogoutHistory/loginLogoutHistory.md
- Grup Bilgileri: lider3.0/profile/groupInformation/groupInformation.md
markdown_extensions:
- attr_list
- md_in_html