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