Commit 9d0eb90bbcedfede534c9f6ba81ad103cff4f4de
1 parent
3a24912b
1.title换成临港
Showing
4 changed files
with
17 additions
and
6 deletions
src/main/resources/static/index.html
| @@ -219,8 +219,8 @@ | @@ -219,8 +219,8 @@ | ||
| 219 | <div class="page-header-inner "> | 219 | <div class="page-header-inner "> |
| 220 | <!-- LOGO --> | 220 | <!-- LOGO --> |
| 221 | <div class="page-logo"> | 221 | <div class="page-logo"> |
| 222 | - <a href="index.html" class="logo-default logo-default-text"> | ||
| 223 | - 浦东公交调度系统 </a> | 222 | + <a href="index.html" class="logo-default logo-default-text" id="sysName"> |
| 223 | + 临港捷运调度系统 </a> | ||
| 224 | <div class="menu-toggler sidebar-toggler"></div> | 224 | <div class="menu-toggler sidebar-toggler"></div> |
| 225 | </div> | 225 | </div> |
| 226 | <!-- END LOGO --> | 226 | <!-- END LOGO --> |
| @@ -431,6 +431,9 @@ | @@ -431,6 +431,9 @@ | ||
| 431 | }); | 431 | }); |
| 432 | 432 | ||
| 433 | $(function () { | 433 | $(function () { |
| 434 | + if (window.location.port == 19088) { | ||
| 435 | + $('#sysName').text('临港公交调度系统'); | ||
| 436 | + } | ||
| 434 | $.get('/user/currentUser', function (user) { | 437 | $.get('/user/currentUser', function (user) { |
| 435 | $('#indexTopUName').text(user.userName); | 438 | $('#indexTopUName').text(user.userName); |
| 436 | }); | 439 | }); |
src/main/resources/static/login.html
| @@ -181,7 +181,7 @@ | @@ -181,7 +181,7 @@ | ||
| 181 | <div class="wrapper ng-scope"> | 181 | <div class="wrapper ng-scope"> |
| 182 | <div id="loginPanel" class="dialog dialog-shadow"> | 182 | <div id="loginPanel" class="dialog dialog-shadow"> |
| 183 | <br> | 183 | <br> |
| 184 | - <h3 class="logo-text">浦东公交调度系统</h3> | 184 | + <h3 class="logo-text" id="sysName">临港捷运调度系统</h3> |
| 185 | <hr> | 185 | <hr> |
| 186 | <form style="padding: 0px 35px;"> | 186 | <form style="padding: 0px 35px;"> |
| 187 | <div class="form-group" style="margin-bottom: 0"> | 187 | <div class="form-group" style="margin-bottom: 0"> |
| @@ -238,6 +238,9 @@ | @@ -238,6 +238,9 @@ | ||
| 238 | var body=document.getElementsByTagName("body")[0]; | 238 | var body=document.getElementsByTagName("body")[0]; |
| 239 | if(typeof body.style.WebkitAnimation=="undefined") | 239 | if(typeof body.style.WebkitAnimation=="undefined") |
| 240 | $('.warn-note').fadeIn(); | 240 | $('.warn-note').fadeIn(); |
| 241 | + if (window.location.port == 19088) { | ||
| 242 | + $('#sysName').text('临港公交调度系统'); | ||
| 243 | + } | ||
| 241 | }; | 244 | }; |
| 242 | !function(){ | 245 | !function(){ |
| 243 | var form = $('#loginPanel form') | 246 | var form = $('#loginPanel form') |
src/main/resources/static/pages/control/line/index.html
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | <div class="portlet-title banner" > | 18 | <div class="portlet-title banner" > |
| 19 | <div class="caption col_hide_1280" style="color: #FFF;"> | 19 | <div class="caption col_hide_1280" style="color: #FFF;"> |
| 20 | <i class="fa fa-life-ring" style="font-size: 22px;color: #FFF;"></i> <span | 20 | <i class="fa fa-life-ring" style="font-size: 22px;color: #FFF;"></i> <span |
| 21 | - class="caption-subject bold" style="font-size: 24px;">浦东公交线路调度系统</span> | 21 | + class="caption-subject bold" style="font-size: 24px;">临港捷运线路调度系统</span> |
| 22 | </div> | 22 | </div> |
| 23 | <div class="col_hide_1440" style="color: white;font-size: 18px;position: absolute;right: 25px;top: 75px;"> | 23 | <div class="col_hide_1440" style="color: white;font-size: 18px;position: absolute;right: 25px;top: 75px;"> |
| 24 | <span class="top_username"></span> <span class="operation_mode_text animated" ></span> | 24 | <span class="top_username"></span> <span class="operation_mode_text animated" ></span> |
src/main/resources/static/real_control_v2/main.html
| @@ -54,8 +54,8 @@ | @@ -54,8 +54,8 @@ | ||
| 54 | <div class="uk-grid uk-grid-match"> | 54 | <div class="uk-grid uk-grid-match"> |
| 55 | <div class="uk-width-4-10"> | 55 | <div class="uk-width-4-10"> |
| 56 | <div class="uk-panel"> | 56 | <div class="uk-panel"> |
| 57 | - <h2 class="north-logo"> | ||
| 58 | - <!--<i class="uk-icon-life-ring"></i>--> 浦东公交线路调度 | 57 | + <h2 class="north-logo" id="sysName"> |
| 58 | + <!--<i class="uk-icon-life-ring"></i>--> 临港捷运线路调度 | ||
| 59 | </h2> | 59 | </h2> |
| 60 | </div> | 60 | </div> |
| 61 | </div> | 61 | </div> |
| @@ -280,6 +280,11 @@ | @@ -280,6 +280,11 @@ | ||
| 280 | </form> | 280 | </form> |
| 281 | </div> | 281 | </div> |
| 282 | </script> | 282 | </script> |
| 283 | +<script> | ||
| 284 | + if (window.location.port == 19088) { | ||
| 285 | + $('#sysName').text('临港公交调度系统'); | ||
| 286 | + } | ||
| 287 | +</script> | ||
| 283 | </body> | 288 | </body> |
| 284 | 289 | ||
| 285 | </html> | 290 | </html> |