mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Move icons folder form uitests/flexbox in perfapp because some CI
This commit is contained in:
@@ -19,7 +19,7 @@ const bodies = [
|
||||
const items = [];
|
||||
for (var i = 0; i < 64; i++) {
|
||||
items.push({
|
||||
icon: "~/ui-tests-app/flexbox/icons/icon" + (1 + (i % 3)) + ".jpg",
|
||||
icon: "~/perf-app/icons/icon" + (1 + (i % 3)) + ".jpg",
|
||||
title: titles[i % titles.length],
|
||||
body: bodies[i % bodies.length],
|
||||
up: (i * 991) % 100,
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
<Image src="{{ icon }}" flexGrow="0" flexShrink="1" margin="6 4 4 4" borderWidth="1" borderColor="gray" borderRadius="16" width="32" height="32" />
|
||||
<Label text="{{ title }}" flexGrow="1" flexShrink="0" width="0" margin="1 4 0 0" />
|
||||
<Label text="{{ body }}" textWrap="true" width="100%" margin="4 4 6 4" fontSize="11" />
|
||||
<Image src="~/ui-tests-app/flexbox/icons/thumbsdown.png" width="18" height="18" margin="4" />
|
||||
<Image src="~/perf-app/icons/thumbsdown.png" width="18" height="18" margin="4" />
|
||||
<Label text="{{ up }}" flexGrow="1" flexShrink="0" width="0" fontSize="13" />
|
||||
<Image src="~/ui-tests-app/flexbox/icons/thumbsup.png" width="18" height="18" margin="4" />
|
||||
<Image src="~/perf-app/icons/thumbsup.png" width="18" height="18" margin="4" />
|
||||
<Label text="{{ down }}" flexGrow="1" flexShrink="0" width="0" fontSize="13" />
|
||||
</FlexboxLayout>
|
||||
</Repeater.itemTemplate>
|
||||
@@ -34,9 +34,9 @@
|
||||
<Image src="{{ icon }}" colSpan="2" horizontalAlignment="left" width="32" height="32" margin="6 4 4 4" borderWidth="1" borderRadius="16" borderColor="16" borderColor="gray" />
|
||||
<Label text="{{ title }}" colSpan="2" margin="4 4 0 41" verticalAlignment="center" />
|
||||
<Label text="{{ body }}" colSpan="2" row="1" textWrap="true" margin="4 4 6 4" fontSize="11" />
|
||||
<Image src="~/ui-tests-app/flexbox/icons/thumbsdown.png" row="2" width="18" height="18" margin="4" horizontalAlignment="left" />
|
||||
<Image src="~/perf-app/icons/thumbsdown.png" row="2" width="18" height="18" margin="4" horizontalAlignment="left" />
|
||||
<Label text="{{ up }}" row="2" fontSize="13" margin="0 0 0 26" verticalAlignment="center" />
|
||||
<Image src="~/ui-tests-app/flexbox/icons/thumbsup.png" row="2" col="1" width="18" height="18" margin="4" horizontalAlignment="left" />
|
||||
<Image src="~/perf-app/icons/thumbsup.png" row="2" col="1" width="18" height="18" margin="4" horizontalAlignment="left" />
|
||||
<Label text="{{ down }}" row="2" col="1" fontSize="13" margin="0 0 0 26" verticalAlignment="center" />
|
||||
</GridLayout>
|
||||
</Repeater.itemTemplate>
|
||||
@@ -53,9 +53,9 @@
|
||||
<Image src="{{ icon }}" alignSelf="center" width="32" height="32" margin="4" borderWidth="1" borderRadius="16" borderColor="16" borderColor="gray" />
|
||||
<Label text="{{ title }}" margin="4" />
|
||||
<Label text="{{ body }}" textWrap="true" margin="4" fontSize="11" />
|
||||
<Image src="~/ui-tests-app/flexbox/icons/thumbsdown.png" width="18" height="18" margin="4" />
|
||||
<Image src="~/perf-app/icons/thumbsdown.png" width="18" height="18" margin="4" />
|
||||
<Label text="{{ up }}" fontSize="13" alignSelf="center" />
|
||||
<Image src="~/ui-tests-app/flexbox/icons/thumbsup.png" width="18" height="18" margin="4" />
|
||||
<Image src="~/perf-app/icons/thumbsup.png" width="18" height="18" margin="4" />
|
||||
<Label text="{{ down }}" fontSize="13" alignSelf="center" />
|
||||
</FlexboxLayout>
|
||||
</Repeater.itemTemplate>
|
||||
@@ -72,9 +72,9 @@
|
||||
<Image src="{{ icon }}" horizontalAlignment="center" width="32" height="32" margin="4" borderWidth="1" borderRadius="16" borderColor="16" borderColor="gray" />
|
||||
<Label text="{{ title }}" margin="4" />
|
||||
<Label text="{{ body }}" textWrap="true" margin="4" fontSize="11" />
|
||||
<Image src="~/ui-tests-app/flexbox/icons/thumbsdown.png" width="18" height="18" margin="4" />
|
||||
<Image src="~/perf-app/icons/thumbsdown.png" width="18" height="18" margin="4" />
|
||||
<Label text="{{ up }}" fontSize="13" horizontalAlignment="center" />
|
||||
<Image src="~/ui-tests-app/flexbox/icons/thumbsup.png" width="18" height="18" margin="4" />
|
||||
<Image src="~/perf-app/icons/thumbsup.png" width="18" height="18" margin="4" />
|
||||
<Label text="{{ down }}" fontSize="13" horizontalAlignment="center" />
|
||||
</StackLayout>
|
||||
</Repeater.itemTemplate>
|
||||
|
||||
BIN
apps/app/perf-app/icons/icon1.jpg
Normal file
BIN
apps/app/perf-app/icons/icon1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
apps/app/perf-app/icons/icon2.jpg
Normal file
BIN
apps/app/perf-app/icons/icon2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 937 B |
BIN
apps/app/perf-app/icons/icon3.jpg
Normal file
BIN
apps/app/perf-app/icons/icon3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
apps/app/perf-app/icons/thumbsdown.png
Normal file
BIN
apps/app/perf-app/icons/thumbsdown.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
BIN
apps/app/perf-app/icons/thumbsup.png
Normal file
BIN
apps/app/perf-app/icons/thumbsup.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
@@ -6,10 +6,10 @@
|
||||
"nativescript": {
|
||||
"id": "org.nativescript.apps",
|
||||
"tns-ios": {
|
||||
"version": "2.5.0"
|
||||
"version": "3.0.0"
|
||||
},
|
||||
"tns-android": {
|
||||
"version": "2.5.0"
|
||||
"version": "3.1.0-next-2017-05-03-1774"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user