浏览代码

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
 
1376
 
1377
     $.prompt("Session Terminated",
1377
     $.prompt("Session Terminated",
1378
         {
1378
         {
1379
-            title: "You hang up the call",
1379
+            title: "You hung up the call",
1380
             persistent: true,
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
 #brand_header
152
 #brand_header
153
 {
153
 {
154
     background-image:url(../images/welcome_page/header-big.png);
154
     background-image:url(../images/welcome_page/header-big.png);
155
-    position:absolute;
156
     width: 583px;
155
     width: 583px;
157
     height: 274px;
156
     height: 274px;
158
-    left: 340px;
159
-    top:15px;
157
+    margin: -55px auto 0px auto;
160
 }
158
 }
161
 
159
 
162
 #header_text
160
 #header_text
163
 {
161
 {
164
-    position: absolute;
165
     left: 200px;
162
     left: 200px;
166
     top: 150px;
163
     top: 150px;
167
     width: 885px;
164
     width: 885px;
170
     font-family: Helvetica;
167
     font-family: Helvetica;
171
     font-size: 24px;
168
     font-size: 24px;
172
     text-align: center;
169
     text-align: center;
170
+    margin: -139px auto 0px auto;
173
 }
171
 }
174
 
172
 
175
 #features
173
 #features

正在加载...
取消
保存