소스 검색

Fixes some positions of elements from the welcome page. Adds "Join Again" button to hangup message box.

master
hristoterezov 11 년 전
부모
커밋
c00f60f57b
2개의 변경된 파일12개의 추가작업 그리고 7개의 파일을 삭제
  1. 10
    3
      app.js
  2. 2
    4
      css/welcome_page.css

+ 10
- 3
app.js 파일 보기

@@ -1376,10 +1376,17 @@ function hangup() {
1376 1376
 
1377 1377
     $.prompt("Session Terminated",
1378 1378
         {
1379
-            title: "You hang up the call",
1379
+            title: "You hung up the call",
1380 1380
             persistent: true,
1381
-            buttons: {},
1382
-            closeText: ''
1381
+            buttons: {
1382
+                "Join again": true
1383
+            },
1384
+            closeText: '',
1385
+            submit: function(event, value, message, formVals)
1386
+            {
1387
+                window.location.reload();
1388
+                return false;
1389
+            }
1383 1390
 
1384 1391
         }
1385 1392
     );

+ 2
- 4
css/welcome_page.css 파일 보기

@@ -152,16 +152,13 @@
152 152
 #brand_header
153 153
 {
154 154
     background-image:url(../images/welcome_page/header-big.png);
155
-    position:absolute;
156 155
     width: 583px;
157 156
     height: 274px;
158
-    left: 340px;
159
-    top:15px;
157
+    margin: -55px auto 0px auto;
160 158
 }
161 159
 
162 160
 #header_text
163 161
 {
164
-    position: absolute;
165 162
     left: 200px;
166 163
     top: 150px;
167 164
     width: 885px;
@@ -170,6 +167,7 @@
170 167
     font-family: Helvetica;
171 168
     font-size: 24px;
172 169
     text-align: center;
170
+    margin: -139px auto 0px auto;
173 171
 }
174 172
 
175 173
 #features

Loading…
취소
저장