diff --git a/2017_03_18_100840-android-release.apk b/2017_03_18_100840-android-release.apk deleted file mode 100644 index 5e37d69..0000000 Binary files a/2017_03_18_100840-android-release.apk and /dev/null differ diff --git a/README.md b/README.md index cc9ba0f..b46e40e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ App per xm, prende i contenuti dal sito e te li salva nel cellulare. - + + + ## Environment ## @@ -51,6 +53,8 @@ http://www.digitigrafo.it/module/1249 ## Build del progetto ## +### Android ### + `cordova platform rm android` Per rimuovere la piattaforma vecchie di Android @@ -83,6 +87,18 @@ Per installare il plugin sulla rete che non viene installato in automatico Per lanciare l'emulatore Android con l'applicazione. Ovviamente si deve aver configurato il proprio environment correttamente. +### iOS ### + +Installando `phonegap-plugin-push` se si incontra questo errore: + +``` +Installing "phonegap-plugin-push" for ios +*Failed to install 'phonegap-plugin-push':undefined* +Error: CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/ +``` + +Occore installare `CocoaPods` come descritto sulla [documentazione del plugin](https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#ios-details) + ## TODO, ISSUE e FEATURE ## Usiamo l'[issue tracker](https://git.lattuga.net/hacklabbo/Ilovexm24/issues) non il wiki. diff --git a/android-debug.apk b/android-debug.apk index 0afc6c4..7d81f22 100644 Binary files a/android-debug.apk and b/android-debug.apk differ diff --git a/screenshot1.png b/screenshot1.png deleted file mode 100644 index 500775f..0000000 Binary files a/screenshot1.png and /dev/null differ diff --git a/screenshot_eventi.png b/screenshot_eventi.png new file mode 100644 index 0000000..d146317 Binary files /dev/null and b/screenshot_eventi.png differ diff --git a/screenshot_menu.png b/screenshot_menu.png new file mode 100644 index 0000000..2ef295e Binary files /dev/null and b/screenshot_menu.png differ diff --git a/screenshot_post.png b/screenshot_post.png new file mode 100644 index 0000000..7ee07f9 Binary files /dev/null and b/screenshot_post.png differ diff --git a/www/css/index.css b/www/css/index.css index 00d8bfe..8fa5598 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -28,7 +28,7 @@ /* First breakpoint is 48em (768px). 3 column layout. Tiles 250x250 pixels incl. margin at the breakpoint. */ body{ - background: url("sfondo.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important; + /*background: url("sfondo.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0) !important;*/ } .ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper { @@ -395,62 +395,65 @@ max-width: 100%; } -.ombra -{ +.ombra { box-shadow:10px 10px 15px #888; } - .ui-navbar li:last-child .ui-btn { - color: black !important; - } +.ui-navbar li:last-child .ui-btn { + color: black !important; +} - .letterlink { - background-color: white; - border-bottom: solid 1px #666; - box-shadow: 2px 2px 2px 0px #666; - margin-top: -5px; - } +.ui-footer li:last-child .ui-btn { + color: white !important; +} - ul.letterlink li { - display: inline-block; - font-size: 2em; - text-transform: uppercase; - color: red; - padding: 2px 0.2em; - } +.letterlink { + background-color: white; + border-bottom: solid 1px #666; + box-shadow: 2px 2px 2px 0px #666; + margin-top: -5px; +} - ul.letterlink li a.ui-link { - color: red !important; - text-decoration: none; - } +ul.letterlink li { + display: inline-block; + font-size: 2em; + text-transform: uppercase; + color: red; + padding: 2px 0.2em; +} - .listatovirgole.listevoci ul li a { - text-transform: initial; - font-size: 1.5em !important; - color: #000 !important; - } +ul.letterlink li a.ui-link { + color: red !important; + text-decoration: none; +} - .listatovirgole ul li small, - .listatovirgole.listevoci ul li small { - font-size: 0.8em !important; - } +.listatovirgole.listevoci ul li a { + text-transform: initial; + font-size: 1.4em !important; + color: #000 !important; +} - .gifloader:nth-child(2) { - display: none; - } +.listatovirgole ul li small, +.listatovirgole.listevoci ul li small { + font-size: 0.8em !important; +} - img.gifloader:nth-child(3) { - display: none; - } +.gifloader:nth-child(2) { + display: none; +} - ul.aindex.downnav.ui-grid-b { - height: 13px; - } +img.gifloader:nth-child(3) { + display: none; +} - .letterlink { - padding: 0px 1.5em; - } +ul.aindex.downnav.ui-grid-b { + height: 13px; +} + +.letterlink { + padding: 0px 1.5em; +} /*paginazione*/ @@ -712,7 +715,7 @@ img.minilogo { font-size: 1.8em; text-transform: uppercase; color: #c53f33; - margin-bottom: 0.4em; + margin-bottom: 0.2em; } p.elements{margin:0px 1.5em !important; padding: 0em; @@ -1137,17 +1140,22 @@ width: 150px;} /*contenuto della pagina presentazioni e come si usa*/ -.ui-content{margin-top: 1em !important;} +.ui-content{ + margin-top: 0.7em !important; + padding: 0.7em !important; +} + +p:has(> img.panel_logo){ + margin: 0.9em 0px; +} .panel_logo { - height: 20vh; margin: 0 50% 10%; transform: translate(-50%, 0); -webkit-transform: translate(-50%, 0); -moz-transform: translate(-50%, 0); } - /*footer*/ #navfooter{ /*max-width: 800px; margin: 0 auto -34px;*/ @@ -1173,8 +1181,13 @@ width: 150px;} max-height: 30px; } -.my-new-list li { - border-bottom: 1px solid gray; +hr.post-divider { + margin-left: 15%; + width: 70%; + color: #c53f33; + border-style: dashed; + border-width: 1px; + margin-bottom: 2px; } #outside, .ui-body-a, .ui-page-theme-a .ui-body-inherit, html .ui-bar-a .ui-body-inherit, html .ui-body-a .ui-body-inherit, html body .ui-group-theme-a .ui-body-inherit, html .ui-panel-page-container-a { diff --git a/www/image/ilovexm24_menu.png b/www/image/ilovexm24_menu.png new file mode 100644 index 0000000..035e8c8 Binary files /dev/null and b/www/image/ilovexm24_menu.png differ diff --git a/www/index.html b/www/index.html index 1a814c5..5c9b816 100644 --- a/www/index.html +++ b/www/index.html @@ -40,9 +40,10 @@ + - + @@ -54,7 +55,7 @@
-

