index.blade.php
5.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<style>
.heading-buttons h4{
line-height:20px;
}
</style>
<div class="layout-app"><!-- row-app -->
<div class="row row-app">
<!-- col -->
<div class="col-md-12">
<!-- col-separator.box -->
<div class="col-separator col-separator-first col-unscrollable box">
<!-- col-table -->
<div class="col-table" id=authorworkspacediv>
<!-- Search Bar -->
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for Skill Group...">
<span class="input-group-btn">
<button class="btn btn-primary rounded-none" type="button"><i class="fa fa-search"></i></button>
</span>
</div>
<div class="col-separator-h"></div>
<!-- End Search Bar -->
<div class="col-table-row">
<div class="col-app col-unscrollable">
<div class="col-app">
<div class="row-app">
<div class="col-md-6">
<div class="col-separator">
<!-- Category Heading -->
<div class="heading-buttons bg-gray border-bottom innerR half">
<a href="#" class="btn btn-sm btn-inverse pull-right" onclick="doAjax('skillgroup/create','','skillgroupFormDiv','ajax_group_create','singlethis','GET');return false"><i class="fa fa-plus fa-fw"></i>New Skill Group</a>
<h4 class="innerTB margin-bottom-none">Skill Group List</h4>
<div class="clearfix"></div>
</div>
<!-- End Category Heading -->
<?php //echo $grouplist->render(); ?>
<?php if(count($skill_group) > 0){
foreach ($skill_group as $skill){ //echo "<pre>";print_r($skill->id);exit();
$tphoto="assets/images/people/avatar.jpg";
?>
<!-- Group Skill Listing -->
<div class="row innerAll half border-bottom bg-gray-hover">
<div class="col-sm-2 col-xs-4">
<ul class="media-list margin-none">
<li class="media">
<a class="pull-left innerAll" href="#" onclick="doAjax('skillgroup/{!!$skill->id!!}/edit','','skillgroupFormDiv','ajax_group_create','singlethis','GET');return false;">
<span class="btn btn-primary btn-xs"><i class="fa fa-pencil"></i></span>
</a>
</li>
</ul>
</div>
<div class="col-sm-4 col-xs-hidden">
<div class="innerAll">
<div class="media">
<!-- <a href="#" class="pull-left">
<img src="{!!$tphoto!!}" class="media-object" width=35px />
</a> -->
<div class="media-body">
<a href="#" class="text-small" title='{!!$skill->created_at!!}' onclick="doAjax('skillgroup/{!!$skill->id!!}/edit','','skillgroupFormDiv','ajax_group_create','singlethis','GET');return false;">{!!$skill->group_name!!}</a>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
<!-- // END Skillgrouplist Listing -->
<?php } }else{?>
<div class="row innerAll half border-bottom bg-gray-hover">
<div class="col-sm-6 col-xs-8" style="text-align: center;">
<b>No data available</b>
</div>
</div>
<?php } ?>
<?php //echo $grouplist->render(); ?>
</div>
<!-- // END col-separator -->
</div>
<!-- // END col -->
<!-- col -->
<div class="col-md-6">
<!-- col-separator -->
<div class="col-separator col-separator-last" id=skillgroupFormDiv>
</div>
<!-- // END col-separator -->
</div>
<!-- // END col-table -->
</div>
<!-- // END col-separator.box -->
</div>
<!-- // END col -->
</div>
<!-- // END row-app -->
</div>
<script>
$(".pagination a").click(function(e){
e.preventDefault();
var url=$(this).attr("href");
var res = url.split("page=");
menuAction("group?page="+res[1]);
return false;
});
$(document).ready(function(){
});
</script>
<style type="text/css">
.tmar {
margin-top : 10px;
}
.iconsize {
font-size: 2em;
margin-top: 5px;
}
</style>