Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Cesar #172

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open

Cesar #172

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
25da541
changed logo
yarilcaos Jan 25, 2016
c88edff
changes names
yarilcaos Jan 25, 2016
61ac9c3
version actualized
yarilcaos Jan 26, 2016
51c526a
actualizadas img splash
yarilcaos Jan 26, 2016
a221155
icons changed
yarilcaos Jan 26, 2016
46f638e
config update
yarilcaos Jan 26, 2016
6a6e205
update 25 1
yarilcaos Jan 26, 2016
331c588
colors teste
yarilcaos Jan 26, 2016
8296f84
color change
yarilcaos Jan 27, 2016
b4b92ac
second color change
yarilcaos Jan 27, 2016
be98144
bringslive.com
yarilcaos Jan 27, 2016
a81e85a
push notifications
yarilcaos Jan 29, 2016
6174b1f
<gap:plugin name="com.pushbots.push" version="1.2.1" source="plugins.…
yarilcaos Jan 29, 2016
a0e3589
andoir api update
yarilcaos Jan 29, 2016
bf6148e
dah lee dos veces
yarilcaos Jan 29, 2016
52f8fd9
remade
yarilcaos Jan 29, 2016
13b9116
pushbots 0.1
yarilcaos Jan 29, 2016
bd64c14
config restaured
yarilcaos Jan 29, 2016
daf3074
remade 2.05
yarilcaos Jan 29, 2016
b7719ec
new update
yarilcaos Feb 1, 2016
f0db6a7
Merge remote-tracking branch 'origin/cesar' into cesar
yarilcaos Feb 1, 2016
0b1bd2e
reconfig
yarilcaos Feb 1, 2016
3bddaf5
12312
yarilcaos Feb 1, 2016
6b9babc
dwadawd
yarilcaos Feb 1, 2016
8b7e480
dwadawd
yarilcaos Feb 1, 2016
dacf26e
meesasgfe receibed
yarilcaos Feb 1, 2016
f7d0527
1234
yarilcaos Feb 1, 2016
c468561
testapush
yarilcaos Feb 1, 2016
ea1bebb
mm setconfig
yarilcaos Feb 1, 2016
9390309
123123
yarilcaos Feb 1, 2016
7ff3884
32323
yarilcaos Feb 1, 2016
f47aa0a
3232323
yarilcaos Feb 1, 2016
adc8c2a
33
yarilcaos Feb 1, 2016
b3164f9
thir stage
yarilcaos Feb 1, 2016
7b2a4f6
final
yarilcaos Feb 1, 2016
a0040e8
Update config.json
yarilcaos Apr 27, 2016
55e2486
Update index.html
yarilcaos Apr 27, 2016
e2ba5db
Update index.html
yarilcaos Apr 28, 2016
4cbe05b
azure notificacionts 1
yarilcaos Apr 28, 2016
13b613f
Update to buttonAlias
yarilcaos Apr 30, 2016
9ccbaac
add button notificaciones
yarilcaos Apr 30, 2016
823f809
alias in login
yarilcaos Apr 30, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Thumbs.db
Binary file not shown.
16 changes: 9 additions & 7 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{
{
"app_id" : "com.moodle.moodlemobile",
"versioncode" : "391",
"versionname" : "1.15",
"versioncode" : "2",
"versionname" : "2.11",
"cache_expiration_time" : 300000,
"default_lang" : "en",
"languages": {"ar": "عربي", "bg": "Български", "ca": "Català", "cs": "Čeština", "de": "Deutsch","en": "English", "es": "Español", "es_mx": "Español - México", "eu": "Euskara", "fa": "فارسی", "fr" : "Français", "he" : "עברית", "hu": "magyar", "it": "Italiano", "ja": "日本語","nl": "Nederlands", "pt_br": "Português - Brasil", "ru": "Русский", "sv": "Svenska", "tr" : "Türkçe", "zh_cn" : "简体中文", "zh_tw" : "正體中文"},
"plugins" : ["notifications", "messages", "upload", "events", "myfiles", "contents", "participants", "grades","addcontact", "addnote", "sendmessage", "forum", "label", "url", "page", "resource", "assign"],
"wsservice" : "moodle_mobile_app",
"wsextservice" : "local_mobile",
"presets" : {"url": "", "username": ""},
"presets" : {"url": "http://ita-acapulco.azurewebsites.net/", "username": ""},
"sync_ws_on" : true,
"sync_css_on" : true,
"sync_cron": 300000,
"sync_ws" : 300000,
"sync_css" : 3600000,
"event_notif_on": true,
"log_length" : 100,
"dev_debug": false,
"dev_debug": true,
"extra_js": [],
"demo_sites": [{"key": "student", "url": "http://school.demo.moodle.net", "username": "student", "password": "moodle"}, {"key": "teacher", "url": "http://school.demo.moodle.net", "username": "teacher", "password": "moodle"}, {"key": "cva", "url": "http://mm.cvaconsulting.com/moodle", "username": "student", "password": "student"}],
"demo_sites": [],
"notifications_enabled": true,
"gcmpn": "694767596569"
"gcmpn": "694767596569",
"reportbugmail": "[email protected]"

}
15 changes: 8 additions & 7 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
xmlns:android = "http://schemas.android.com/apk/res/android"
id = "com.moodle.moodlemobile"
versionCode = "391"
version = "1.15">
<name>Moodle Mobile</name>
id = "com.moodle.yarilcaos"
versionCode = "2"
version = "2.11">
<name>ITA Educacion movil</name>

<description>
Moodle Mobile official app
</description>

<author href="http://moodle.com" email="juan@moodle.com">
Juan Leyva
<author href="http://moodle.com" email="yarilcaos@gmail.com">
Cesar Yaril
</author>

<gap:config-file platform="ios" parent="CFBundleShortVersionString">
Expand Down Expand Up @@ -86,7 +86,8 @@
<gap:plugin name="org.apache.cordova.network-information" />
<gap:plugin name="org.apache.cordova.splashscreen" />
<gap:plugin name="com.phonegap.plugin.statusbar" />

<gap:plugin name="pushbots-cordova-plugin" source="npm" />
<!--plugin name="com.microsoft.azure-mobile-services" spec="1.2.8" source="pgb" /-->
<gap:plugin name="com.phonegap.plugins.pushplugin" />
<gap:plugin name="net.tunts.webintent" />
<gap:plugin name="nl.x-services.plugins.launchmyapp">
Expand Down
16 changes: 8 additions & 8 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ body {
font-size: 16px;
font-size: 1rem;
line-height: 24px;
background: #fa8f1c url(../img/bg-orange.png);
background: #020831 url(../img/bg-orange.png);
}
/* =1.3 - Links
--------------------------------------------------------*/
Expand Down Expand Up @@ -513,7 +513,7 @@ hr {
height: 44px;
line-height: 44px;
overflow: hidden;
background: #fa8f1c;
background: #0066cc;
border-bottom: 0;
}
.header-main .nav-main {
Expand Down Expand Up @@ -595,13 +595,13 @@ hr {
/* - User menu on the left panel
-------------------------------------------------------------------------- */
.user-menu {
background: #fa8f1c;
background: #0066cc;
padding-bottom: 40px;
height: auto;
}
.user-menu header {
padding: 10px;
background: #fa8f1c;
background: #0066cc;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: none;
}
Expand Down Expand Up @@ -1182,12 +1182,12 @@ hr {
}
.path-messages .conversation .conversation-area .bubble-alt {
background-color: #ffffff;
border-color: #fa8f1c;
border-color: #0066cc;
float: right;
}
.path-messages .conversation .conversation-area .bubble-alt:before {
border-color: transparent;
border-left-color: #fa8f1c;
border-left-color: #0066cc;
left: auto;
right: -16px;
}
Expand Down Expand Up @@ -1585,7 +1585,7 @@ hr {
letter-spacing: .5px;
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
padding: 10px;
background-color: #fa8f1c;
background-color: #0066cc;
-webkit-border-radius: 10px 10px 0 0;
-moz-border-radius: 10px 10px 0 0;
border-radius: 10px 10px 0 0;
Expand Down Expand Up @@ -1900,7 +1900,7 @@ div.jqi button.jqidefaultbutton {
width: 100% !important;
height: 100%;
margin-top: 0 !important;
background-color: #fa8f1c;
background-color: #0066cc;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
Expand Down
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Thumbs.db
Binary file not shown.
Binary file modified img/bg-orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/files/Thumbs.db
Binary file not shown.
Binary file added img/grades/Thumbs.db
Binary file not shown.
Binary file modified img/icon/android/icon-144-xxhdpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/icon/android/icon-36-ldpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/icon/android/icon-48-mdpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/icon/android/icon-72-hdpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/icon/android/icon-96-xhdpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/login-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/login-logoR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mod/Thumbs.db
Binary file not shown.
Binary file modified img/splash/android/android_hdpi_portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/splash/android/android_ldpi_portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/splash/android/android_mdpi_portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/splash/android/android_xhdpi_portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 65 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@
// We should wait to phonegap, if not, we get errors like:
// http://rickluna.com/wp/2012/04/solving-the-connection-to-the-server-was-unsuccessful-error-in-androidphonegap/
$(document).bind('deviceready', function() {

//push


/* document.addEventListener('deviceready', function () {
var Pushbots = PushbotsPlugin.initialize("56ab9216177959af218b4567", {"android":{"sender_id":"AIzaSyCUhgNcU33Fp7miG4p6AimklpWbJWzN8Xg"}});
}, false);*/
document.addEventListener('deviceready', function () {
window.plugins.PushbotsPlugin.initialize("56ab9216177959af218b4567", {"android":{"sender_id":"963595412229"}});
//var client = new WindowsAzure.MobileServiceClient(ZUMOAPPURL);
}, false);
//end push
MM.log('Deviceready fired');
MM.deviceReady = true;
// Store the device locale for further uses.
Expand Down Expand Up @@ -117,15 +129,58 @@

<div id="add-site" style="display: none">

</div>
<div id="nousercourses" style="display: none">

</div>

<div id="manage-accounts" style="display: none">

</div>
<script type="text/template" id="nousercourses_template">
<div id="nousercourses2" class="page">
<header style="background-color:white">
<div class="media" >
<img src="img/login-logo.png">
</div>
</header>
<header class="header-main">
<nav class="nav-main">
<ul class="nav">
<li class="nav-item home menu-home">
<a href="#" class="ir" id="mainmenu">
Oferta educativa
</a>
</li>
<li class="nav-item no-submenu">Arquitectura</li>
</ul>
<h1 id="page-title"></h1>
</nav>
</header>
<header class="header-main">
<nav class="nav-main">
<ul class="nav">
<li class="nav-item home menu-home">
<a href="#" class="ir" id="mainmenu">
Cursos de refuerzo
</a>
</li>
<li class="nav-item no-submenu">Temas selectos de matematicas</li>
</ul>
<h1 id="page-title"></h1>
</nav>
</header>

</div>
</script>
<div id="main-wrapper" style="display: none; background-color: white">

<div class="header-wrapper">
<header style="background-color:white">
<div class="media" >
<img src="img/login-logo.png">
</div>
</header>
<header class="header-main">
<nav class="nav-main">
<ul class="nav">
Expand Down Expand Up @@ -163,6 +218,11 @@ <h1 id="page-title"></h1>
</div>

<script type="text/template" id="menu_template">
<header style="background-color:white">
<div class="media" >
<img src="img/login-logo.png">
</div>
</header>
<header>
<div class="media">
<div class="refresh app-ico">
Expand Down Expand Up @@ -337,24 +397,26 @@ <h1 class="app-ico">
<form action="" novalidate>
<div id="login-details">
<p>
<input type="url" id="url" autocapitalize="off" autocorrect="off" placeholder="<%= MM.lang.s("siteurl") %>">
<input type="url" id="url" autocapitalize="off" autocorrect="off" placeholder="<%= MM.lang.s("siteurl") %>" readonly>
</p>
<div id="login-credentials">
<p>
<input type="text" id="username" autocapitalize="off" autocorrect="off" placeholder="<%= MM.lang.s("username") %>">
</p>
<p>

<input type="password" id="password" placeholder="<%= MM.lang.s("password") %>">
</p>
</div>
<p>
<input type="submit" name="add" id="addsitebutton" value="<%= MM.lang.s("add") %>">
<input type="submit" name="add" id="addsitebutton" value="Entrar">
<input type="button" name="reset" id="resetsitebutton" value="<%= MM.lang.s("reset") %>">
</p>
</div>
</form>
<div id= "helplogin">
<a href="#helpmelogin"><%= MM.lang.s("icantlogin") %></a>
<a href="http://ita-acapulco.azurewebsites.net/login/signup.php?" target="_blank">Registrarme</a>

<a href="#manage-accounts"><%= MM.lang.s("manageaccounts") %></a>
</div>
</script>
Expand Down
Loading