+

- - + -->
@@ -189,27 +224,21 @@ Non è stato attalmente caricato alcun contenuto

-
-
- - + +
-
-

ultime novità

-
- -
- + +
@@ -217,59 +246,48 @@

-
-
- -
- + +

TAG:

- +

-
- -
- + +

Risultati della ricerca

-

+

Questa voce è nuova ed è disponibile online. Aggiorna ora gli articoli locali della tua app:

- +
-
- -
- + +
-
-
-

+

+ +

-
- -
- + + diff --git a/www/js/crud.events.js b/www/js/crud.events.js index 91697c4..ea94347 100644 --- a/www/js/crud.events.js +++ b/www/js/crud.events.js @@ -3,7 +3,7 @@ var EVENTS = EVENTS || {}; EVENTS.table = { single : 'xm24_events_single', repeat : 'xm24_events_repeat', -} +}; EVENTS.dateFormat = { store : { @@ -14,7 +14,7 @@ EVENTS.dateFormat = { date: "DD-MM-YYYY", hour: "HH:mm" } -} +}; EVENTS.storeDateFormat = EVENTS.dateFormat.store.date + " " + EVENTS.dateFormat.store.hour; EVENTS.displayDateFormat = EVENTS.dateFormat.display.date + " " + EVENTS.dateFormat.display.hour; @@ -23,7 +23,7 @@ EVENTS.formatDate = function(date, format) { var mdate = moment(date); return mdate.isValid() ? mdate.format(format) : ""; -} +}; EVENTS.render = function() { var ret = checkConnection('ERR_EVENT'); @@ -34,7 +34,7 @@ EVENTS.render = function() { EVENTS.loadFromDb('#mostralista-'+ ai1ec.cats.single, ai1ec.cats.single); EVENTS.loadFromDb('#mostralista-'+ ai1ec.cats.repeat, ai1ec.cats.repeat); } -} +}; EVENTS.getDataAndLoad = function (type) { type = type || ai1ec.cats.single; @@ -105,28 +105,27 @@ EVENTS.loadFromDb = function (containerId, type) { var evInitDate = EVENTS.formatDate(item.initDate, EVENTS.displayDateFormat); var evEndDate = EVENTS.formatDate(item.endDate, EVENTS.displayDateFormat); - var evFrom = "Da: " + evInitDate; - var evTo = ""; - if(evEndDate != "") { - evTo = "
" + " A: " + evEndDate; + var evFrom = "Da: " + evInitDate + ""; + var evTo = " "; + if(evEndDate !== "") { + evTo += "A: " + evEndDate + ""; } var li = "
  • " + //"" + - "" - + item.title + + "" + + item.title + "" + "
    " + - evFrom + - evTo + evFrom + evTo + + "
    "+ "
  • "; items.push(li); } $(containerId).empty(); $("