File tree Expand file tree Collapse file tree 10 files changed +32
-24
lines changed
bower_components/Semantic-UI/examples Expand file tree Collapse file tree 10 files changed +32
-24
lines changed Original file line number Diff line number Diff line change 1
1
application /config /config_custom_test.php
2
- .htaccess
3
- robots.txt
4
- favicon.png
2
+ / .htaccess
3
+ / robots.txt
4
+ / favicon.png
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function __construct()
13
13
parent ::__construct ();
14
14
15
15
$ this ->CI =& get_instance ();
16
- $ this ->CI ->config ->load ('config_custom ' );
16
+ $ this ->CI ->config ->load ('config_custom_test ' );
17
17
}
18
18
19
19
function index ()
Original file line number Diff line number Diff line change 28
28
<div class="row">
29
29
<div class="nine wide column left aligned">
30
30
<div class="ui center aligned stackable page grid">
31
- <button class="ui teal massive left labeled icon button" id="get_repos_ajax "><i class="github square icon"></i>Get Repository with Ajax</button><br>
31
+ <button class="get_repos ui teal massive left labeled icon button cmd "><i class="github square icon"></i>Get Repository with Ajax</button><br>
32
32
<div class="ui pointing below green" id="repos_count" style="margin-top: 0.5em;"></div>
33
33
</div>
34
34
<div class="ui styled fluid accordion" id="repo_list" style="box-shadow: none;margin-top: 1em;">
39
39
</div>
40
40
41
41
<script>
42
- $("#get_repos_ajax ").click(function() {
42
+ $(".get_repos ").click(function() {
43
43
$.ajax({
44
44
type: "GET",
45
45
url: "https://api.github.com/users/<?php echo $ this ->CI ->config ->item ('github_username ' ); ?> /repos",
46
46
dataType: "json",
47
47
success: function(result) {
48
48
for( i in result ) {
49
49
$("#repo_list").append(
50
- "<div class='title'><i class='dropdown icon'></i>" + result[i].name + "<p class='ui blue tag label' style='float: right;'>" + result[i].language + "</p></div><div class='content'><p>" + result[i].description + "</p><p class='ui label purple'><i class='fork icon'></i> " + result[i].forks_count + "</p><p class='ui label purple'><i class='star icon'></i> " + result[i].stargazers_count + "</p><a class='ui red label' target='_blank' href=' " + result[i].html_url + "'>Go to Repository</a ></div>"
50
+ "<div class='title'><i class='dropdown icon'></i>" + result[i].name + "<p class='ui blue tag label' style='float: right;'>" + result[i].language + "</p></div><div class='content'><p>" + result[i].description + "</p><p class='ui label purple'><i class='fork icon'></i> " + result[i].forks_count + "</p><p class='ui label purple'><i class='star icon'></i> " + result[i].stargazers_count + "</p><div class='ui mini labeled input' style='width:100%;margin-top:1em;'><div class='ui label'><i class='lock icon' style='color:#5bbd72;'> https://</i></div><input type='text' value='github.com/ " + result[i].full_name + "'></div ></div>"
51
51
);
52
- console.log("i: " + i);
52
+ // For debug result by ID
53
+ // console.log("i: " + i);
53
54
}
54
55
console.log(result);
56
+ $('.cmd').removeClass('loading');
57
+ $('.cmd').addClass('disabled');
55
58
$('.ui.pointing.green').addClass('label');
56
59
$("#repos_count").append("Total " + result.length + " Repository");
57
60
}
58
61
});
62
+ $('.cmd').addClass('loading');
59
63
});
60
64
</script>
61
65
<?php $ this ->load ->view ('must/footer ' ); ?>
Original file line number Diff line number Diff line change 10
10
<meta name="description" content="<?php echo $ this ->CI ->config ->item ('description ' ); ?> ">
11
11
<meta name="keywords" content="<?php echo $ this ->CI ->config ->item ('keywords ' ); ?> ">
12
12
<link rel="icon" href="<?php echo base_url ('favicon.png ' ); ?> ">
13
- <link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.css ' ); ?> ">
13
+ <link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.min. css ' ); ?> ">
14
14
<link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/examples/homepage.css ' ); ?> ">
15
- <script src="//cdnjs.cloudflare .com/ajax/libs/jquery/2.0 .3/jquery.js"></script>
16
- <script src="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.js ' ); ?> "></script>
15
+ <script src="//ajax.googleapis .com/ajax/libs/jquery/2.1 .3/jquery.min .js"></script>
16
+ <script src="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.min. js ' ); ?> "></script>
17
17
<script src="<?php echo base_url ('bower_components/Semantic-UI/examples/homepage.js ' ); ?> "></script>
18
18
</head>
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function __construct()
13
13
parent ::__construct ();
14
14
15
15
$ this ->CI =& get_instance ();
16
- $ this ->CI ->config ->load ('config_custom ' );
16
+ $ this ->CI ->config ->load ('config_custom_test ' );
17
17
}
18
18
19
19
function index ()
Original file line number Diff line number Diff line change 10
10
<meta name="description" content="<?php echo $ this ->CI ->config ->item ('description ' ); ?> ">
11
11
<meta name="keywords" content="<?php echo $ this ->CI ->config ->item ('keywords ' ); ?> ">
12
12
<link rel="icon" href="<?php echo base_url ('favicon.png ' ); ?> ">
13
- <link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.css ' ); ?> ">
13
+ <link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.min. css ' ); ?> ">
14
14
<link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/examples/homepage.css ' ); ?> ">
15
- <script src="//cdnjs.cloudflare .com/ajax/libs/jquery/2.0 .3/jquery.js"></script>
16
- <script src="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.js ' ); ?> "></script>
15
+ <script src="//ajax.googleapis .com/ajax/libs/jquery/2.1 .3/jquery.min .js"></script>
16
+ <script src="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.min. js ' ); ?> "></script>
17
17
<script src="<?php echo base_url ('bower_components/Semantic-UI/examples/homepage.js ' ); ?> "></script>
18
18
</head>
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function __construct()
13
13
parent ::__construct ();
14
14
15
15
$ this ->CI =& get_instance ();
16
- $ this ->CI ->config ->load ('config_custom ' );
16
+ $ this ->CI ->config ->load ('config_custom_test ' );
17
17
}
18
18
19
19
function index ()
Original file line number Diff line number Diff line change 5
5
<div class="column">
6
6
<?php $ this ->load ->view ('must/menu ' ); ?>
7
7
<i class="red icon code force"></i>
8
- <div class="ui hidden transition information">
8
+ <div class="ui hidden transition information force ">
9
9
<h1 class="none ui inverted header">
10
10
<?php echo $ this ->CI ->config ->item ('website_name ' ); ?>
11
11
</h1>
Original file line number Diff line number Diff line change 10
10
<meta name="description" content="<?php echo $ this ->CI ->config ->item ('description ' ); ?> ">
11
11
<meta name="keywords" content="<?php echo $ this ->CI ->config ->item ('keywords ' ); ?> ">
12
12
<link rel="icon" href="<?php echo base_url ('favicon.png ' ); ?> ">
13
- <link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.css ' ); ?> ">
13
+ <link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.min. css ' ); ?> ">
14
14
<link rel="stylesheet" href="<?php echo base_url ('bower_components/Semantic-UI/examples/homepage.css ' ); ?> ">
15
- <script src="//cdnjs.cloudflare .com/ajax/libs/jquery/2.0 .3/jquery.js"></script>
16
- <script src="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.js ' ); ?> "></script>
15
+ <script src="//ajax.googleapis .com/ajax/libs/jquery/2.1 .3/jquery.min .js"></script>
16
+ <script src="<?php echo base_url ('bower_components/Semantic-UI/dist/semantic.min. js ' ); ?> "></script>
17
17
<script src="<?php echo base_url ('bower_components/Semantic-UI/examples/homepage.js ' ); ?> "></script>
18
18
<script src="<?php echo base_url ('bower_components/typed.js/dist/typed.min.js ' ); ?> "></script>
19
19
</head>
Original file line number Diff line number Diff line change @@ -144,8 +144,7 @@ html {
144
144
font-size : 1.5em ;
145
145
}
146
146
# home .masthead .segment .information {
147
- /*margin-left: 170px;*/
148
- margin : 0 ;
147
+ margin-left : 170px ;
149
148
}
150
149
151
150
# home .masthead .segment .image {
@@ -182,11 +181,16 @@ html {
182
181
}
183
182
184
183
@media only screen and (max-width : 768px ) {
185
- # home .masthead i .icon .code {
184
+ # home .masthead i .icon .code . force {
186
185
display : none;
187
186
}
188
187
}
189
-
188
+ @media only screen and (max-width : 768px ) {
189
+ # home .masthead .segment .information .force {
190
+ /*margin-left: 170px;*/
191
+ margin : 0 ;
192
+ }
193
+ }
190
194
.text-editor-wrap {
191
195
color : # 1b1c1d ;
192
196
display : block;
You can’t perform that action at this time.
0 commit comments