Révision 25220fd6
App_Resources/Android/src/main/AndroidManifest.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 |
package="__PACKAGE__" |
4 |
android:versionCode="10006"
|
|
5 |
android:versionName="1.0.6">
|
|
4 |
android:versionCode="10007"
|
|
5 |
android:versionName="1.0.7">
|
|
6 | 6 |
|
7 | 7 |
<supports-screens |
8 | 8 |
android:smallScreens="true" |
src/app.ios.scss | ||
---|---|---|
27 | 27 |
font-size: 24pt; |
28 | 28 |
} |
29 | 29 |
|
30 |
TextView { |
|
31 |
font-size: 24pt; |
|
32 |
} |
|
33 |
|
|
34 |
.TextView { |
|
35 |
font-size: 24pt; |
|
36 |
} |
|
37 |
|
|
30 | 38 |
TextField { |
31 | 39 |
font-size: 24pt; |
32 | 40 |
} |
src/app/home/home.component.html | ||
---|---|---|
25 | 25 |
<Label text="2. Donnez un nom à cette photo" class="label" textAlignment="left" autocorrect="true"></Label> |
26 | 26 |
<TextField id="label" hint="" secure="false" maxLength="50"> |
27 | 27 |
</TextField> |
28 |
<Label text="2.bis Un petit descriptif si vous voulez" class="legende" textAlignment="left" autocorrect="true"></Label> |
|
29 |
<TextView id="legende" hint="" autocorrect="true" maxLength="512" secure="false" [text]="legende"> |
|
30 |
</TextView> |
|
28 | 31 |
<Label text="3. Entrez le nom de l'album collaboratif" class="label" textAlignment="left"></Label> |
29 | 32 |
<TextField id="album" [text]="album" hint="" secure="false" maxLength="50" (blur)="onBlur($event)"> |
30 | 33 |
</TextField> |
src/app/home/home.component.ts | ||
---|---|---|
33 | 33 |
public pseudo: string; |
34 | 34 |
public email: string; |
35 | 35 |
public label: string; |
36 |
public legende: string; |
|
36 | 37 |
public album: string; |
37 | 38 |
public albumPass: string; |
38 | 39 |
private photoEditor; |
... | ... | |
70 | 71 |
this.album = getString("album", ""); |
71 | 72 |
this.albumPass = getString("albumPass", ""); |
72 | 73 |
this.label = ""; |
74 |
this.legende = ""; |
|
73 | 75 |
this.isBusy = false; |
74 | 76 |
this.enableButtons("btnSendPicture", false) |
75 | 77 |
} |
... | ... | |
211 | 213 |
this.isBusy = true; |
212 | 214 |
let labelObj = <TextField>getViewById(app.getRootView(), "label"); |
213 | 215 |
this.label = labelObj.text; |
216 |
let legendeObj = <TextField>getViewById(app.getRootView(), "legende"); |
|
217 |
this.legende = legendeObj.text; |
|
214 | 218 |
let albumObj = <TextField>getViewById(app.getRootView(), "album"); |
215 | 219 |
this.album = albumObj.text.toLowerCase().replace(/[^a-z0-9]/g, ""); |
216 | 220 |
albumObj = <TextField>getViewById(app.getRootView(), "albumPass"); |
... | ... | |
247 | 251 |
const filePath = path.join(folderPath, fileName); |
248 | 252 |
let labelObj = <TextField>getViewById(app.getRootView(), "label"); |
249 | 253 |
this.label = labelObj.text; |
254 |
let legendeObj = <TextField>getViewById(app.getRootView(), "legende"); |
|
255 |
this.legende = legendeObj.text; |
|
250 | 256 |
|
251 | 257 |
console.log("On voudrait uploader le fichier " + filePath + " dans l'album " + this.album + " sous le nom " + this.label); |
252 | 258 |
|
... | ... | |
282 | 288 |
{ name: "login", value: this.base64Encode(this.pseudo) }, |
283 | 289 |
{ name: "email", value: this.base64Encode(this.email) }, |
284 | 290 |
{ name: "label", value: this.base64Encode(this.label) }, |
291 |
{ name: "legende", value: this.base64Encode(this.legende) }, |
|
285 | 292 |
{ name: "album", value: this.base64Encode(this.album) }, |
286 | 293 |
{ name: "albumPass", value: this.base64Encode(this.albumPass) }, |
287 | 294 |
{ name: "version", value: "2" }, |
Formats disponibles : Unified diff