Skip to content

Commit

Permalink
fix dependencies to use proper CDN /https for #147
Browse files Browse the repository at this point in the history
  • Loading branch information
romaninsh committed Apr 28, 2017
1 parent 46d2e1c commit 319ce26
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 24 deletions.
7 changes: 4 additions & 3 deletions demos/demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- Site Properties-->
<title>Agile UI - Button Test</title>
<link rel="stylesheet" type="text/css" href="http://semantic-ui.com/dist/semantic.css">
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
<script src="http://semantic-ui.com/dist/semantic.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0/jquery.serialize-object.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js"></script>
</head>
<body>

Expand Down
7 changes: 4 additions & 3 deletions demos/templates/layout1.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- Site Properties-->
<title>Rainas homepage</title>
<link rel="stylesheet" type="text/css" href="http://semantic-ui.com/dist/semantic.css">
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
<script src="http://semantic-ui.com/dist/semantic.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0/jquery.serialize-object.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js"></script>
<style type="text/css">
@media (min-height: 320px) {
.ui.footer.form-page { /* Increased specificity for SO snippet priority */
Expand Down
7 changes: 4 additions & 3 deletions demos/templates/layout1.jade
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ html
meta(name='viewport', content='width=device-width, initial-scale=1.0, maximum-scale=1.0')
// Site Properties
title Rainas homepage
link(rel='stylesheet', type='text/css', href='http://semantic-ui.com/dist/semantic.css')
script(src='https://code.jquery.com/jquery-3.1.1.js')
script(src='http://semantic-ui.com/dist/semantic.js')
link(rel='stylesheet', type='text/css', href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.css')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0/jquery.serialize-object.min.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js')
style(type='text/css').
@media (min-height: 320px) {
.ui.footer.form-page { /* Increased specificity for SO snippet priority */
Expand Down
8 changes: 4 additions & 4 deletions demos/templates/layout2.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- Site Properties-->
<title>Agile UI - Button Test</title>
<link rel="stylesheet" type="text/css" href="http://semantic-ui.com/dist/semantic.css">
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
<script src="http://semantic-ui.com/dist/semantic.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jQuery.serializeObject/2.0.3/jquery.serializeObject.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0/jquery.serialize-object.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js"></script>
<style type="text/css">
@media (min-height: 320px) {
.ui.footer.form-page { /* Increased specificity for SO snippet priority */
Expand Down
8 changes: 4 additions & 4 deletions demos/templates/layout2.jade
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ html
meta(name='viewport', content='width=device-width, initial-scale=1.0, maximum-scale=1.0')
// Site Properties
title Agile UI - Button Test
link(rel='stylesheet', type='text/css', href='http://semantic-ui.com/dist/semantic.css')
script(src='https://code.jquery.com/jquery-3.1.1.js')
script(src='http://semantic-ui.com/dist/semantic.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jQuery.serializeObject/2.0.3/jquery.serializeObject.min.js')
link(rel='stylesheet', type='text/css', href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.css')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0/jquery.serialize-object.min.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js')
style(type='text/css').
@media (min-height: 320px) {
.ui.footer.form-page { /* Increased specificity for SO snippet priority */
Expand Down
2 changes: 1 addition & 1 deletion docs/app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Most of the time CDN servers are faster (cached) and more reliable.
Method to include additional CSS stylesheet in page::

$app->requireCSS('http://semantic-ui.com/dist/semantic.css');
$app->requireCSS('//semantic-ui.com/dist/semantic.css');

Hooks
=====
Expand Down
17 changes: 16 additions & 1 deletion docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,22 @@
Overview of Agile UI
====================

Agile UI is a component framework that makes you type less HTML in your
Agile UI is a PHP component framework.

Before I start diving in, I'd like to make sure you understand cleary what
Agile UI is and what does it do.

1. Agile UI is an open-source software library/framework, that makes certain
tasks easier to be done for developers.

2. In particular Agile UI focuses on






that makes you type less HTML in your
PHP project. Integrating with a most popular PHP CSS frameworks, with
Agile UI you can generate a cutting-edge responsive HTML layout that is
lightweight, look beautiful and is fully interractive.
Expand Down
6 changes: 3 additions & 3 deletions template/semantic-ui/html.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<title>{title}Agile UI - Untitled Project{/}</title>{$meta}
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="http://semantic-ui.com/dist/semantic.css">
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0/jquery.serialize-object.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js"></script>
<script>
Expand All @@ -18,7 +18,7 @@
}
return true;
}

$.fn.api.settings.onFailure = function(response) {
w=window.open(null,'Error in JSON response','height=1000,width=1100,location=no,menubar=no,scrollbars=yes,status=no,titlebar=no,toolbar=no');
if(w){
Expand Down
4 changes: 2 additions & 2 deletions template/semantic-ui/html.pug
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ html(lang="{lang}en{/}")
title {title}Agile UI - Untitled Project{/}
| {$meta}
meta(charset='utf-8')
link(rel='stylesheet', type='text/css', href='http://semantic-ui.com/dist/semantic.css')
script(src='https://code.jquery.com/jquery-3.1.1.js')
link(rel='stylesheet', type='text/css', href='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.css')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0/jquery.serialize-object.min.js')
script(src='https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js')
script.
Expand Down

0 comments on commit 319ce26

Please sign in to comment.