Merge branch 'master' of https://gitlab.chiefsoft.net/Chiefsoft/CoreGrade
This commit is contained in:
@@ -145,6 +145,10 @@ class Member extends Member_Controller {
|
|||||||
$this->configure();
|
$this->configure();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function viewSharePage(){
|
||||||
|
echo "Test";
|
||||||
|
}
|
||||||
|
|
||||||
public function addNotecard() {
|
public function addNotecard() {
|
||||||
$data = array();
|
$data = array();
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body" style="background-color:aliceblue;">
|
<div class="card-body" style="background-color:aliceblue;">
|
||||||
<a href="/member/page?pgname=<?=$drow->page_key?>" class="card-link">Go to Page</a>
|
<a href="/member/page?pgname=<?=$drow->page_key?>" class="card-link">Go to Page</a>
|
||||||
<a href="#" class="card-link">Share Page</a>
|
<a href="#" onclick="viewShareAction(<?= $_SESSION['member_id'] ?>,<?= $drow->id ?>,);" class="card-link">Share Page</a>
|
||||||
<a href="#" class="card-link" style="color: red;">Delete</a>
|
<a href="#" class="card-link" style="color: red;">Delete</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -98,9 +98,12 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h4 class="card-title">People you share with here</h4>
|
<h4 class="card-title">People you share with here</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="embed-responsive embed-responsive-item embed-responsive-16by9">
|
<div id="share_detail">
|
||||||
<iframe class="img-thumbnail" src="https://www.youtube.com/embed/vTlSEMdC5qw" allowfullscreen></iframe>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- div class="embed-responsive embed-responsive-item embed-responsive-16by9">
|
||||||
|
<iframe class="img-thumbnail" src="https://www.youtube.com/embed/vTlSEMdC5qw" allowfullscreen></iframe>
|
||||||
|
</div-->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -122,3 +125,22 @@
|
|||||||
<!-- END: Content-->
|
<!-- END: Content-->
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
<!--
|
||||||
|
|
||||||
|
function viewShareAction(member_id, page_id) {
|
||||||
|
|
||||||
|
$('#share_detail').html('Processing...');
|
||||||
|
$('#acc' + page_id).prop('disabled', true);
|
||||||
|
$.ajax({
|
||||||
|
url: "/member/viewSharePage?proc=PROCESS&page_id=" + page_id + "&member_id=" + member_id
|
||||||
|
}).done(function (data) {
|
||||||
|
$('#share_detail').html(data);
|
||||||
|
$('#acc' + page_id).prop('disabled', false);
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//initMap();
|
||||||
|
// -->
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user