Task TT-75 Implement "Main page loading UI" view
[profile/tv/apps/web/browser.git] / services / MainUI / edc / error.edc
1 collections {
2     images {
3         image: "web_browsing_icon_error.png" COMP;
4     }
5     group { name: "error_message";
6     styles {
7         style { name: "mssage_style";
8             base: "font=Sans font_size=35 color=#d3d3d3 wrap=word align=0.5";
9         }
10         style { name: "mssage_hint_style";
11             base: "font=Sans font_size=24 color=#868686 wrap=word align=0.5";
12         }
13     }
14     parts {
15         part{
16             name: "message_background";
17             type: RECT;
18             description{
19                 state: "default" 0.0;
20                 visible: 1;
21                 rel1.relative: 0 0;
22                 rel2.relative: 1 1;
23                 color: 42 50 64 255;
24             }
25         }
26         part{
27             name: "error_message_background";
28             type:RECT;
29             description{
30                 state: "default" 0.0;
31                 visible: 1;
32                 min: 1582 730;
33                 max: 1582 730;
34                 fixed: 1 1;
35                 align: 0.5 0.5;
36                 color: 30 38 50 153;
37             }
38         }
39         part{
40             name: "err_ico";
41             type: IMAGE;
42             description{
43                 state: "default" 0.0;
44                 visible: 1;
45                 min: 140 140;
46                 max:140 140;
47                 fixed: 1 1;
48                 align: 0.5 0;
49                 rel1{
50                     relative: 0 0;
51                     offset:0 163;
52                     to: "error_message_background";
53                 }
54                 rel2{
55                     relative: 1 1;
56                     to: "error_message_background";
57                     }
58                 image{
59                     normal: "web_browsing_icon_error.png";
60                 }
61             }
62         }
63
64         part{
65             name: "error_text";
66             type: TEXTBLOCK;
67             description{
68                 state: "default" 0.0;
69                 visible: 1;
70                 fixed: 1 1;
71                 min: 1502 96;
72                 max: 1502 96;
73                 //color: 211 211 211 255;
74                 align: 0.5 0;
75                 rel1{
76                     relative: 0 1;
77                     to_x: "error_message_background";
78                     to_y: "err_ico";
79                 }
80                 rel2{
81                     relative: 1 1;
82                     to: "error_message_background";
83                 }
84                 text{
85                     style: "mssage_style";
86                     text: "Server not found.<br/>sdf Please check the followings:";
87                     //min: 0 0;
88                     //max: 1 1;
89                     //align: 1 0;
90                     //size: 35;
91                 }
92             }
93         }
94
95
96         part{
97             name: "error_hint";
98             type: TEXTBLOCK;
99             description{
100                 state: "default" 0.0;
101                 visible: 1;
102                 fixed: 1 1;
103                 min: 1502 117;
104                 max: 1502 117;
105                 color: 134 134 134 255;
106                 align: 0.5 0;
107                 rel1{
108                     relative: 0 1;
109                     to_x: "error_message_background";
110                     to_y: "error_text";
111                 }
112                 rel2{
113                     relative: 1 1;
114                     to: "error_message_background";
115                 }
116                 text{
117                     max: 0 1;
118                     style: "mssage_hint_style";
119                     text: "Check for any typing error in URL. <br/>"
120                     "Check your network settings.<br/>"
121                     "Try again later.<br/>"
122                     "Click refresh to reload.";
123                 }
124             }
125         }
126     }
127 /*
128       programs {
129          program { name: "mouse_down";
130             signal: "mouse,down,1";
131             source: "logo";
132             action: STATE_SET "hide" 0.0;
133             target: "logo";
134          }
135          program { name: "mouse_up";
136             signal: "mouse,up,1";
137             source: "logo";
138             action: STATE_SET "default" 0.0;
139             target: "logo";
140          }
141       }
142 */
143    }
144 }