├── LICENSE └── themes └── SimpleBootstrap ├── botbody.html ├── bottom.html ├── conf ├── custom_bg │ └── index.htm └── sbs_conf.php ├── css ├── bootstrap-theme.min.css ├── bootstrap.min.css ├── font-awesome.min.css ├── main.css ├── main_dark.css ├── main_light.css ├── pace.css ├── pace_center-bar.css ├── pace_corner-indicator.css ├── pace_flash.css └── pace_loading-bar.css ├── fonts ├── FontAwesome.otf ├── fontawesome-webfont.eot ├── fontawesome-webfont.svg ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fontawesome-webfont.woff2 ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf ├── glyphicons-halflings-regular.woff └── glyphicons-halflings-regular.woff2 ├── images ├── bg │ ├── bf3_the_russian.jpg │ ├── dark.jpg │ ├── dream.jpg │ ├── fire.jpg │ ├── light.jpg │ ├── light_dream.jpg │ └── vietnam.jpg ├── icons │ ├── folder.png │ ├── game_monitor.png │ └── support.png ├── image_not_found.png └── loader │ └── dual_ring.svg ├── js ├── bootstrap.js ├── bootstrap.min.js ├── main.js ├── pace.min.js └── radialIndicator.js ├── layout.html ├── modules ├── TS3Admin │ ├── TS3Admin.css │ └── TS3Admin.js ├── addonsmanager │ ├── addons.js │ ├── user_addons.css │ └── user_addons.js ├── administration │ ├── main.css │ ├── main.js │ └── watch_logger.js ├── circular │ └── circular.css ├── config_games │ ├── config_games.js │ └── main.css ├── cron │ ├── cron.css │ ├── cron.js │ ├── user_cron.css │ └── user_cron.js ├── dashboard │ ├── dashboard.css │ └── dashboard.js ├── dsi │ └── list_dsi.css ├── editconfigfiles │ ├── editconfigfiles.js │ └── modify.js ├── extras │ ├── extras.css │ └── extras.js ├── faq │ ├── faq.css │ └── faq.js ├── fast_download │ ├── fast_download.js │ ├── fd_user.css │ └── fd_user.js ├── ftp │ ├── ftp.css │ ├── ftp.js │ ├── ftp_admin.css │ ├── ftp_admin.js │ └── main.css ├── gamemanager │ ├── game_monitor.css │ ├── game_monitor.js │ ├── log.css │ ├── log.js │ └── rcon_presets.js ├── lgsl_with_img_mod │ ├── lgsl.js │ └── lgsl_admin.js ├── litefm │ ├── home_id.css │ ├── litefm.css │ └── litefm.js ├── mysql │ ├── edit.js │ └── mysql_admin.js ├── news │ ├── admin_news.css │ ├── admin_news.js │ ├── news.css │ └── news.js ├── rcon │ └── rcon.css ├── register │ └── form.js ├── server │ ├── arrange_ports.css │ ├── arrange_ports.js │ ├── edit.js │ ├── firewall.js │ ├── log.js │ └── server.js ├── settings │ ├── themes.css │ └── themes.js ├── simple-billing │ ├── orders.js │ ├── shop.css │ ├── shop.js │ ├── shop_guest.js │ └── shop_settings.js ├── steam_workshop │ ├── steam_workshop.css │ └── steam_workshop.js ├── subusers │ └── submanage.js ├── support │ └── support.js ├── tickets │ ├── submitticket.js │ ├── tickets.css │ ├── tickets.js │ └── viewticket.js ├── update │ ├── blacklist.css │ ├── blacklist.js │ ├── update.css │ ├── update.js │ └── updating.css ├── user_admin │ ├── del.js │ ├── edit_user.css │ ├── show_groups.css │ ├── show_groups.js │ ├── user_admin.css │ └── user_admin.js ├── user_games │ ├── add.js │ ├── assign.js │ ├── clone.js │ ├── custom_fields.js │ ├── del.css │ ├── del.js │ ├── edit.css │ ├── edit.js │ ├── install_cmds.js │ ├── user_games.css │ └── user_games.js └── util │ ├── util.css │ └── util.js ├── top.html └── topbody.html /themes/SimpleBootstrap/botbody.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/bottom.html: -------------------------------------------------------------------------------- 1 | 5 |
6 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/conf/custom_bg/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/conf/custom_bg/index.htm -------------------------------------------------------------------------------- /themes/SimpleBootstrap/conf/sbs_conf.php: -------------------------------------------------------------------------------- 1 | 'light', 7 | 'background' => 'fire', 8 | 'custom_bg' => 'no', 9 | 'pace' => 'flash', 10 | 'dashboard_rows' => 'default' 11 | ); 12 | 13 | $pace_loc = "../css/pace.css"; 14 | $css_loc = "../css/main.css"; 15 | $conf_loc = "./sbs.conf"; 16 | $sbs_css_loc = "./sbs.css"; 17 | 18 | $debug = false; // Set true for Debug in Brower Console 19 | 20 | $conf_changes = false; // Declaration 21 | $bg_change = false; // Declaration 22 | $isadmin = false; // Declaration 23 | $conf_params = array(); // Declaration 24 | $rp = realpath(dirname(__FILE__)); 25 | 26 | $files_to_del = array( 27 | "../modules/tickets/submitticket.css" 28 | ); 29 | 30 | if($debug){ 31 | echo "sbs_conf.php loaded...\n"; 32 | echo "POST: ".print_r($_POST, true); 33 | echo "FILES: ".print_r($_FILES, true); 34 | echo "GET: ".print_r($_GET, true); 35 | } 36 | 37 | if(!file_exists($pace_loc)){ 38 | file_put_contents($pace_loc, '@import url("pace_flash.css");'); 39 | echo "Pace File not found. Created new one.\n"; 40 | } 41 | if(!file_exists($conf_loc)){ 42 | file_put_contents($conf_loc, json_encode($conf_params)); 43 | echo "Theme Config not found. Created new one.\n"; 44 | $conf_params = $default_conf_params; 45 | }else{ 46 | $json = json_decode(file_get_contents($conf_loc)); 47 | $new_param = false; 48 | 49 | foreach($default_conf_params AS $key => $val) 50 | { 51 | if(!isset($json->{$key})){ 52 | $new_param = true; 53 | $conf_params[$key] = $val; 54 | }else{ 55 | $conf_params[$key] = $json->{$key}; 56 | } 57 | } 58 | if($new_param){ 59 | unlink($conf_loc); 60 | file_put_contents($conf_loc, json_encode($conf_params)); 61 | echo "New Variable found. Updating Config File.\n"; 62 | } 63 | } 64 | if(!file_exists($sbs_css_loc)){ 65 | preg_match_all("/background-image: url\((.*)\)/", file_get_contents($css_loc), $css_bg); 66 | file_put_contents($sbs_css_loc, "body {\n\tbackground-image: url(".$css_bg[1][0].") !important;\n}"); 67 | echo "Custom CSS not found. Created new one.\n"; 68 | } 69 | 70 | if($debug){ 71 | echo "\$conf_params: ".print_r($conf_params, true); 72 | } 73 | 74 | 75 | /* *** Remove old Config File *** */ 76 | if(file_exists("./theme.config")){ unlink("./theme.config"); } 77 | 78 | if(isset($_SESSION['users_group']) && $_SESSION['users_group'] == 'admin') 79 | { 80 | $isadmin = true; 81 | 82 | /* *** Set Custom BG *** */ 83 | $cbgf = $rp.'/custom_bg'; 84 | if(!file_exists($cbgf)){ 85 | mkdir($cbgf, 0744, true); 86 | } 87 | if(!empty($_FILES)){ 88 | if($_FILES['bg_file']['error']==0){ 89 | $validextensions = array("jpeg", "jpg", "png"); 90 | $temporary = explode(".", $_FILES["bg_file"]["name"]); 91 | $file_extension = end($temporary); 92 | $file_name = 'custom.'.$file_extension; 93 | $file_complete = $cbgf.'/'.$file_name; 94 | if ((($_FILES["bg_file"]["type"] == "image/png") || ($_FILES["bg_file"]["type"] == "image/jpg") || ($_FILES["bg_file"]["type"] == "image/jpeg")) && in_array($file_extension, $validextensions)) { 95 | if ($_FILES["bg_file"]["error"]==0){ 96 | if(file_exists($file_complete)){ unlink($file_complete); } 97 | move_uploaded_file($_FILES['bg_file']['tmp_name'],$file_complete); 98 | $conf_changes = true; 99 | $bg_change = true; 100 | $conf_params['custom_bg'] = $file_name; 101 | if($debug){ 102 | echo "Custom BG Uploaded: ".$file_name; 103 | } 104 | } 105 | } 106 | } 107 | } 108 | 109 | /* *** Del Custom BG *** */ 110 | if(isset($_GET['del_custom_bg'])){ 111 | if($conf_params['custom_bg']!='no'){ 112 | unlink($cbgf.'/'.$conf_params['custom_bg']); 113 | $conf_changes = true; 114 | $conf_params['custom_bg'] = 'no'; 115 | preg_match_all("/background-image: url\((.*)\)/", file_get_contents($css_loc), $css_bg); 116 | file_put_contents($sbs_css_loc, "body {\n\tbackground-image: url(".$css_bg[1][0].") !important;\n}"); 117 | if($debug){ 118 | echo "Custom BG Deleted.\n"; 119 | } 120 | } 121 | } 122 | 123 | /* *** Pace Loader *** */ 124 | if(isset($_POST['style_loader'])){ 125 | if($_POST['style_loader']!=$conf_params['pace']){ 126 | $conf_changes = true; 127 | $conf_params['pace'] = $_POST['style_loader']; 128 | if(file_exists($pace_loc)){ unlink($pace_loc); } 129 | file_put_contents($pace_loc, '@import url("pace_'.$_POST['style_loader'].'.css");'); 130 | if($debug){ 131 | echo "Style Loader Changed into: ".$_POST['style_loader']."\n"; 132 | } 133 | } 134 | } 135 | 136 | /* *** General Save via Theme Settings *** */ 137 | if(isset($_POST['style_tab'])) 138 | { 139 | if($_POST['style_tab']!=$conf_params['style']) 140 | { 141 | $conf_changes = true; 142 | $conf_params['style'] = $_POST['style_tab']; 143 | file_put_contents( 144 | $css_loc, 145 | preg_replace( 146 | "/\/\* \*\*\* THEME STYLER \*\*\* \*\/(.*)\/\* \*\*\* THEME STYLER END \*\*\* \*\//s", 147 | "/* *** THEME STYLER *** */\n".file_get_contents("../css/main_".$_POST['style_tab'].".css")."\n/* *** THEME STYLER END *** */", 148 | file_get_contents($css_loc) 149 | ) 150 | ); 151 | if($debug){ 152 | echo "Style changed into: ".$_POST['style_tab']."\n"; 153 | echo "Put ../css/main_".$conf_params['style'].".css into ".$css_loc."\n"; 154 | } 155 | } 156 | } 157 | 158 | /* *** Set Dashboard Rows *** */ 159 | if(isset($_POST['dashboard_rows'])) 160 | { 161 | if($_POST['dashboard_rows']!=$conf_params['dashboard_rows']) 162 | { 163 | $conf_changes = true; 164 | $conf_params['dashboard_rows'] = $_POST['dashboard_rows']; 165 | if($debug){ 166 | echo "Dashboard Rows changed into: ".$_POST['dashboard_rows']."\n"; 167 | } 168 | } 169 | } 170 | } 171 | 172 | if($conf_params['custom_bg']!='no') 173 | { 174 | change_bg("../conf/custom_bg/".$conf_params['custom_bg']); 175 | }else 176 | { 177 | if(isset($_POST['style_bg']) && $isadmin) 178 | { 179 | if($_POST['style_bg']!=$conf_params['background']){ 180 | $conf_changes = true; 181 | $conf_params['background'] = $_POST['style_bg']; 182 | } 183 | } 184 | change_bg("../images/bg/".$conf_params['background'].".jpg"); 185 | } 186 | 187 | if($conf_changes) 188 | { 189 | unlink($conf_loc); 190 | file_put_contents($conf_loc, json_encode($conf_params)); 191 | if($debug){ 192 | echo "Found Changes. Rewrote Config File.\n"; 193 | } 194 | } 195 | 196 | // Delete All Files defined in Array (Cleanup) 197 | foreach($files_to_del AS $fd) 198 | { 199 | if(file_exists($fd)) 200 | { 201 | unlink($fd); 202 | if($debug){ 203 | echo "File successfully Deleted: ".$fd."\n"; 204 | } 205 | } 206 | } 207 | 208 | function change_bg($bg_path) 209 | { 210 | Global $sbs_css_loc, $debug, $bg_change; 211 | 212 | if(strpos(file_get_contents($sbs_css_loc), $bg_path)===false Or $bg_change) 213 | { 214 | file_put_contents($sbs_css_loc, preg_replace("/background-image: url\((.*)\)/", "background-image: url(".$bg_path.")", file_get_contents($sbs_css_loc))); 215 | if($debug){ 216 | echo "BG has been changed to: ".$bg_path.". Replaced it in ".$sbs_css_loc."\n"; 217 | } 218 | } 219 | } 220 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/css/main_dark.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-image: url(../images/bg/dark.jpg); 3 | background-color: #111215; 4 | } 5 | h1, h2, h3, h4, h5, h6, legend { 6 | border-bottom: 1px solid #434857; 7 | } 8 | 9 | .bloc, 10 | .form-control, 11 | table:not(.online_servers) { 12 | border: 1px solid rgba(67, 72, 87, 0.5); 13 | } 14 | input[type="checkbox"] { 15 | border: 1px solid #22252f; 16 | } 17 | .table>thead>tr>th, 18 | .table>tbody>tr>th, 19 | .table>tfoot>tr>th, 20 | .table>thead>tr>td, 21 | .table>tbody>tr>td, 22 | .table>tfoot>tr>td { 23 | border-top: 1px solid rgba(67, 72, 87, 0.5); 24 | } 25 | 26 | form:not([name="login_form"]).form-control:focus { 27 | border-color: rgba(255, 255, 255, 0.4) 28 | } 29 | 30 | .input-group-addon { 31 | border: 1px solid rgba(67, 72, 87, 0.5); 32 | border-right: 0px; 33 | } 34 | 35 | th { 36 | background-color: rgba(26, 28, 34, 0.8) !important; 37 | } 38 | 39 | .col.footer, 40 | .bloc, 41 | table, 42 | .form-control, 43 | .login-container 44 | { 45 | background-color: rgba(26, 28, 34, 0.65) !important; 46 | } 47 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/css/main_light.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-image: url(../images/bg/light.jpg); 3 | background-color: #2b343b; 4 | } 5 | h1, h2, h3, h4, h5, h6, legend { 6 | border-bottom: 1px solid #9fa1a9; 7 | } 8 | h0 a 9 | { 10 | color: #272c32; 11 | } 12 | h0 a:hover 13 | { 14 | color: #fff; 15 | } 16 | 17 | .bloc, 18 | .form-control, 19 | table:not(.online_servers), 20 | input[type="checkbox"] { 21 | border: 1px solid #22252f; 22 | } 23 | 24 | .input-group > .input-group-addon { 25 | border: 1px solid rgba(35, 40, 46, 0.8); 26 | border-right: 0px; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/css/pace.css: -------------------------------------------------------------------------------- 1 | @import url("pace_flash.css"); -------------------------------------------------------------------------------- /themes/SimpleBootstrap/css/pace_center-bar.css: -------------------------------------------------------------------------------- 1 | .pace { 2 | -webkit-pointer-events: none; 3 | pointer-events: none; 4 | 5 | -webkit-user-select: none; 6 | -moz-user-select: none; 7 | user-select: none; 8 | 9 | z-index: 2000; 10 | position: fixed; 11 | margin: auto; 12 | top: 0; 13 | left: 0; 14 | right: 0; 15 | bottom: 0; 16 | height: 5px; 17 | width: 200px; 18 | background: #fff; 19 | border: 1px solid #1997c6; 20 | 21 | overflow: hidden; 22 | } 23 | 24 | .pace .pace-progress { 25 | -webkit-box-sizing: border-box; 26 | -moz-box-sizing: border-box; 27 | -ms-box-sizing: border-box; 28 | -o-box-sizing: border-box; 29 | box-sizing: border-box; 30 | 31 | -webkit-transform: translate3d(0, 0, 0); 32 | -moz-transform: translate3d(0, 0, 0); 33 | -ms-transform: translate3d(0, 0, 0); 34 | -o-transform: translate3d(0, 0, 0); 35 | transform: translate3d(0, 0, 0); 36 | 37 | max-width: 200px; 38 | position: fixed; 39 | z-index: 2000; 40 | display: block; 41 | position: absolute; 42 | top: 0; 43 | right: 100%; 44 | height: 100%; 45 | width: 100%; 46 | background: #1997c6; 47 | } 48 | 49 | .pace.pace-inactive { 50 | display: none; 51 | } 52 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/css/pace_corner-indicator.css: -------------------------------------------------------------------------------- 1 | .pace { 2 | -webkit-pointer-events: none; 3 | pointer-events: none; 4 | -webkit-user-select: none; 5 | -moz-user-select: none; 6 | user-select: none; 7 | } 8 | 9 | .pace .pace-activity { 10 | display: block; 11 | position: fixed; 12 | z-index: 2000; 13 | top: 0; 14 | right: 0; 15 | width: 300px; 16 | height: 300px; 17 | background: #1997c6; 18 | -webkit-transition: -webkit-transform 0.3s; 19 | transition: transform 0.3s; 20 | -webkit-transform: translateX(100%) translateY(-100%) rotate(45deg); 21 | transform: translateX(100%) translateY(-100%) rotate(45deg); 22 | pointer-events: none; 23 | } 24 | 25 | .pace.pace-active .pace-activity { 26 | -webkit-transform: translateX(50%) translateY(-50%) rotate(45deg); 27 | transform: translateX(50%) translateY(-50%) rotate(45deg); 28 | } 29 | 30 | .pace .pace-activity::before, 31 | .pace .pace-activity::after { 32 | -moz-box-sizing: border-box; 33 | box-sizing: border-box; 34 | position: absolute; 35 | bottom: 30px; 36 | left: 50%; 37 | display: block; 38 | border: 5px solid #fff; 39 | border-radius: 50%; 40 | content: ''; 41 | } 42 | 43 | .pace .pace-activity::before { 44 | margin-left: -40px; 45 | width: 80px; 46 | height: 80px; 47 | border-right-color: rgba(0, 0, 0, .2); 48 | border-left-color: rgba(0, 0, 0, .2); 49 | -webkit-animation: pace-theme-corner-indicator-spin 3s linear infinite; 50 | animation: pace-theme-corner-indicator-spin 3s linear infinite; 51 | } 52 | 53 | .pace .pace-activity::after { 54 | bottom: 50px; 55 | margin-left: -20px; 56 | width: 40px; 57 | height: 40px; 58 | border-top-color: rgba(0, 0, 0, .2); 59 | border-bottom-color: rgba(0, 0, 0, .2); 60 | -webkit-animation: pace-theme-corner-indicator-spin 1s linear infinite; 61 | animation: pace-theme-corner-indicator-spin 1s linear infinite; 62 | } 63 | 64 | @-webkit-keyframes pace-theme-corner-indicator-spin { 65 | 0% { -webkit-transform: rotate(0deg); } 66 | 100% { -webkit-transform: rotate(359deg); } 67 | } 68 | @keyframes pace-theme-corner-indicator-spin { 69 | 0% { transform: rotate(0deg); } 70 | 100% { transform: rotate(359deg); } 71 | } 72 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/css/pace_flash.css: -------------------------------------------------------------------------------- 1 | .pace { 2 | -webkit-pointer-events: none; 3 | pointer-events: none; 4 | -webkit-user-select: none; 5 | -moz-user-select: none; 6 | user-select: none; 7 | } 8 | 9 | .pace-inactive { 10 | display: none; 11 | } 12 | 13 | .pace .pace-progress { 14 | background: #1997c6; 15 | position: fixed; 16 | z-index: 2000; 17 | top: 0; 18 | right: 100%; 19 | width: 100%; 20 | height: 2px; 21 | } 22 | 23 | .pace .pace-progress-inner { 24 | display: block; 25 | position: absolute; 26 | right: 0px; 27 | width: 100px; 28 | height: 100%; 29 | box-shadow: 0 0 10px #1997c6, 0 0 5px #1997c6; 30 | opacity: 1.0; 31 | -webkit-transform: rotate(3deg) translate(0px, -4px); 32 | -moz-transform: rotate(3deg) translate(0px, -4px); 33 | -ms-transform: rotate(3deg) translate(0px, -4px); 34 | -o-transform: rotate(3deg) translate(0px, -4px); 35 | transform: rotate(3deg) translate(0px, -4px); 36 | } 37 | 38 | .pace .pace-activity { 39 | display: block; 40 | position: fixed; 41 | z-index: 2000; 42 | top: 15px; 43 | right: 15px; 44 | width: 30px; 45 | height: 30px; 46 | border: solid 2px transparent; 47 | border-top-color: #1997c6; 48 | border-left-color: #1997c6; 49 | border-radius: 20px; 50 | -webkit-animation: pace-spinner 400ms linear infinite; 51 | -moz-animation: pace-spinner 400ms linear infinite; 52 | -ms-animation: pace-spinner 400ms linear infinite; 53 | -o-animation: pace-spinner 400ms linear infinite; 54 | animation: pace-spinner 400ms linear infinite; 55 | } 56 | 57 | @-webkit-keyframes pace-spinner { 58 | 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 59 | 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } 60 | } 61 | @-moz-keyframes pace-spinner { 62 | 0% { -moz-transform: rotate(0deg); transform: rotate(0deg); } 63 | 100% { -moz-transform: rotate(360deg); transform: rotate(360deg); } 64 | } 65 | @-o-keyframes pace-spinner { 66 | 0% { -o-transform: rotate(0deg); transform: rotate(0deg); } 67 | 100% { -o-transform: rotate(360deg); transform: rotate(360deg); } 68 | } 69 | @-ms-keyframes pace-spinner { 70 | 0% { -ms-transform: rotate(0deg); transform: rotate(0deg); } 71 | 100% { -ms-transform: rotate(360deg); transform: rotate(360deg); } 72 | } 73 | @keyframes pace-spinner { 74 | 0% { transform: rotate(0deg); transform: rotate(0deg); } 75 | 100% { transform: rotate(360deg); transform: rotate(360deg); } 76 | } 77 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/css/pace_loading-bar.css: -------------------------------------------------------------------------------- 1 | .pace { 2 | -webkit-pointer-events: none; 3 | pointer-events: none; 4 | 5 | -webkit-user-select: none; 6 | -moz-user-select: none; 7 | user-select: none; 8 | 9 | -webkit-box-sizing: border-box; 10 | -moz-box-sizing: border-box; 11 | -ms-box-sizing: border-box; 12 | -o-box-sizing: border-box; 13 | box-sizing: border-box; 14 | 15 | -webkit-border-radius: 10px; 16 | -moz-border-radius: 10px; 17 | border-radius: 10px; 18 | 19 | -webkit-background-clip: padding-box; 20 | -moz-background-clip: padding; 21 | background-clip: padding-box; 22 | 23 | z-index: 2000; 24 | position: fixed; 25 | margin: auto; 26 | top: 12px; 27 | left: 0; 28 | right: 0; 29 | bottom: 0; 30 | width: 200px; 31 | height: 50px; 32 | overflow: hidden; 33 | } 34 | 35 | .pace .pace-progress { 36 | -webkit-box-sizing: border-box; 37 | -moz-box-sizing: border-box; 38 | -ms-box-sizing: border-box; 39 | -o-box-sizing: border-box; 40 | box-sizing: border-box; 41 | 42 | -webkit-border-radius: 2px; 43 | -moz-border-radius: 2px; 44 | border-radius: 2px; 45 | 46 | -webkit-background-clip: padding-box; 47 | -moz-background-clip: padding; 48 | background-clip: padding-box; 49 | 50 | -webkit-transform: translate3d(0, 0, 0); 51 | transform: translate3d(0, 0, 0); 52 | 53 | display: block; 54 | position: absolute; 55 | right: 100%; 56 | margin-right: -7px; 57 | width: 93%; 58 | top: 7px; 59 | height: 14px; 60 | font-size: 12px; 61 | background: #1997c6; 62 | color: #1997c6; 63 | line-height: 60px; 64 | font-weight: bold; 65 | font-family: Helvetica, Arial, "Lucida Grande", sans-serif; 66 | 67 | -webkit-box-shadow: 120px 0 #fff, 240px 0 #fff; 68 | -ms-box-shadow: 120px 0 #fff, 240px 0 #fff; 69 | box-shadow: 120px 0 #fff, 240px 0 #fff; 70 | } 71 | 72 | .pace .pace-progress:after { 73 | content: attr(data-progress-text); 74 | display: inline-block; 75 | position: fixed; 76 | width: 45px; 77 | text-align: right; 78 | right: 0; 79 | padding-right: 16px; 80 | top: 4px; 81 | } 82 | 83 | .pace .pace-progress[data-progress-text="0%"]:after { right: -200px } 84 | .pace .pace-progress[data-progress-text="1%"]:after { right: -198.14px } 85 | .pace .pace-progress[data-progress-text="2%"]:after { right: -196.28px } 86 | .pace .pace-progress[data-progress-text="3%"]:after { right: -194.42px } 87 | .pace .pace-progress[data-progress-text="4%"]:after { right: -192.56px } 88 | .pace .pace-progress[data-progress-text="5%"]:after { right: -190.7px } 89 | .pace .pace-progress[data-progress-text="6%"]:after { right: -188.84px } 90 | .pace .pace-progress[data-progress-text="7%"]:after { right: -186.98px } 91 | .pace .pace-progress[data-progress-text="8%"]:after { right: -185.12px } 92 | .pace .pace-progress[data-progress-text="9%"]:after { right: -183.26px } 93 | .pace .pace-progress[data-progress-text="10%"]:after { right: -181.4px } 94 | .pace .pace-progress[data-progress-text="11%"]:after { right: -179.54px } 95 | .pace .pace-progress[data-progress-text="12%"]:after { right: -177.68px } 96 | .pace .pace-progress[data-progress-text="13%"]:after { right: -175.82px } 97 | .pace .pace-progress[data-progress-text="14%"]:after { right: -173.96px } 98 | .pace .pace-progress[data-progress-text="15%"]:after { right: -172.1px } 99 | .pace .pace-progress[data-progress-text="16%"]:after { right: -170.24px } 100 | .pace .pace-progress[data-progress-text="17%"]:after { right: -168.38px } 101 | .pace .pace-progress[data-progress-text="18%"]:after { right: -166.52px } 102 | .pace .pace-progress[data-progress-text="19%"]:after { right: -164.66px } 103 | .pace .pace-progress[data-progress-text="20%"]:after { right: -162.8px } 104 | .pace .pace-progress[data-progress-text="21%"]:after { right: -160.94px } 105 | .pace .pace-progress[data-progress-text="22%"]:after { right: -159.08px } 106 | .pace .pace-progress[data-progress-text="23%"]:after { right: -157.22px } 107 | .pace .pace-progress[data-progress-text="24%"]:after { right: -155.36px } 108 | .pace .pace-progress[data-progress-text="25%"]:after { right: -153.5px } 109 | .pace .pace-progress[data-progress-text="26%"]:after { right: -151.64px } 110 | .pace .pace-progress[data-progress-text="27%"]:after { right: -149.78px } 111 | .pace .pace-progress[data-progress-text="28%"]:after { right: -147.92px } 112 | .pace .pace-progress[data-progress-text="29%"]:after { right: -146.06px } 113 | .pace .pace-progress[data-progress-text="30%"]:after { right: -144.2px } 114 | .pace .pace-progress[data-progress-text="31%"]:after { right: -142.34px } 115 | .pace .pace-progress[data-progress-text="32%"]:after { right: -140.48px } 116 | .pace .pace-progress[data-progress-text="33%"]:after { right: -138.62px } 117 | .pace .pace-progress[data-progress-text="34%"]:after { right: -136.76px } 118 | .pace .pace-progress[data-progress-text="35%"]:after { right: -134.9px } 119 | .pace .pace-progress[data-progress-text="36%"]:after { right: -133.04px } 120 | .pace .pace-progress[data-progress-text="37%"]:after { right: -131.18px } 121 | .pace .pace-progress[data-progress-text="38%"]:after { right: -129.32px } 122 | .pace .pace-progress[data-progress-text="39%"]:after { right: -127.46px } 123 | .pace .pace-progress[data-progress-text="40%"]:after { right: -125.6px } 124 | .pace .pace-progress[data-progress-text="41%"]:after { right: -123.74px } 125 | .pace .pace-progress[data-progress-text="42%"]:after { right: -121.88px } 126 | .pace .pace-progress[data-progress-text="43%"]:after { right: -120.02px } 127 | .pace .pace-progress[data-progress-text="44%"]:after { right: -118.16px } 128 | .pace .pace-progress[data-progress-text="45%"]:after { right: -116.3px } 129 | .pace .pace-progress[data-progress-text="46%"]:after { right: -114.44px } 130 | .pace .pace-progress[data-progress-text="47%"]:after { right: -112.58px } 131 | .pace .pace-progress[data-progress-text="48%"]:after { right: -110.72px } 132 | .pace .pace-progress[data-progress-text="49%"]:after { right: -108.86px } 133 | .pace .pace-progress[data-progress-text="50%"]:after { right: -107px } 134 | .pace .pace-progress[data-progress-text="51%"]:after { right: -105.14px } 135 | .pace .pace-progress[data-progress-text="52%"]:after { right: -103.28px } 136 | .pace .pace-progress[data-progress-text="53%"]:after { right: -101.42px } 137 | .pace .pace-progress[data-progress-text="54%"]:after { right: -99.56px } 138 | .pace .pace-progress[data-progress-text="55%"]:after { right: -97.7px } 139 | .pace .pace-progress[data-progress-text="56%"]:after { right: -95.84px } 140 | .pace .pace-progress[data-progress-text="57%"]:after { right: -93.98px } 141 | .pace .pace-progress[data-progress-text="58%"]:after { right: -92.12px } 142 | .pace .pace-progress[data-progress-text="59%"]:after { right: -90.26px } 143 | .pace .pace-progress[data-progress-text="60%"]:after { right: -88.4px } 144 | .pace .pace-progress[data-progress-text="61%"]:after { right: -86.53999999999999px } 145 | .pace .pace-progress[data-progress-text="62%"]:after { right: -84.68px } 146 | .pace .pace-progress[data-progress-text="63%"]:after { right: -82.82px } 147 | .pace .pace-progress[data-progress-text="64%"]:after { right: -80.96000000000001px } 148 | .pace .pace-progress[data-progress-text="65%"]:after { right: -79.1px } 149 | .pace .pace-progress[data-progress-text="66%"]:after { right: -77.24px } 150 | .pace .pace-progress[data-progress-text="67%"]:after { right: -75.38px } 151 | .pace .pace-progress[data-progress-text="68%"]:after { right: -73.52px } 152 | .pace .pace-progress[data-progress-text="69%"]:after { right: -71.66px } 153 | .pace .pace-progress[data-progress-text="70%"]:after { right: -69.8px } 154 | .pace .pace-progress[data-progress-text="71%"]:after { right: -67.94px } 155 | .pace .pace-progress[data-progress-text="72%"]:after { right: -66.08px } 156 | .pace .pace-progress[data-progress-text="73%"]:after { right: -64.22px } 157 | .pace .pace-progress[data-progress-text="74%"]:after { right: -62.36px } 158 | .pace .pace-progress[data-progress-text="75%"]:after { right: -60.5px } 159 | .pace .pace-progress[data-progress-text="76%"]:after { right: -58.64px } 160 | .pace .pace-progress[data-progress-text="77%"]:after { right: -56.78px } 161 | .pace .pace-progress[data-progress-text="78%"]:after { right: -54.92px } 162 | .pace .pace-progress[data-progress-text="79%"]:after { right: -53.06px } 163 | .pace .pace-progress[data-progress-text="80%"]:after { right: -51.2px } 164 | .pace .pace-progress[data-progress-text="81%"]:after { right: -49.34px } 165 | .pace .pace-progress[data-progress-text="82%"]:after { right: -47.480000000000004px } 166 | .pace .pace-progress[data-progress-text="83%"]:after { right: -45.62px } 167 | .pace .pace-progress[data-progress-text="84%"]:after { right: -43.76px } 168 | .pace .pace-progress[data-progress-text="85%"]:after { right: -41.9px } 169 | .pace .pace-progress[data-progress-text="86%"]:after { right: -40.04px } 170 | .pace .pace-progress[data-progress-text="87%"]:after { right: -38.18px } 171 | .pace .pace-progress[data-progress-text="88%"]:after { right: -36.32px } 172 | .pace .pace-progress[data-progress-text="89%"]:after { right: -34.46px } 173 | .pace .pace-progress[data-progress-text="90%"]:after { right: -32.6px } 174 | .pace .pace-progress[data-progress-text="91%"]:after { right: -30.740000000000002px } 175 | .pace .pace-progress[data-progress-text="92%"]:after { right: -28.880000000000003px } 176 | .pace .pace-progress[data-progress-text="93%"]:after { right: -27.02px } 177 | .pace .pace-progress[data-progress-text="94%"]:after { right: -25.16px } 178 | .pace .pace-progress[data-progress-text="95%"]:after { right: -23.3px } 179 | .pace .pace-progress[data-progress-text="96%"]:after { right: -21.439999999999998px } 180 | .pace .pace-progress[data-progress-text="97%"]:after { right: -19.58px } 181 | .pace .pace-progress[data-progress-text="98%"]:after { right: -17.72px } 182 | .pace .pace-progress[data-progress-text="99%"]:after { right: -15.86px } 183 | .pace .pace-progress[data-progress-text="100%"]:after { right: -14px } 184 | 185 | 186 | .pace .pace-activity { 187 | position: absolute; 188 | width: 100%; 189 | height: 28px; 190 | z-index: 2001; 191 | box-shadow: inset 0 0 0 2px #1997c6, inset 0 0 0 7px rgba(26,28,34,1); 192 | border-radius: 10px; 193 | } 194 | 195 | .pace.pace-inactive { 196 | display: none; 197 | } 198 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /themes/SimpleBootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/bg/bf3_the_russian.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/bg/bf3_the_russian.jpg -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/bg/dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/bg/dark.jpg -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/bg/dream.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/bg/dream.jpg -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/bg/fire.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/bg/fire.jpg -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/bg/light.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/bg/light.jpg -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/bg/light_dream.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/bg/light_dream.jpg -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/bg/vietnam.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/bg/vietnam.jpg -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/icons/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/icons/folder.png -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/icons/game_monitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/icons/game_monitor.png -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/icons/support.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/icons/support.png -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/image_not_found.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenGamePanel/Theme-SimpleBootstrap/3882ade2d0c33b9b0c251f892f396573330fc151/themes/SimpleBootstrap/images/image_not_found.png -------------------------------------------------------------------------------- /themes/SimpleBootstrap/images/loader/dual_ring.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/js/main.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | /* *** Call Theme Config Driver *** */ 4 | $.get('themes/SimpleBootstrap/conf/sbs_conf.php', 5 | function(data){ 6 | console.log(data); 7 | } 8 | ); 9 | 10 | /* *** Cutting Title *** */ 11 | $('.logo h2').text($('.logo h2').text().substring(0, $('.logo h2').text().lastIndexOf(" [") + 1)); 12 | 13 | /* *** Remove CSS and JS Files *** */ 14 | $('link[href="css/global.css"]').remove(); 15 | $('link[href="js/bootstrap/css/bootstrap-combined.min.css"]').remove(); 16 | 17 | /* *** Removing Chars from Links *** */ 18 | $('a:not(.user_menu_link), a span').each(function(){ 19 | $(this).html($(this).html().replace('[','').replace(']','')); 20 | }); 21 | 22 | /* *** Several Class and Style Stuff *** */ 23 | $(window).load(function () { 24 | $('tr, td, div:not([class*="nicEdit"])').css("background-color", ""); 25 | $('div:not([class*="nicEdit"], #refreshed-0)').css("border", "").css("height", ""); 26 | $('input').css("width", ""); 27 | if($.trim($("div").text()) == "") { 28 | $(this).remove(); 29 | } 30 | $('.footer.center').removeClass('center'); 31 | // $('input[type="submit"]').each(function(){ 32 | // $(this).replaceWith(''); 33 | // }); 34 | }); 35 | 36 | $('table .first_row > td').each(function(){ 37 | $(this).replaceWith(''+$(this).html()+''); 38 | }); 39 | 40 | $('.magnificContentsDiv').bind("DOMSubtreeModified",function(){ 41 | $('.updateLink, .ogpAPIActions').addClass('form-control').css('display','inline-block'); 42 | $('.copyButton').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 43 | }); 44 | 45 | /* *** Submit Button Replacement *** */ 46 | $('input[type="submit"]').each(function(){ 47 | var oSubmitButton = $(this); 48 | var oForm = oSubmitButton.closest('form'); 49 | var sOriginAttrs = ''; 50 | 51 | $.each(oSubmitButton[0].attributes, function() { 52 | if (this.specified) { 53 | sOriginAttrs += ' ' + this.name + '="' + this.value + '"'; 54 | } 55 | }); 56 | }); 57 | 58 | 59 | // File Style Hack 60 | $.fn.input_file_styling = function() { 61 | $('input[type="file"]').each(function(){ 62 | if($(this).parent().hasClass('btn-file')==false){ 63 | $(this).css('display', 'none'); 64 | $(this).wrap('
').wrap('
49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/TS3Admin/TS3Admin.css: -------------------------------------------------------------------------------- 1 | td > a { 2 | float: right; 3 | } 4 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/TS3Admin/TS3Admin.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('img[src$="edit.png"]').replaceWith(''); 3 | $('img[src$="refresh.png"]').replaceWith(''); 4 | 5 | $('[name="stopvServer"]').removeClass('btn-primary').addClass('btn-danger'); 6 | 7 | $('.edit, .main [href^="home.php?m=TS3Admin"], .main [href*="home.php?m=TS3Admin&token"], .main [href="home.php?m=TS3Admin&liveview"]').addClass('btn').addClass('btn-xs').addClass('btn-primary'); 8 | 9 | $('.propHeadline').parent('td').each(function(){ 10 | $(this).replaceWith(''+$(this).html()+''); 11 | }); 12 | $('.table .table0').each(function(){ 13 | $(this).replaceWith(''+$(this).html()+''); 14 | }); 15 | 16 | $('#serverview').css('padding','5px').wrap(''); 17 | $('#serverstatus').parent('td').children('a').addClass('label').addClass('label-primary').addClass('label-size'); 18 | 19 | $('#clearLink').parent('div').each(function(){ 20 | $(this).find('img').remove(); 21 | $(this).html($(this).html().replace('|','')); 22 | }); 23 | 24 | }); 25 | 26 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/addonsmanager/addons.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('.main').addClass('main-content').parent().attr('id', 'content'); 3 | }); 4 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/addonsmanager/user_addons.css: -------------------------------------------------------------------------------- 1 | .main [href*="&addon_type="] 2 | { 3 | width: 150px; 4 | height: 90px; 5 | border-radius: 4px; 6 | margin: 2px; 7 | font-size: 12px; 8 | float: left; 9 | text-align: center; 10 | vertical-align: middle; 11 | } 12 | .main [href*="&addon_type="] span { 13 | line-height: 14px; 14 | max-height: 28px; 15 | } 16 | .main [href*="&addon_type="]:hover 17 | { 18 | cursor: pointer !important; 19 | background-position: 0 -90px !important; 20 | } 21 | .main [href*="&addon_type="]:before 22 | { 23 | display: block; 24 | font-size: 40px; 25 | content: "\f192"; 26 | } 27 | .main div.addons { 28 | padding: 8px; 29 | border: 1px solid #22252f; 30 | background-color: rgba(26, 28, 34, 0.2); 31 | display: inline-block; 32 | width: 100%; 33 | } 34 | 35 | .main [href*="&addon_type=plugin"]:before { 36 | content: "\f12e"; 37 | } 38 | .main [href*="&addon_type=config"]:before { 39 | content: "\f121"; 40 | } 41 | .main [href*="&addon_type=mappack"]:before { 42 | content: "\f278"; 43 | } 44 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/addonsmanager/user_addons.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('.main > table').before('
'); 3 | $('.main td').contents().appendTo('.addons'); 4 | $('.main > table').remove(); 5 | $('.main [href*="&addon_type="]').addClass('btn-primary').wrapInner(''); 6 | }); 7 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/administration/main.css: -------------------------------------------------------------------------------- 1 | .admin-buttons { 2 | display: inline-block; 3 | width: 160px; 4 | height: 110px; 5 | text-align: center; 6 | border-radius: 4px; 7 | padding: 5px; 8 | margin: 0px 5px 5px 0px; 9 | vertical-align: middle; 10 | } 11 | .admin-buttons div { 12 | line-height: 16px; 13 | max-height: 32px; 14 | overflow: hidden; 15 | } 16 | .admin-buttons:before { 17 | font-size: 48px; 18 | } 19 | .admin-buttons img, 20 | .admin-buttons br 21 | { 22 | display: none; 23 | } 24 | .admin-buttons:hover { 25 | background-position: 0 -90px !important; 26 | } 27 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/administration/main.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | /* *** Administration Button - Removing all TD/TR *** */ 3 | $('.row > .main').prepend('
'); 4 | $('.row > .main').prepend('

'+$('.main h2:nth-of-type(1)').html()+'

'); 5 | $('.row > .main .administration-table:nth-of-type(2) td:not(.administration-buttons-hmargin)').each(function() { 6 | $('.flex-container').append($(this).html()); 7 | }); 8 | $('.row > .main h2:nth-of-type(2)').remove(); 9 | $('.row > .main .administration-table:nth-of-type(2)').remove(); 10 | 11 | $('.row > .main .administration-table [href^="?m=administration&p=iframe&external_link="]').addClass('btn-primary').addClass('admin-buttons'); 12 | $('.row > .main .administration-table [href^="?m=administration&p=iframe&external_link="]').wrapInner('
'); 13 | 14 | $('.row > .main button[name="restore"]').removeClass('btn-primary').addClass('btn-danger'); 15 | 16 | /* *** Buttons Order adding TR's *** */ 17 | var td = $('.row > .main > table:last-of-type td'); 18 | var width = $(window).width(); 19 | 20 | if(width >= 1025){ 21 | var cutter = 5; 22 | }else if(width <= 1024 && width >= 769){ 23 | var cutter = 4; 24 | }else if(width <= 768 && width >= 481){ 25 | var cutter = 3; 26 | }else if(width <= 480 && width >= 321){ 27 | var cutter = 2; 28 | }else if(width <= 320){ 29 | var cutter = 1; 30 | } 31 | 32 | td.each(function(i){ 33 | $(this).removeAttr('colspan'); 34 | if (i % cutter == 0) { 35 | td.slice(i, i+cutter).wrapAll('') 36 | } 37 | }).parent('tr').unwrap(); 38 | $('.row > .main > table:last-of-type tr').each(function(){ 39 | if($.trim($(this).html())=='') { $(this).remove(); } 40 | }); 41 | var td_cnt = $('.row > .main > table:last-of-type tr:last-of-type td').length; 42 | var col_diff = cutter - td_cnt + 1; 43 | $('.row > .main > table:last-of-type tr:last-of-type td:last-of-type').attr('colspan', col_diff); 44 | 45 | $('.row > .main > table:last-of-type form').remove(); 46 | $('.row > .main > table:last-of-type').wrap('
'); 47 | 48 | 49 | $('.row > .main .remove-button').replaceWith(''); 50 | }); 51 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/administration/watch_logger.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('table').addClass('table').addClass('table-sm').addClass('table-striped').removeAttr('style'); 3 | var inputs = $('input, textarea, select').not(':input[type=button], :input[type=submit], :input[type=reset], :input[type=radio], :input[type=checkbox], :input[type=image]'); 4 | $(inputs).addClass('form-control').removeAttr('style'); 5 | 6 | $('[name="remove_log"]').replaceWith(''); 7 | }); 8 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/circular/circular.css: -------------------------------------------------------------------------------- 1 | .ql-editor, 2 | .ql-toolbar.ql-snow, 3 | .ql-snow .ql-picker, 4 | .ql-formats, 5 | .ql-picker-options { 6 | color: #fff !important; 7 | background-color: rgba(26, 28, 34, 0.4); 8 | } 9 | .ql-picker-options { 10 | background-color: rgba(26, 28, 34, 0.8) !important; 11 | } 12 | 13 | .ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label:hover, 14 | .ql-snow.ql-toolbar button:hover, 15 | .ql-snow .ql-toolbar button:hover { 16 | border: 1px solid rgba(255, 255, 255, 0.6) !important; 17 | } 18 | 19 | .ql-snow .ql-stroke { 20 | stroke: rgba(255, 255, 255, 1) !important; 21 | } 22 | 23 | .ql-snow.ql-toolbar button:hover, 24 | .ql-snow .ql-toolbar button:hover, 25 | .ql-snow.ql-toolbar button:focus, 26 | .ql-snow .ql-toolbar button:focus, 27 | .ql-snow.ql-toolbar button.ql-active, 28 | .ql-snow .ql-toolbar button.ql-active, 29 | .ql-snow.ql-toolbar .ql-picker-label:hover, 30 | .ql-snow .ql-toolbar .ql-picker-label:hover, 31 | .ql-snow.ql-toolbar .ql-picker-label.ql-active, 32 | .ql-snow .ql-toolbar .ql-picker-label.ql-active, 33 | .ql-snow.ql-toolbar .ql-picker-item:hover, 34 | .ql-snow .ql-toolbar .ql-picker-item:hover, 35 | .ql-snow.ql-toolbar .ql-picker-item.ql-selected, 36 | .ql-snow .ql-toolbar .ql-picker-item.ql-selected { 37 | color: #fff !important; 38 | } 39 | 40 | .ql-editor h1, 41 | .ql-editor h2, 42 | .ql-editor h3 { 43 | border-bottom: none; 44 | } 45 | 46 | .ql-toolbar.ql-snow, 47 | .ql-container.ql-snow { 48 | border: 1px solid #22252f !important; 49 | } 50 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/config_games/config_games.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('[href$="&delete"]').addClass('btn').addClass('btn-sm').addClass('btn-danger'); 3 | 4 | if(window.location.href.indexOf("home.php?m=config_games&xml_config_creator=Create+XML+Configs") != -1 ){ 5 | $('iframe').attr('id', 'xcc_iframe'); 6 | $('iframe').load(function() { 7 | $(this).contents().find("body").addClass('xcc_iframe'); 8 | var main_css = ''; 9 | var bs = ''; 10 | var bs_t = ''; 11 | var js = ''; 12 | var xml_css = ''; 13 | $(this).contents().find("head").append(bs); 14 | $(this).contents().find("head").append(bs_t); 15 | $(this).contents().find("head").append(js); 16 | $(this).contents().find("head").append(main_css); 17 | $(this).contents().find("head").append(xml_css); 18 | 19 | $(this).contents().find("table").removeAttr("style").removeAttr("colspan").addClass('table').addClass('table-sm').addClass('table-striped'); 20 | $(this).contents().find('button, input[type=button], input[type=submit], input[type=reset], .swfuploadbtn').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 21 | $(this).contents().find('textarea, select, input[type=text]').addClass('form-control').removeAttr('style'); 22 | $(this).contents().find('form').addClass('form-group'); 23 | 24 | 25 | 26 | }); 27 | } 28 | }); 29 | 30 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/config_games/main.css: -------------------------------------------------------------------------------- 1 | html, 2 | body { 3 | background: transparent !important; 4 | color: #fff; 5 | } 6 | 7 | td { 8 | font-size: 14px; 9 | } 10 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/cron/cron.css: -------------------------------------------------------------------------------- 1 | td[style="width: 35px;"] { 2 | width: 70px !important; 3 | } 4 | .log td { 5 | color: #fff !important; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/cron/cron.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href="?m=administration&p=main"], [href="javascript:history.go(-1)"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('.main > .log').wrap('
'); 4 | $('.main > table').wrap('
'); 5 | 6 | $('.hundred td[colspan="6"]').attr('colspan',8); 7 | $('.hundred th:last-of-type').attr('colspan',2); 8 | }); 9 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/cron/user_cron.css: -------------------------------------------------------------------------------- 1 | .log .table:first-of-type { 2 | margin-bottom: 0px; 3 | } 4 | .log .table:first-of-type form { 5 | margin: 0px; 6 | } 7 | .log .table:first-of-type td { 8 | vertical-align: bottom; 9 | } 10 | .log td { 11 | color: #fff !important; 12 | } 13 | .log b table { 14 | width: 100%; 15 | } 16 | .log b table td:not(:last-of-type){ 17 | width: 60px !important; 18 | text-align: center; 19 | } 20 | 21 | input.form-control { 22 | width: 46px; 23 | } 24 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/cron/user_cron.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href="?m=administration&p=main"], [href="javascript:history.go(-1)"], .main [href="home.php?m=cron&p=cron"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('input[name="removeJob"]').removeClass('btn-primary').addClass('btn-danger'); 4 | 5 | $('.main > .log, .main > form, .main > table').wrap('
'); 6 | $('.main th:last-child').attr('colspan', 2); 7 | }); 8 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/dashboard/dashboard.css: -------------------------------------------------------------------------------- 1 | b { 2 | font-weight: normal !important; 3 | } 4 | .progress { 5 | background: none !important; 6 | height: auto !important; 7 | display: block; 8 | margin-bottom: 0px !important; 9 | box-shadow: none !important; 10 | } 11 | .progress-bar { 12 | width: 100% !important; 13 | background: none !important; 14 | -webkit-box-shadow: none !important; 15 | box-shadow: none !important; 16 | } 17 | .progress-bar > canvas 18 | { 19 | height: 60px !important; 20 | width: 60px !important; 21 | } 22 | .load-container { 23 | margin-bottom: 5px; 24 | display: inline-block; 25 | margin: 0px 5px 5px; 26 | } 27 | #refreshed-0 > #column4:nth-child(2) .load-container { 28 | display: inline-block; 29 | width: 24%; 30 | } 31 | .load-container b { 32 | display: block; 33 | } 34 | 35 | h0 { 36 | clear: both; 37 | display: inline-block; 38 | font-size: 1.5rem; 39 | background-color: rgba(25,151,198,0.5); 40 | padding: 10px; 41 | margin: 40px 0px 20px; 42 | width: 100%; 43 | border-bottom: none; 44 | } 45 | 46 | .one_fourth { 47 | width: 25%; 48 | float: left; 49 | } 50 | 51 | .one_two { 52 | width: 50%; 53 | float: left; 54 | } 55 | 56 | .one_fourth#column3 { 57 | padding-right: 0px; 58 | } 59 | 60 | .main .column { 61 | padding-left: 0px !important; 62 | min-height: 150px; 63 | } 64 | 65 | .column .placeholder { 66 | background-color: rgba(26, 28, 34, 0.4); 67 | border: 2px dotted rgba(26, 28, 34, 0.8); 68 | height: 100px !important; 69 | border-radius: 5px; 70 | margin-bottom: 10px; 71 | } 72 | .column .placeholder:after { 73 | content: "\f047"; 74 | color: rgba(255, 255, 255, 0.3); 75 | text-transform: uppercase; 76 | display: block; 77 | text-align: center; 78 | line-height: 90px; 79 | font-family: "FontAwesome"; 80 | font-size: 40px; 81 | } 82 | 83 | @media only screen and (max-width: 991px){ 84 | #column4 { 85 | float: none !important; 86 | width: 100% !important; 87 | margin-left: 0px !important; 88 | } 89 | .col-md-3, 90 | .col-md-6, 91 | .column.ui-sortable 92 | { 93 | padding-left: 0px !important; 94 | padding-right: 0px !important; 95 | } 96 | #refreshed-0 > #column4:first-of-type { 97 | margin-left: 0px !important; 98 | } 99 | } 100 | 101 | .bloc { 102 | background-color: rgba(26, 28, 34, 0.3); 103 | border-radius: 4px; 104 | border: 1px solid rgba(35, 40, 46, 0.8); 105 | margin-bottom: 10px; 106 | } 107 | 108 | #column4 .bloc { 109 | min-height: 130px; 110 | } 111 | 112 | @media only screen and (min-width: 992px){ 113 | #column4 > .dragbox, 114 | #column4 > .bloc { 115 | margin-bottom: 0px !important; 116 | } 117 | } 118 | .dragbox { 119 | margin-bottom: 10px; 120 | } 121 | .dragbox-content { 122 | display: inline-block; 123 | width: 100%; 124 | } 125 | [id^="refreshed-"] .dragbox-content { 126 | text-align: center; 127 | } 128 | [id^="refreshed-"] pre { 129 | text-align: left; 130 | } 131 | .dragbox h4 .configure { 132 | width: 30px; 133 | height: 30px; 134 | float: right; 135 | opacity: 0.8; 136 | } 137 | .dragbox h4 .configure:before { 138 | font-family: 'FontAwesome'; 139 | content: "\f063"; 140 | } 141 | 142 | .dragbox > .ui-sortable:hover, 143 | .dragbox > .ui-sortable-handle:hover 144 | { 145 | cursor: move; 146 | } 147 | 148 | .online_servers { 149 | color: #1997c6; 150 | border-spacing: 0px 3px; 151 | border-collapse: separate; 152 | background: transparent; 153 | } 154 | .online_servers .name img { 155 | margin-right: 4px; 156 | } 157 | .online_servers td { 158 | border-radius: 4px; 159 | padding: 3px 10px !important; 160 | border-top: none !important; 161 | } 162 | .online_servers a 163 | { 164 | color: #fff; 165 | } 166 | .online_servers a:hover 167 | { 168 | color: rgba(255, 255, 255, 0.6); 169 | } 170 | .online_servers [id^=refreshed] 171 | { 172 | display: flex; 173 | flex-wrap: wrap; 174 | justify-content: space-between; 175 | } 176 | .online_servers [id^=refreshed] div 177 | { 178 | display: inline-block; 179 | white-space: nowrap; 180 | } 181 | .online_servers div 182 | { 183 | display: inline-block; 184 | } 185 | .online_servers #gamelink 186 | { 187 | float: right; 188 | } 189 | 190 | 191 | /* *** SYSTEM UPTIME *** */ 192 | #refreshed-0 > #column4:nth-child(1){ 193 | } 194 | 195 | /* *** CPU USAGE *** */ 196 | #refreshed-0 > #column4:nth-child(2){ 197 | } 198 | 199 | /* *** RAM USAGE *** */ 200 | #refreshed-0 > #column4:nth-child(3){ 201 | } 202 | 203 | /* *** STORAGE SPACE *** */ 204 | #refreshed-0 > #column4:nth-child(4){ 205 | } 206 | 207 | #item5 img, 208 | #item1 img, 209 | #item4 img { 210 | display: none; 211 | } 212 | #item5 > div:before, 213 | #item1 > div:before, 214 | #item4 > div:before { 215 | display: inline-block; 216 | font-family: "FontAwesome"; 217 | font-size: 36px; 218 | float: right; 219 | height: 36px; 220 | margin: 0px 0px 5px 5px; 221 | } 222 | #item5 > div:before { 223 | content: "\f29c"; 224 | } 225 | #item1 > div:before { 226 | content: "\f108"; 227 | } 228 | #item4 > div:before { 229 | content: "\f15c"; 230 | } 231 | .online_servers img { 232 | display: none; 233 | } 234 | .online_servers .name a:before { 235 | display: inline-block !important; 236 | margin-right: 5px; 237 | font-size: 75%; 238 | content: "\f002"; 239 | } 240 | .currently-online > tbody > tr:first-of-type > td { 241 | font-weight: 400 !important; 242 | text-transform: uppercase !important; 243 | background-color: rgba(26, 28, 34, 0.5); 244 | } 245 | .online_servers + .pagination { 246 | margin-bottom: 0px !important; 247 | } 248 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/dashboard/dashboard.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | if($('h0').length>1){ 3 | $('h0:first').css('margin-top', '5px').css('margin-bottom', '0px'); 4 | } 5 | 6 | $('.online_servers td').each(function(){ 7 | $(this).addClass('btn-primary').html($(this).children()); 8 | }); 9 | 10 | $('.one_fourth').addClass('col-xs-12').addClass('col-md-3'); 11 | $('.one_two').addClass('col-xs-12').addClass('col-md-6'); 12 | 13 | $('.dragbox-content img').remove(); 14 | $('.bloc > div > br').remove(); 15 | 16 | // Call Radial Indicator and Init Mod Function 17 | var url = "themes/SimpleBootstrap/js/radialIndicator.js"; 18 | $.getScript( url, function() { 19 | animateProgressBars(); 20 | }); 21 | 22 | // Remove not wanted Tags in Containers every time when DOM is modified 23 | $('[id^=refreshed-]').bind("DOMSubtreeModified",function(){ 24 | $('.currently-online').addClass('table').addClass('table-striped'); 25 | $('.currently-online td').attr('style',''); 26 | $('[id^=refreshed-] > br').remove(); 27 | $('[id^=refreshed-] .load-container > br').remove(); 28 | $('.dragbox-content .load-container > br').remove(); 29 | $(".dragbox-content .load-container").each(function(){ 30 | if($(this).find('.progress-wrap').length < 1){ 31 | $(this).find('.progress').wrapAll('
'); 32 | } 33 | }); 34 | 35 | }); 36 | 37 | // Dashboard Row Config 38 | $.ajax({ 39 | type: "POST", 40 | url: "themes/SimpleBootstrap/conf/sbs.conf", 41 | contentType: "application/json; charset=utf-8", 42 | dataType: "json", 43 | beforeSend: function( xhr ) { 44 | xhr.overrideMimeType('application/json'); 45 | }, 46 | success: function(json) { 47 | if(json['dashboard_rows']=="full_rows"){ 48 | $('.main .column').removeClassStartingWith('col-md').css("padding-right", "0px"); 49 | } 50 | if(json['dashboard_rows']=="remove_one"){ 51 | $('.main .column').removeClassStartingWith('col-md').addClass('col-md-6'); 52 | $('.main #column3').css("padding-right", "0px"); 53 | $('.main #column1').css("display", "none"); 54 | } 55 | if(json['dashboard_rows']=="remove_one_two"){ 56 | $('.main .column').removeClassStartingWith('col-md'); 57 | $('.main #column3').css("padding-right", "0px"); 58 | $('.main #column1, .main #column2').css("display", "none"); 59 | } 60 | if(json['dashboard_rows']=="remove_one_three"){ 61 | $('.main .column').removeClassStartingWith('col-md'); 62 | $('.main #column2').css("padding-right", "0px"); 63 | $('.main #column1, .main #column3').css("display", "none"); 64 | } 65 | } 66 | }); 67 | }); 68 | 69 | 70 | 71 | function animateProgressBars(){ 72 | // Init Radial Indicator for each Progress Bar 73 | $(".progress").addClass('inline-block'); 74 | $(".progress-bar").each(function() { 75 | if($(this).children().length < 1){ 76 | var value = $(this).attr("data"); 77 | $(this).radialIndicator({ 78 | barColor: '#1997c6', 79 | percentage: true, 80 | roundCorner: true, 81 | initValue: value 82 | }); 83 | } 84 | }); 85 | 86 | // Replace all Tags with a Container in Server Status Section 87 | $('.progress').each(function(){ 88 | var dragbox = $(this).parents('.dragbox-content').first(); 89 | $(dragbox).children('b').each(function() { 90 | $('').insertBefore(this); 91 | }); 92 | $(dragbox).find('cutter').each(function() { 93 | var $set = $(); 94 | var nxt = this.nextSibling; 95 | while (nxt) { 96 | if (!$(nxt).is('cutter')) { 97 | $set.push(nxt); 98 | nxt = nxt.nextSibling; 99 | } else break; 100 | } 101 | $set.wrapAll('
'); 102 | }); 103 | $(dragbox).find('cutter').remove(); 104 | }); 105 | 106 | /* *** Only Storage *** */ 107 | $('#column4:nth-child(4) > .dragbox > .load-container').addClass('storage'); 108 | $('.storage br:first-of-type').replaceWith(' / '); 109 | 110 | /* *** Only CPU Cutting *** */ 111 | $('#column4:nth-child(2) > .dragbox > .load-container').addClass('cpu_load'); 112 | $('.cpu_load br').remove(); 113 | $('.cpu_load').each(function() { 114 | var this_b = $(this).children('b'); 115 | if($(this_b).text().indexOf(':') >= 0){ 116 | $(this_b).text($(this_b).html().split(':')[0]); 117 | } 118 | }); 119 | } 120 | 121 | $.fn.removeClassStartingWith = function (filter) { 122 | $(this).removeClass(function (index, className) { 123 | return (className.match(new RegExp("\\S*" + filter + "\\S*", 'g')) || []).join(' ') 124 | }); 125 | return this; 126 | }; 127 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/dsi/list_dsi.css: -------------------------------------------------------------------------------- 1 | td { 2 | padding: 5px !important; 3 | } 4 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/editconfigfiles/editconfigfiles.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('.main [href^="?m=gamemanager&p=game_monitor"], .main [href^="?m=editconfigfiles"]').addClass('btn').addClass('btn-primary').addClass('btn-xs'); 3 | }); 4 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/editconfigfiles/modify.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('.main [href^="?m=editconfigfiles"]').addClass('btn').addClass('btn-primary').addClass('btn-xs'); 3 | }); 4 | 5 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/extras/extras.css: -------------------------------------------------------------------------------- 1 | .btn:not([name="update"]), 2 | .loading, 3 | b:not(:first-of-type){ 4 | float: right; 5 | } 6 | b.label { 7 | font-size: 12px; 8 | font-weight: normal; 9 | padding: 5px; 10 | margin: 0px 5px; 11 | } 12 | .btn, 13 | .badge { 14 | margin: 0px 5px !important; 15 | } 16 | .uninstall, 17 | .install, 18 | .remove, 19 | .badge { 20 | min-width: 75px; 21 | } 22 | .content { 23 | height: 30px; 24 | line-height: 30px; 25 | padding: 4px; 26 | } 27 | .content:nth-child(even) { 28 | background-color: rgba(26, 28, 34, 0.3) !important; 29 | } 30 | .badge { 31 | font-weight: normal !important; 32 | } 33 | .fa { 34 | margin-left: 5px; 35 | } 36 | .dragbox-content input[type="checkbox"] { 37 | margin-right: 5px; 38 | } 39 | 40 | .extras .bloc { 41 | padding: 0px; 42 | float: left; 43 | width: 49%; 44 | border: none !important; 45 | } 46 | .extras .bloc:first-of-type { 47 | margin-right: 1%; 48 | } 49 | 50 | @media screen and (max-width: 1200px) { 51 | .extras .bloc { 52 | float: none; 53 | width: 100%; 54 | margin: 0px; 55 | } 56 | } 57 | a.btn-xs { 58 | font-weight: 600; 59 | text-transform: uppercase; 60 | } 61 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/extras/extras.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | $('[name="update"]').click(function(){ 4 | $('body').append('
'); 5 | }); 6 | 7 | $('.dragbox-content').html(function(index, text) { 8 | return text.replace(/\ - /g, ''); 9 | }); 10 | 11 | $('[href^="#uninstall_"]').addClass('btn').addClass('btn-danger').addClass('btn-xs').removeAttr('style'); 12 | $('[href^="#remove_"]').addClass('btn').addClass('btn-danger').addClass('btn-xs').removeAttr('style'); 13 | $('[href^="#install_"]').addClass('btn').addClass('btn-success').addClass('btn-xs').removeAttr('style'); 14 | $('[href^="?m=extras&searchForUpdates="]').addClass('btn').addClass('btn-primary').addClass('btn-xs').removeAttr('style'); 15 | 16 | $('.main > h2').after('
'); 17 | 18 | $('.dragbox-content').each(function(){ 19 | var form_selector = $(this); 20 | $(form_selector).prepend('
'); 21 | $(form_selector.find('br')).each(function(){ 22 | var $set = $(); 23 | var nxt = this.nextSibling; 24 | while(nxt) { 25 | if(!$(nxt).is('br')) { 26 | $set.push(nxt); 27 | nxt = nxt.nextSibling; 28 | } else break; 29 | } 30 | $set.wrapAll(''); 31 | }); 32 | $(form_selector.find('br')).remove(); 33 | $(form_selector.find('tr')).wrapAll(''); 34 | 35 | }); 36 | 37 | 38 | $('.dragbox').appendTo('.main .extras').removeAttr('style'); 39 | 40 | $('tr').each(function () { 41 | $(this).find('td').each(function () { 42 | if ($(this).text().trim() == "") { 43 | $(this).closest("tr").remove(); 44 | }; 45 | }); 46 | }); 47 | 48 | $('b[style*="green"]').addClass('label').addClass('label-success').css("color", ""); 49 | $('b[style*="red"]').addClass('label').addClass('label-danger').css("color", ""); 50 | $('b[style*="orange"]').addClass('label').addClass('label-warning').css("color", ""); 51 | 52 | 53 | $('.search').click(function(){ 54 | $(this).replaceWith(''+$(this).text()+' '); 55 | }); 56 | 57 | }); 58 | 59 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/faq/faq.css: -------------------------------------------------------------------------------- 1 | .main .footer { 2 | font-size: 80%; 3 | margin-top: 50px; 4 | } 5 | 6 | .main > .footer > div:nth-child(1) { 7 | display: inline-block !important; 8 | } 9 | 10 | .main > .footer > .credits { 11 | display: inline-block !important; 12 | margin-left: 20px; 13 | } 14 | 15 | .main .maincategory, 16 | .main .category 17 | { 18 | text-transform: uppercase; 19 | padding-bottom: 10px; 20 | font-size: 24px; 21 | font-weight: 300; 22 | margin-top: 20px; 23 | } 24 | .main .maincategory > img, 25 | .main .category >img { 26 | margin-right: 10px; 27 | } 28 | 29 | 30 | li.faqblock { 31 | list-style: none; 32 | display: inline-block; 33 | } 34 | 35 | .accordion-toggle, 36 | .accordion-content 37 | { 38 | background-color: rgba(26, 28, 34, 0.4); 39 | padding: 2px 5px; 40 | border: 1px solid rgba(35, 40, 46, 0.8); 41 | border-bottom: 0px; 42 | } 43 | .accordion-content { 44 | background-color: rgba(26, 28, 34, 0.2); 45 | border-bottom: 1px solid rgba(35, 40, 46, 0.8); 46 | margin-bottom: 5px; 47 | } 48 | 49 | .accordion-toggle:hover { 50 | cursor: pointer; 51 | padding-left: 7px; 52 | } 53 | 54 | .syntaxhighlighter { 55 | padding: 5px; 56 | } 57 | 58 | .search { 59 | width: calc(100% - 60px) !important; 60 | display: inline-block !important; 61 | } 62 | #count { 63 | font-size: 80%; 64 | display: inline-block; 65 | width: 45px; 66 | text-align: right; 67 | margin-right: 5px; 68 | } 69 | .label { 70 | font-size: 95% !important; 71 | text-shadow: 1px 1px 1px rgba(150, 150, 150, 1); 72 | } 73 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/faq/faq.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('li.faqblock > a').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('.accordion-content').each(function(){ 4 | $(this).css('display','none'); 5 | }); 6 | }); 7 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/fast_download/fast_download.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href^="?m=fast_download"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('input[name="delete"], input[name="stop_fastdl"]').removeClass('btn-primary').addClass('btn-danger'); 4 | 5 | 6 | var form_selector = $('.main > form:nth-child(5)'); 7 | $(form_selector).prepend('
'); 8 | $(form_selector.find('br')).each(function(){ 9 | var $set = $(); 10 | var nxt = this.nextSibling; 11 | while(nxt) { 12 | if(!$(nxt).is('br')) { 13 | $set.push(nxt); 14 | nxt = nxt.nextSibling; 15 | } else break; 16 | } 17 | $set.wrapAll(''); 18 | }); 19 | $(form_selector.find('br')).remove(); 20 | $(form_selector.find('tr')).wrapAll('
'); 21 | 22 | 23 | }); 24 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/fast_download/fd_user.css: -------------------------------------------------------------------------------- 1 | form > b 2 | { 3 | padding: 2px 10px !important; 4 | margin-bottom: 5px; 5 | display: inline-block; 6 | background-color: rgba(67, 72, 87, 0.5) !important; 7 | color: #fff !important; 8 | border-radius: 3px; 9 | border: none !important; 10 | font-weight: normal; 11 | } 12 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/fast_download/fd_user.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('b').removeAttr('style'); 3 | $('input[name="delete"]').removeClass('btn-primary').addClass('btn-danger'); 4 | }); 5 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/ftp/ftp.css: -------------------------------------------------------------------------------- 1 | iframe { 2 | border: none !important; 3 | background: transparent !important; 4 | } 5 | .ftp_iframe { 6 | background: transparent !important; 7 | } 8 | .ftp_iframe #LoginForm div { 9 | display: block !important; 10 | } 11 | 12 | .ftp_iframe #LoginForm > div > div:first-child { 13 | padding: 6px 10px 0px; 14 | color: #fff; 15 | margin: 0 auto; 16 | height: 31px; 17 | background: #4875B3; 18 | padding-top: 10px; 19 | text-align: center; 20 | font-family: Roboto; 21 | font-weight: 300; 22 | font-size: 15px; 23 | border-top-left-radius: 4px; 24 | border-top-right-radius: 4px; 25 | } 26 | 27 | .ftp_iframe #LoginForm > div > div:nth-child(2) { 28 | padding: 6px 6px 0px; 29 | } 30 | 31 | .ftp_iframe .page table { 32 | width: 100%; 33 | text-align: center; 34 | } 35 | 36 | .ftp_iframe .page table table { 37 | width: 400px; 38 | margin: auto; 39 | } 40 | 41 | .ftp_iframe #wrapper { 42 | border-left: none; 43 | padding: 20px; 44 | } 45 | 46 | .ftp_iframe #header, 47 | .ftp_iframe #page-title 48 | { 49 | text-align: center; 50 | } 51 | 52 | select[name="home_id"] { 53 | margin-bottom: 20px; 54 | } 55 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/ftp/ftp.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | if(window.location.href.indexOf("home.php?m=ftp") != -1 ){ 3 | $('iframe').attr('id', 'ftp_iframe'); 4 | $('iframe').load(function() { 5 | $(this).contents().find("tr").removeAttr("onmouseover").removeAttr("onmouseout"); 6 | $(this).contents().find("body").addClass('ftp_iframe'); 7 | $(this).contents().find("div, input").removeAttr("style"); 8 | $(this).contents().find("table").removeAttr("style").removeAttr("colspan").addClass('table').addClass('table-sm').addClass('table-striped'); 9 | $(this).contents().find(".page > table > tbody > tr:nth-child(3)").remove(); 10 | $(this).contents().find('b[style="color:red;"]').removeAttr('style').addClass('alert').addClass('alert-danger'); 11 | $(this).contents().find('.table .table').addClass('inner-table'); 12 | 13 | $(this).contents().find('link').remove(); 14 | var main_css = ''; 15 | var ftp_css = ''; 16 | var bs = ''; 17 | var bs_t = ''; 18 | var js = ''; 19 | $(this).contents().find("head").append(bs); 20 | //$(this).contents().find("head").append(bs_t); 21 | $(this).contents().find("head").append(js); 22 | $(this).contents().find("head").append(main_css); 23 | $(this).contents().find("head").append(ftp_css); 24 | 25 | $(this).contents().find('button, input[type=button], input[type=submit], input[type=reset], .swfuploadbtn').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 26 | $(this).contents().find('textarea, select, input[type=text]').addClass('form-control').removeAttr('style'); 27 | $(this).contents().find('form').addClass('form-group'); 28 | 29 | $(this).contents().find('.browse_rows_heading a').removeAttr('style').addClass('btn').addClass('btn-xs').addClass('btn-primary'); 30 | $(this).contents().find('[href^="javascript:submitBrowseForm(\'%2F\'"]').addClass('btn').addClass('btn-xs').addClass('btn-primary').prepend(' '); 31 | $(this).contents().find('[href^="javascript:submitBrowseForm"]:not(.btn)').addClass('label').addClass('label-default'); 32 | $(this).contents().find('[onclick*="view"] > a').addClass('btn').addClass('btn-xs').addClass('btn-success').addClass('btn-block'); 33 | $(this).contents().find('[onclick*="edit"] > a').addClass('btn').addClass('btn-xs').addClass('btn-warning').addClass('btn-block'); 34 | $(this).contents().find('[href^="javascript:toggleElement(\'upload\')"]').addClass('btn').addClass('btn-xs').addClass('btn-danger'); 35 | 36 | $(this).contents().find('img[src$="folder.png"]').replaceWith(''); 37 | $(this).contents().find('img[src$="txt.png"]').replaceWith(''); 38 | $(this).contents().find('img[src$="mime.png"], img[src$="exec.png"]').replaceWith(''); 39 | $(this).contents().find('img[src$="bookmark.png"]').replaceWith(''); 40 | $(this).contents().find('img[src$="info.png"]').replaceWith(''); 41 | $(this).contents().find('img[src$="exit.png"]').replaceWith(''); 42 | $(this).contents().find('img[src$="view_tree.png"]').replaceWith(''); 43 | $(this).contents().find('img[src$="document.png"]').replaceWith(''); 44 | $(this).contents().find('img[src$="terminal.png"]').replaceWith(''); 45 | $(this).contents().find('img[src$="colors.png"]').replaceWith(''); 46 | //$(this).contents().find('img[src$="misc.png"]').replaceWith(''); 47 | $(this).contents().find('img[src$="misc.png"]').remove(); 48 | $(this).contents().find('img[src$="back.png"]').replaceWith(''); 49 | 50 | $(this).contents().find('[accesskey="h"]').addClass('btn').addClass('btn-warning'); 51 | $(this).contents().find('[accesskey="i"]:not(input)').addClass('btn').addClass('btn-info'); 52 | $(this).contents().find('[accesskey="l"]').addClass('btn').addClass('btn-danger'); 53 | $(this).contents().find('[accesskey="b"]').addClass('btn').addClass('btn-primary'); 54 | 55 | $('iframe').contents().find('table h1').each(function(){ 56 | $(this).parent('td').replaceWith(''); 57 | }); 58 | 59 | $('iframe').contents().find("body").css('display', 'block'); 60 | }); 61 | } 62 | }); 63 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/ftp/ftp_admin.css: -------------------------------------------------------------------------------- 1 | .collapsible a.collapsed, 2 | .collapsible a.expanded 3 | { 4 | background: none; 5 | } 6 | 7 | .collapsible a.collapsed:before, 8 | .collapsible a.expanded:before 9 | { 10 | display: inline-block !important; 11 | width: 20px; 12 | height: 20px; 13 | font-family: FontAwesome; 14 | color: #fff !important; 15 | } 16 | 17 | .collapsible a.collapsed:before { 18 | content: "\f196"; 19 | } 20 | .collapsible a.expanded:before { 21 | content: "\f147"; 22 | } 23 | 24 | #servermonitor td { 25 | vertical-align: middle; 26 | } 27 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/ftp/ftp_admin.js: -------------------------------------------------------------------------------- 1 | $(window).load(function(){ 2 | $('.tablesorter-hasChildRow td.collapsed').html(''); 3 | $('.tablesorter-hasChildRow td.collapsed').click(function(){ 4 | $(this).html(''); 5 | }); 6 | $('.tablesorter-hasChildRow td.expanded').click(function(){ 7 | $(this).html(''); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/ftp/main.css: -------------------------------------------------------------------------------- 1 | html, 2 | body { 3 | background: transparent !important; 4 | color: #fff; 5 | } 6 | body, 7 | .title { 8 | display: none; 9 | } 10 | td { 11 | color: #fff !important; 12 | } 13 | 14 | #StatusbarForm { 15 | margin-top: 10px; 16 | margin-bottom: 20px; 17 | } 18 | 19 | i.fa.fa-folder-open-o { 20 | color: #ffe699; 21 | } 22 | 23 | h1 { 24 | padding: 0px !important; 25 | margin: 0px !important; 26 | border-bottom: none !important; 27 | font-size: 24px; 28 | } 29 | 30 | .table:not(.inner-table) { 31 | margin-bottom: 20px; 32 | } 33 | 34 | .alert { 35 | display: inline-block; 36 | } 37 | 38 | .table-striped>tbody>tr:nth-of-type(odd) { 39 | background-color: rgba(26, 28, 34, 0.2) !important; 40 | } 41 | .table-striped>tbody>tr:nth-of-type(even) { 42 | background-color: transparent !important; 43 | } 44 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/gamemanager/game_monitor.css: -------------------------------------------------------------------------------- 1 | .monitorbutton, 2 | #server_icon 3 | { 4 | width: 150px; 5 | border-radius: 4px; 6 | margin: 2px; 7 | font-size: 12px; 8 | float: left; 9 | } 10 | .expand-child #server_icon { 11 | width: auto; 12 | } 13 | .monitorbutton 14 | { 15 | height: 90px; 16 | text-align: center; 17 | vertical-align: middle; 18 | } 19 | .monitorbutton:last-of-type { 20 | margin-bottom: 20px; 21 | } 22 | .monitorbutton span { 23 | line-height: 14px; 24 | max-height: 28px; 25 | } 26 | .monitorbutton.size { 27 | font-size: 12px !important; 28 | } 29 | .monitorbutton:hover, 30 | #server_icon:hover 31 | { 32 | cursor: pointer !important; 33 | } 34 | .monitorbutton:hover { 35 | background-position: 0 -90px !important; 36 | } 37 | .monitorbutton img { 38 | display: none; 39 | } 40 | .monitorButtonContainer form { 41 | clear: both; 42 | } 43 | 44 | #server_icon { 45 | line-height: 0.5 !important; 46 | padding: 0px 5px; 47 | } 48 | #server_icon div { 49 | display: inline-block; 50 | } 51 | #server_icon input { 52 | vertical-align: middle; 53 | margin-top: 0px; 54 | margin-right: 2px; 55 | } 56 | #server_icon img { 57 | display: none; 58 | } 59 | 60 | 61 | .srvctrl td { 62 | padding: 5px 0px; 63 | } 64 | .srvctrl a:before { 65 | display: block; 66 | font-size: 64px; 67 | margin-bottom: -10px; 68 | margin-top: -10px; 69 | } 70 | .srvctrl b { 71 | font-weight: normal !important; 72 | } 73 | #servermonitor .monitor-1 { 74 | float: left; 75 | width: calc(100% - 230px); 76 | margin-bottom: 20px; 77 | } 78 | #servermonitor .monitor-1 > div { 79 | float: left; 80 | } 81 | #servermonitor .server-info { 82 | width: calc(100% - 180px); 83 | } 84 | #servermonitor .map-icon { 85 | margin-right: 10px; 86 | } 87 | #servermonitor .monitor-2 { 88 | float: right; 89 | margin-bottom: 10px; 90 | } 91 | #servermonitor .monitor-2 .srvctrl { 92 | width: auto; 93 | border-radius: 5px; 94 | } 95 | #servermonitor .monitor-2 .srvctrl td:first-of-type { 96 | border-top-left-radius: 5px; 97 | border-bottom-left-radius: 5px; 98 | } 99 | #servermonitor .monitor-2 .srvctrl td:last-of-type { 100 | border-top-right-radius: 5px; 101 | border-bottom-right-radius: 5px; 102 | } 103 | #servermonitor .monitor-3 { 104 | clear: both; 105 | } 106 | #servermonitor .monitor-3 table { 107 | width: 100%; 108 | } 109 | #servermonitor .monitor-3 > div { 110 | padding: 10px 0px; 111 | background-color: rgba(26, 28, 34, 0.3) !important; 112 | border: 1px solid rgba(40, 42, 49, 1) !important; 113 | } 114 | .mapicon { 115 | border-radius: 4px; 116 | margin-bottom: 5px; 117 | padding: 0px; 118 | border: 1px solid #22252f; 119 | } 120 | .owner .form-control { 121 | width: auto !important; 122 | } 123 | 124 | #servermonitor .monitor-2 .srvctrl img, 125 | #servermonitor .monitor-2 .srvctrl br { 126 | display: none; 127 | } 128 | #servermonitor .monitor-2 .srvctrl a { 129 | display: inline-block; 130 | color: #fff; 131 | } 132 | #servermonitor .monitor-2 .srvctrl td { 133 | width: 100px; 134 | } 135 | #servermonitor .monitor-2 .srvctrl td:first-of-type a:before { 136 | content: "\f144"; 137 | } 138 | #servermonitor .monitor-2 .srvctrl td:last-of-type a:before { 139 | content: "\f28d"; 140 | } 141 | 142 | #servermonitor .monitor-2 .srvctrl td:first-of-type a:hover:before { 143 | color: #5cb85c; 144 | // color: #3e8f3e; 145 | } 146 | #servermonitor .monitor-2 .srvctrl td:last-of-type a:hover:before { 147 | color: #d9534f; 148 | // color: #b92c28; 149 | } 150 | 151 | .ts3_viewer b { 152 | font-weight: normal; 153 | } 154 | .ts3_viewer { 155 | border: 0px !important; 156 | background: transparent; 157 | margin: 0px 10px; 158 | width: auto !important; 159 | } 160 | 161 | tr.maintr td:last-child { 162 | padding: 3px 8px 3px; 163 | } 164 | @media screen and (min-width: 767px){ 165 | tr.maintr td:last-child { 166 | width: 330px; 167 | } 168 | } 169 | 170 | 171 | @media screen and (max-width: 766px){ 172 | .table-responsive>.table { 173 | max-width: 800px; 174 | } 175 | } 176 | 177 | #server_icon[class^="action-start"] { 178 | background-image: -webkit-linear-gradient(top, #5cb85c 0, #419641 100%); 179 | background-image: -o-linear-gradient(top, #5cb85c 0, #419641 100%); 180 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5cb85c), to(#419641)); 181 | background-image: linear-gradient(to bottom, #5cb85c 0, #419641 100%); 182 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0); 183 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 184 | background-repeat: repeat-x; 185 | border-color: #3e8f3e; 186 | } 187 | #server_icon[class^="action-start"]:hover { 188 | background-color: #419641; 189 | background-position: 0 -15px; 190 | } 191 | .header > #action-start { 192 | color: #5cb85c; 193 | } 194 | .header > #action-stop { 195 | color: #d9534f; 196 | } 197 | .header > #action-restart { 198 | color: #f0ad4e; 199 | } 200 | .header > .fa:hover { 201 | color: #fff !important; 202 | } 203 | 204 | #server_icon[class^="action-stop"] { 205 | background-image: -webkit-linear-gradient(top, #d9534f 0, #c12e2a 100%); 206 | background-image: -o-linear-gradient(top, #d9534f 0, #c12e2a 100%); 207 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #d9534f), to(#c12e2a)); 208 | background-image: linear-gradient(to bottom, #d9534f 0, #c12e2a 100%); 209 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0); 210 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 211 | background-repeat: repeat-x; 212 | border-color: #b92c28; 213 | } 214 | #server_icon[class^="action-stop"]:hover { 215 | background-color: #c12e2a; 216 | } 217 | 218 | #server_icon[class^="action-restart"] { 219 | background-image: -webkit-linear-gradient(top, #f0ad4e 0, #eb9316 100%); 220 | background-image: -o-linear-gradient(top, #f0ad4e 0, #eb9316 100%); 221 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f0ad4e), to(#eb9316)); 222 | background-image: linear-gradient(to bottom, #f0ad4e 0, #eb9316 100%); 223 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0); 224 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 225 | background-repeat: repeat-x; 226 | border-color: #e38d13; 227 | } 228 | #server_icon[class^="action-restart"]:hover { 229 | background-color: #eb9316; 230 | background-position: 0 -15px; 231 | } 232 | 233 | .main select.form-control { 234 | width: auto; 235 | display: inline; 236 | } 237 | .table-responsive { 238 | clear: both; 239 | } 240 | 241 | @media (max-width: 992px) { 242 | #servermonitor .monitor-1, 243 | #servermonitor .monitor-1 > div, 244 | #servermonitor .monitor-2 245 | { 246 | float: none !important; 247 | } 248 | #servermonitor td:nth-child(4) b { 249 | word-break: break-all; 250 | } 251 | } 252 | .ts3_viewer img { 253 | width: 16px; 254 | height: 16px; 255 | margin-left: 2px; 256 | } 257 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/gamemanager/game_monitor.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | $('#search').parent('form').addClass('pull-right'); 3 | 4 | $('.monitorbutton.size').click(function(){ 5 | $(this).addClass('loading'); 6 | $(this).bind("DOMSubtreeModified",function(){ 7 | $(this).removeClass('loading'); 8 | }); 9 | }); 10 | 11 | $('#execute_operations').click(function(){ 12 | $(this).replaceWith(''); 13 | }); 14 | 15 | $('tr.maintr td:last-child').css('width','').css('padding',''); 16 | 17 | $('table#servermonitor').wrap('
'); 18 | $('table#servermonitor td > a').addClass('label').addClass('label-primary').addClass('label-size'); 19 | 20 | $('img[src="images/magnifglass.png"]').replaceWith(''); 21 | 22 | $('.main').addClass('main-content'); 23 | 24 | $('[id^="refreshed"]').bind("DOMSubtreeModified",function(){ 25 | $(this).find('.upload-image').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 26 | $(this).find('.player_monitor').css('border', '').addClass('table').addClass('table-sm').addClass('table-striped'); 27 | 28 | }); 29 | 30 | $('img[src="images/stop.png"]').attr('src','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAACPVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9qcjBRAAAAvnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCREVGR0lKS0xNTk9QUVJUVVZXWFlbXF1eX2FiY2RmZ2hpa2xtb3Bxc3R1d3h5e3x+f4CCg4WGiImLjI6PkZKUlZeYmpudnqCio6WmqKqrra+wsrS1t7m6vL7AwcPFx8jKzM7P0dPV19na3N7g4uTm6Onr7e/x8/X3+fv9X+0ySAAADSFJREFUGBnlwYljVeWdBuD3O7lLbhKykISlsmkgKJIPXCgBpcPaYaB1BAtMoaBFUYxUR1YRQSiWJVB2lB2kBBLEkAQSst33bxtEqiz3nPP7zj33u+cyzwO7VLJm4uzlTbtO/uv2AH+V7rp+Zu9nqxY0jChx8IyKDWtc/fcb9Ndx6MM5o5N4lsRGL97dTjM9h/9cX4xnQLKh6QaD6tr+RjkKmPP8B23M1t2tU+IoRIkZBwYZknN/KEdhScw5yXC1LKtAoXCmNDMXLs9PoADUbOhnznwzHtGmZlxibt1emkBkJf/czdxLbx6KSCrfQluOj0XkVO+mTecnIlKq9tG2K/WIjLKvmA9nxiAS4k3Ml+YK5J1adI95tCGO/Bp3g/nVOxt5FP+C+XemEvkyo5uRsEYhH4acYFTcrIN9f0ozQr6Kwa7Ut4yW9tGw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NJZeBDue76CxLTC1h+YOJ5F7ai3NtTowFWunud45yLUxNxhALcyNYhBnqpBLsa0M4m0EsZKBvOcgZ6bfZRBHEMw+BtIxE7kx6hwDaYshGOcqg7k2EeGrPMhg+ioQVEk3Azr9G4QrtZlBvYTgxjCwb+sRnurtDOwdZGMBg2tpVAjFuCMMbiey8zmz0Pk/ZchWbPYVZuGCQpb+waycmuYgC+O+SjMbrXFkSx1jdvo3v+QgCPWbd28zO+0pZM85y2ylm2elYKbo5a33mK27QxCG2FWGoO3T18sgk5z47jmGoLca4Ui0MRzdu5dOrnTgTpXWLdz0A8Mx8BzCkrrNEN36R9OSmRNqSxIxRwFQTixRPHTc64vf33mVIUpPQHhKb7LQDExAmJL/YmHpfQ7hip1nIblbjbA5J1g42ocgfOoAC0VrCrmgtrMwXEwgR5awEOxSyJn6XkbecuRSeSujrW8Scit2hFF2sxI5t57RdSwGCyZ1M6L+BDuSRxlFbcNhzX+nGTnbHVhUe4PR0jsNdjkbGSWnUrBudAujoudN5INaNshI2BFHnpQdY/61vYA8arzL/EqvVsir2EfMpwPlyLuyfcyXK+MQCaO+ZT788FtExvhLtK1jtkKUTDxPm9rnKkTNuBO0pbVRIYpqtqVpwfF6RFZiWSdza+CzoYg09WIzc+fKrCJEX+oPLcyFrrXVKBTVq28xXPc2Po/CUr38GsPS2TRWoQClZuzpZ9ZOLqpC4VK1Cw/0M7DvVox1UPgqpjVdoqm2bXNqHTw7VPnkZTuuDFKg7Zt3f1vj4NmUrHlx7uotBy928kndV498+cFCPaJE4f8HVZRIlZaVV1YMKU0lixTy5f8Ajqth/oDB+B4AAAAASUVORK5CYII='); 31 | $('img[src="images/start.png"]').attr('src','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAACPVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9qcjBRAAAAvnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCREVGR0lKS0xNTk9QUVJUVVZXWFlbXF1eX2FiY2RmZ2hpa2xtb3Bxc3R1d3h5e3x+f4CCg4WGiImLjI6PkZKUlZeYmpudnqCio6WmqKqrra+wsrS1t7m6vL7AwcPFx8jKzM7P0dPV19na3N7g4uTm6Onr7e/x8/X3+fv9X+0ySAAADoNJREFUGBnlwYuDjeW+B/Dv866bNTPmzrCb0WgYhUGpbWjbx0jlsHdSGzs2tYWk1Mk1uTxJu5gc5FIYt2SYkRjDjLFmre/fdpDKZV1+z/s+77vW6nw+CJaK1Y6btXjdriM/Xhvk71K9F4/v+XjZyy0jShz8QYWHty7/4hJz6/lmTVtDDH8k4Yb5n1+lmf79bzUPwR9ArGXdJbrVu+3FchQxZ/Sqbnp1c8vkCIpRdPreJC05+bdyFJdo2xHa1bmoAsXCmdxOP5ydE0URqP0wQd98OQaFTU0/Q39deyOKghV7q4/+S22qRkEq38ygfPskCk7N5wxSxzgUlKqvGLRzzSgYZTuYD8dHoSBE1jFf2iuQd2reLebRhxHkV+Ml5tfALORR5FPm3/FK5Mv0PhaEFQr5MPQwC8XlJgTvHykWkB1hBCv+HQvL1QYEaeoAC85yBMb5lIXoRCmCMbybhel2K4Iwn4XrMwW/qU9ZyDpi8Ff0OAvb9Tr4qfYaC12yFf55fpBFYBX8soLFod2BLzawWJwIwz61i8XjfBS2qXYWk+4S2BU6yuLSUwGbIqdZbPqGwZ7IBVqUOr/34yX/NX5kTUXpkGg4MqS0vLpu7PTX3999MkGLbg+HLaFTtOTsJ3ObShUyitX/9b3DSdrRVwE71BFakPjm9YYQJFTt7B03aEFPCWxQ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 | $('img[src="images/restart.png"]').attr('src','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAACKFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////97JdjgAAAAt3RSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojw9P0BBQkNERUZJSktMTU5PUFFSVFVXWFlbXF1eX2FiY2RmaGlrbG1vcHFzdHV3eHl7fH5/gIKDhYaIiYuMjo+RkpSXmJqbnZ6goqOlpqiqq7CytLW3ubq8vsDBw8XHyMrMzs/R09XX2drc3uDi5Obo6evt7/Hz9ff5+/3H7WG5AAAKC0lEQVQYGe3BiV9VZR4H4O853OsFQYErphFjmArk2qKFLZOKTJaZmmONuYaDOJopGaJjoaFFaSqGeXVAUAEFUQQu8P33pj1Xzu9s7/vi5zwPIpFIJBKJRCKRSCQSiUQikUBNSD5X/v4nB4790NrZc2dodLCvu6PlRO32NS8/k23jiWZNXri+LjXCMXR/9cH8adOSNp442S9Wt4xS7NKu8nwLT4rs14/coXsj370z1cJ4ZxXv6KR3Q8eWZWP8skoODNK3/63Nw7g0fe8QA9K1KRfjzITV1xmoC6/HMH48dXCUgRs5VITxYf4FhiT1kgXTWUs6GKLed2Mw2tJuhiz9YQaMNa+dCgystWGkZ1qoyJ1/WDBOop4KXZsDs1ir01Tr64kwyLRWKjey0YIh7Cpq0VYAIxR1UZcPLWhnbaFGl/Kh2aSL1Gp0GbQqH6Zuh2xoY31GA7ROgiYTL9IIQwugxbN3aYr3oMEyGmQPlNtFo5ywoZR9goZJxaFQ7DyN0zYBymS100A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eokBurTPRtDsav6qNQb1ltKtjmkIVuE1/q7Fhnon6doOG8GxqviX0xaUi/fRtc4SBGVBJ+91HOrNogffTkYQnjrHB3wB9XbQiz2Z8CvrEB9WA+WsZnoxuisTfuR/zkf6GMolbtGbugJ4VfQNH2c1lCscpUfNS2y4F//7RY7hDSi3nJ4N7ZlhwQ1r7jE6WATldtGHu3tLYpDJfKV+kI5Gn4Nyx+lP8/qZcYwtc/bWDsqkp0M1+wJ96z6ybl5eDA+xEgUL/tU0SBcG8qFa/CqDMdLeVF+9cc2qircq3/9o++66M730oC8bqmXeoEm6E1At5zZN0h6Hasl+muQnG6rl36FJfrCgWm4fTXLCgmqTe2mSw1Au6ypNshfKxVtokq1Qzv6GJlkL9XbTIMegwQoaYye0ePYuzbASmkxM0QB3Z0Mbaz+1O5sJnV4bpl6boFnuJWrUPQPaWduozX4bJpjRTS16S2AIu5oa7M2AOaZfoWKtT8Mo1vtpKjS02oJpEoepzIEJMFHRBSpxpgCmWnCVobs4CyZ7/SZD1T4fhrPKrzI0F+dhPFj4E0NxuhjjxfRDDFp6dz7Gk8SaTgaodXkGxp3CT4cYiP5PpmB8sko+H6JPA/tmWRjHrFk7u+lZd1WxhfEv582j/XRtoOHvOXhy5CzZnaJYx/6luXjyWLmLNtRfHuFYuhu3lRfYeKIlpsxauq7q86/PXum+1Z9mur+38/LpL/dtXrmgMNtGJBKJRCKRSCQSiUQikUgkElHt/4w33E0gpy/ZAAAAAElFTkSuQmCC'); 33 | 34 | 35 | var responsive_hides = $('table#servermonitor > thead > tr > th:nth-child(2),table#servermonitor > thead > tr > th:nth-child(5),table#servermonitor > thead > tr > th:nth-child(6),table#servermonitor > tbody > tr > td:nth-child(2),table#servermonitor > tbody > tr > td:nth-child(5),table#servermonitor > tbody > tr > td:nth-child(6),table#servermonitor .owner'); 36 | 37 | if ($(".serverId:not(.hide)")[0]){ 38 | var cols = 3; 39 | var coll = 5; 40 | }else{ 41 | var cols = 2; 42 | var coll = 4; 43 | } 44 | 45 | var $window = $(window); 46 | function checkWidth() { 47 | var windowsize = $window.width(); 48 | if (windowsize < 992) { 49 | $(responsive_hides).addClass('hide'); 50 | $('.expand-child > td:nth-child(1)').each(function(){ 51 | $(this).attr('colspan', cols); 52 | }); 53 | }else{ 54 | $(responsive_hides).removeClass('hide'); 55 | $('.expand-child > td:nth-child(1)').each(function(){ 56 | $(this).attr('colspan', coll); 57 | }); 58 | } 59 | } 60 | 61 | checkWidth(); 62 | $(window).resize(checkWidth); 63 | 64 | 65 | $('.monitorButtonContainer table th').attr('colspan', 2); 66 | }); 67 | 68 | $(window).load(function(){ 69 | $('#mgamemanagerpgamemonitor .user_menu_link').each(function(){ 70 | if(window.location.href.indexOf($(this).attr('href'))>0){ 71 | $(this).attr('aria-expanded', 'true').parent('li').parent('ul').addClass('in').attr('aria-expanded', 'true').prev('a').attr('aria-expanded', 'true'); 72 | } 73 | }); 74 | 75 | $('#mgamemanagerpgamemonitor > .panel > a').each(function(){ 76 | if(window.location.href.indexOf($(this).attr('link'))>0){ 77 | $(this).attr('aria-expanded', 'true').removeAttr('class').next('ul').addClass('in').attr('aria-expanded', 'true'); 78 | } 79 | }); 80 | }); 81 | 82 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/gamemanager/log.css: -------------------------------------------------------------------------------- 1 | td { 2 | vertical-align: middle !important; 3 | } 4 | .form-group { 5 | margin-bottom: 0px !important; 6 | } 7 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/gamemanager/log.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href^="?m=gamemanager&p=game_monitor&home_id-mod_id-ip-port="]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | 4 | }); 5 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/gamemanager/rcon_presets.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href^="?m=gamemanager&p=game_monitor&home_id="]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('[name="del_rcon_preset"]').removeClass('btn-primary').addClass('btn-danger'); 4 | 5 | }); 6 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/lgsl_with_img_mod/lgsl.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href="http://www.greycube.com"], .main [href="http://cgx24.com/"]').attr('target', '_blank').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('.main br').remove(); 4 | $('.main [href="?m=lgsl_with_img_mod&p=lgsl"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 5 | 6 | $('img[src$="icon_details.gif"]').replaceWith(''); 7 | $('.main [href^="?m=lgsl_with_img_mod&p=lgsl&s="]').addClass('btn').addClass('btn-xs').addClass('btn-primary'); 8 | 9 | $('.main [title="GAME LINK"] > a').addClass('label').addClass('label-primary').addClass('label-size'); 10 | }); 11 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/lgsl_with_img_mod/lgsl_admin.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href="http://www.greycube.com/help/readme/lgsl/"]').attr('target', '_blank').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('.main [href^="?m=lgsl_with_img_mod&p=lgsl&s="]').addClass('btn').addClass('btn-xs').addClass('btn-warning'); 4 | 5 | var first_table = $('.main > form > div > table:nth-child(1)'); 6 | $(first_table).prepend('
').find('tr:first-of-type').appendTo($(first_table).find('thead')); 7 | $(first_table).find('thead td').each(function(){ 8 | $(this).html($(this).html().replace('[ ','').replace(' ]','')).replaceWith(''); 9 | }); 10 | }); 11 | 12 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/litefm/home_id.css: -------------------------------------------------------------------------------- 1 | a:before { 2 | display: none; 3 | } 4 | .form-group { 5 | width: 100%; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/litefm/litefm.css: -------------------------------------------------------------------------------- 1 | .viewitem { 2 | width: 16px; 3 | height: 16px; 4 | } 5 | .file-operations { 6 | display: inline-block; 7 | margin-bottom: 10px; 8 | } 9 | .operations-button 10 | { 11 | display: inline-block; 12 | margin-right: 5px; 13 | } 14 | .operations-button:before { 15 | font-family: FontAwesome; 16 | display: inline-block; 17 | margin-right: 2px; 18 | } 19 | .operations-button img { 20 | display: none; 21 | } 22 | .operations-button div { 23 | display: inline-block; 24 | } 25 | a[href^="?m=litefm&home_id="] { 26 | margin-right: 5px; 27 | } 28 | i.fa.fa-folder-open-o { 29 | color: #ffe699; 30 | } 31 | #remove:before { 32 | content: "\f1f8"; 33 | } 34 | #rename:before { 35 | content: "\f044"; 36 | } 37 | #move:before { 38 | content: "\f047"; 39 | } 40 | #copy:before { 41 | content: "\f24d"; 42 | } 43 | #compress:before { 44 | content: "\f1c6"; 45 | } 46 | #uncompress:before { 47 | content: "\f1c6"; 48 | } 49 | #create_file:before { 50 | content: "\f044"; 51 | } 52 | #create_folder:before { 53 | content: "\f114"; 54 | } 55 | #upload:not(form):before { 56 | content: "\f093"; 57 | } 58 | 59 | 60 | .progress { 61 | height: auto !important; 62 | } 63 | #upload [name="upload"] { 64 | padding: 5px 10px; 65 | font-size: 12px; 66 | line-height: 1.5; 67 | border-radius: 3px; 68 | border: 1px solid transparent; 69 | background-image: -webkit-linear-gradient(top, #1997c6 0, #126e90 100%); 70 | background-image: -o-linear-gradient(top, #1997c6 0, #126e90 100%); 71 | background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1997c6), to(#126e90)); 72 | background-image: linear-gradient(to bottom, #1997c6 0, #126e90 100%); 73 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1997c6', endColorstr='#ff126e90', GradientType=0); 74 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 75 | background-repeat: repeat-x; 76 | border-color: #116787; 77 | margin-top: 10px; 78 | } 79 | .ui-dialog-titlebar-close { 80 | border-radius: 3px; 81 | border: none; 82 | } 83 | 84 | [id^="fileid"] { 85 | position: relative; 86 | } 87 | [id^="progress"] { 88 | height: 5px !important; 89 | border: none !important; 90 | border-radius: 2px; 91 | width: 96% !important; 92 | } 93 | [id^="progress"] > div { 94 | background: #1997c6 !important; 95 | height: 5px !important; 96 | border-radius: 2px !important; 97 | -webkit-transition: width 0.2s ease-in-out; 98 | -moz-transition: width 0.2s ease-in-out; 99 | -o-transition: width 0.2s ease-in-out; 100 | transition: width 0.2s ease-in-out; 101 | } 102 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/litefm/litefm.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.operations-button').addClass('btn').addClass('btn-xs').addClass('btn-primary'); 3 | $('.main [href^="?m=gamemanager&p=game_monitor&home_id="]').addClass('btn').addClass('btn-primary').addClass('btn-sm'); 4 | 5 | $('img[src="images/folder.png"]').replaceWith(''); 6 | $('img[src="images/txt.png"]').replaceWith(''); 7 | $('img[src="images/exec.png"]').replaceWith(''); 8 | 9 | $('.unlocked').children('span').addClass('btn').addClass('btn-xs').addClass('btn-danger').css('min-width','80px'); 10 | $('.locked').children('span').addClass('btn').addClass('btn-xs').addClass('btn-success').css('min-width','80px'); 11 | 12 | $('[href*="&item="], [href^="javascript:downloadFile"]').addClass('label').addClass('label-default'); 13 | $('[href$="&p=read_file"]').removeClass('label').removeClass('label-default').addClass('btn').addClass('btn-primary').addClass('btn-xs'); 14 | 15 | /* *** Long Name Fix *** */ 16 | $('td > h3').each(function(){ 17 | $(this).parent('td').attr('style', 'max-width:400px'); 18 | $(this).attr('title', $(this).text()).attr('style', 'overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap;max-width:100%;'); 19 | }); 20 | }); 21 | 22 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/mysql/edit.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href="?m=mysql&p=mysql_admin"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | 4 | }); 5 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/mysql/mysql_admin.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('#servermonitor [href$="&delete"], #servermonitor [href$="&remove_db').addClass('btn').addClass('btn-xs').addClass('btn-danger'); 3 | $('#servermonitor [href$="&edit"], #servermonitor [href$="&assign"], #servermonitor [href$="&edit_db_settings"]').addClass('btn').addClass('btn-xs').addClass('btn-primary'); 4 | 5 | $('#servermonitor .success').addClass('label').addClass('label-success').removeClass('success'); 6 | $('#servermonitor .failure').addClass('label').addClass('label-danger').removeClass('failure'); 7 | 8 | }); 9 | 10 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/news/admin_news.css: -------------------------------------------------------------------------------- 1 | .pull-right { 2 | float: right!important 3 | } 4 | .pull-left { 5 | float: left!important 6 | } 7 | .no-float { 8 | float: none!important 9 | } 10 | .adm_btn { 11 | display: inline-block; 12 | width: 220px; 13 | height: 60px; 14 | line-height: 60px; 15 | text-decoration: none !important; 16 | background: #fff; 17 | border-radius: 4px; 18 | margin: 5px; 19 | border-bottom: 6px solid; 20 | font-family: arial; 21 | } 22 | .adm_btn > img { 23 | display: inline-block; 24 | float: left; 25 | height: 24px; 26 | margin: 17px 15px 0px 10px; 27 | } 28 | .adm_btn.add { 29 | border-color: #27c24c; 30 | } 31 | .adm_btn.add:hover { 32 | background-color: #27c24c; 33 | color: #000 !important; 34 | } 35 | .adm_btn.opt { 36 | border-color: #ff902b; 37 | } 38 | .adm_btn.opt:hover { 39 | background-color: #ff902b; 40 | color: #000 !important; 41 | } 42 | .adm_btn.perm { 43 | border-color: #f05050; 44 | } 45 | .adm_btn.perm:hover { 46 | background-color: #f05050; 47 | color: #000 !important; 48 | } 49 | .news-btn { 50 | display: inline-block; 51 | margin-bottom: 0; 52 | font-weight: bold; 53 | text-align: center; 54 | vertical-align: middle; 55 | touch-action: manipulation; 56 | cursor: pointer; 57 | background-image: none; 58 | border: 1px solid transparent; 59 | white-space: nowrap; 60 | padding: 6px 16px; 61 | font-size: 14px; 62 | line-height: 1.52857143; 63 | border-radius: 4px; 64 | -webkit-user-select: none; 65 | -moz-user-select: none; 66 | -ms-user-select: none; 67 | user-select: none 68 | } 69 | .news-btn.active.focus, 70 | .news-btn.active:focus, 71 | .news-btn.focus, 72 | .news-btn:active.focus, 73 | .news-btn:active:focus, 74 | .news-btn:focus { 75 | outline: dotted thin; 76 | outline: -webkit-focus-ring-color auto 5px; 77 | outline-offset: -2px 78 | } 79 | .news-btn.focus, 80 | .news-btn:focus, 81 | .news-btn:hover { 82 | text-decoration: none 83 | } 84 | .news-btn.active, 85 | .news-btn:active { 86 | outline: 0; 87 | background-image: none; 88 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 89 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) 90 | } 91 | .news-btn-default { 92 | background-color: #fff; 93 | border-color: #ccc 94 | } 95 | .news-btn-default.active, 96 | .news-btn-default.active.focus, 97 | .news-btn-default.active:focus, 98 | .news-btn-default.active:hover, 99 | .news-btn-default.focus, 100 | .news-btn-default:active, 101 | .news-btn-default:active.focus, 102 | .news-btn-default:active:focus, 103 | .news-btn-default:active:hover, 104 | .news-btn-default:focus, 105 | .news-btn-default:hover, 106 | .open>.dropdown-toggle.news-btn-default, 107 | .open>.dropdown-toggle.news-btn-default.focus, 108 | .open>.dropdown-toggle.news-btn-default:focus, 109 | .open>.dropdown-toggle.news-btn-default:hover { 110 | background-color: #f5f5f5; 111 | border-color: #eaeaea 112 | } 113 | .news-btn-block { 114 | display: block; 115 | width: 100% 116 | } 117 | .news-btn-block+.news-btn-block { 118 | margin-top: 5px 119 | } 120 | .goback { 121 | min-height: 35px; 122 | padding-top: 15px; 123 | padding-bottom: 5px; 124 | } 125 | .img-responsive, 126 | .thumbnail a>img, 127 | .thumbnail>img { 128 | display: block; 129 | max-width: 100%; 130 | height: auto; 131 | } 132 | .news-row { 133 | width: 100% 134 | } 135 | .eight-tenth { 136 | width: 83%; 137 | } 138 | .one-quarter { 139 | width: 25%; 140 | margin-left:10px; 141 | } 142 | .one-sixth { 143 | width: 16%; 144 | } 145 | .clearfix:after, 146 | .clearfix:before, 147 | .news-row:after, 148 | .news-row:before { 149 | content: " "; 150 | display: table; 151 | clear: both; 152 | } 153 | .panel-body:after, 154 | .news-row:after { 155 | clear: both 156 | } 157 | .drag_img { 158 | float:left; 159 | height:140px; 160 | margin:10px; 161 | background:rgba(26, 28, 34, 0.2); 162 | border:1px solid #22252f; 163 | border-radius:4px; 164 | padding: 5px; 165 | } 166 | .drag_img > br { 167 | display: none; 168 | } 169 | .drag_img > .btn { 170 | position: absolute; 171 | right: 10px; 172 | top: 10px; 173 | } 174 | .no-margin { 175 | margin:0; 176 | } 177 | .fixed-height{ 178 | min-height: 85px; 179 | } 180 | .db-wrap { 181 | background:#ffffff; 182 | border-radius: 4px; 183 | border:1px solid #e4eaec; 184 | min-height:35px; 185 | padding: 15px; 186 | padding-top:18px; 187 | margin-bottom:15px; 188 | position:relative; 189 | } 190 | table { 191 | border-collapse: collapse; 192 | border-spacing: 0; 193 | } 194 | .table-wrap { 195 | background:#fefefe; 196 | position:relative; 197 | padding-top:5px; 198 | padding-left:15px; 199 | padding-right:15px; 200 | border-color:#e5e5e5 #eee #eee; 201 | border-style:solid; 202 | border-width:1px 0; 203 | -webkit-box-shadow:inset 0 3px 6px rgba(0,0,0,.05); 204 | box-shadow:inset 0 3px 6px rgba(0,0,0,.05); 205 | border-radius:5px; 206 | } 207 | .table-wrap:after { 208 | position:absolute; 209 | top:15px;left:15px; 210 | font-size:12px; 211 | font-weight:700; 212 | color:#959595; 213 | text-transform:uppercase; 214 | letter-spacing:1px; 215 | } 216 | .table-responsive { 217 | overflow-x: auto; 218 | min-height: .01% 219 | } 220 | .table-hover>tbody>tr:hover, 221 | .table-striped>tbody>tr:nth-of-type(odd) { 222 | background-color: #fafbfc 223 | } 224 | table { 225 | background-color: transparent 226 | } 227 | caption { 228 | padding-top: 8px; 229 | padding-bottom: 8px; 230 | color: #909fa7; 231 | text-align: left 232 | } 233 | th { 234 | text-align: left 235 | } 236 | .table { 237 | width: 100%; 238 | max-width: 100%; 239 | margin-bottom: 21px 240 | } 241 | .table>tbody>tr>td, 242 | .table>tbody>tr>th, 243 | .table>tfoot>tr>td, 244 | .table>tfoot>tr>th, 245 | .table>thead>tr>td, 246 | .table>thead>tr>th { 247 | padding: 8px; 248 | line-height: 1.52857143; 249 | vertical-align: middle !important; 250 | border-top: 1px solid #eee 251 | text-align: center; 252 | } 253 | .table>thead>tr>th { 254 | vertical-align: bottom; 255 | border-bottom: 2px solid #eee 256 | } 257 | .table>caption+thead>tr:first-child>td, 258 | .table>caption+thead>tr:first-child>th, 259 | .table>colgroup+thead>tr:first-child>td, 260 | .table>colgroup+thead>tr:first-child>th, 261 | .table>thead:first-child>tr:first-child>td, 262 | .table>thead:first-child>tr:first-child>th { 263 | border-top: 0 264 | } 265 | .table>tbody+tbody { 266 | border-top: 2px solid #eee 267 | } 268 | .table .table { 269 | background-color: #f5f7fa 270 | } 271 | .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th { 272 | padding: 8px; 273 | line-height: 1.52857143; 274 | vertical-align: top; 275 | border-top: 1px solid #eee; 276 | text-align: center; /* center horizontally */ 277 | vertical-align: middle; /* center vertically */ 278 | } 279 | .table>tbody>tr.active>td, 280 | .table>tbody>tr.active>th, 281 | .table>tbody>tr>td.active, 282 | .table>tbody>tr>th.active, 283 | .table>tfoot>tr.active>td, 284 | .table>tfoot>tr.active>th, 285 | .table>tfoot>tr>td.active, 286 | .table>tfoot>tr>th.active, 287 | .table>thead>tr.active>td, 288 | .table>thead>tr.active>th, 289 | .table>thead>tr>td.active, 290 | .table>thead>tr>th.active { 291 | background-color: #fafbfc 292 | } 293 | td, th { 294 | padding: 0; 295 | } 296 | img { 297 | vertical-align: middle; 298 | } 299 | .ajax-upload-dragdrop { 300 | border: 2px dotted #A5A5C7; 301 | width: 75%; 302 | text-align: left; 303 | vertical-align: middle; 304 | padding: 10px 10px 10px 10px; 305 | } 306 | .ajax-file-upload-statusbar { 307 | 308 | margin-top: 10px; 309 | width: 420px; 310 | margin-right: 10px; 311 | margin: 5px; 312 | -moz-border-radius: 4px; 313 | -webkit-border-radius: 4px; 314 | border-radius: 4px; 315 | padding: 5px 5px 5px 5px 316 | } 317 | .ajax-file-upload-filename { 318 | width: 100%; 319 | height: auto; 320 | margin: 0 5px 5px 10px; 321 | color: #807579 322 | } 323 | .ajax-file-upload-progress { 324 | margin: 0 10px 5px 10px; 325 | position: relative; 326 | width: 250px; 327 | border: 1px solid #ddd; 328 | padding: 1px; 329 | border-radius: 3px; 330 | display: inline-block 331 | } 332 | .ajax-file-upload-bar { 333 | background-color: #2e80c2; 334 | width: 0; 335 | height: 20px; 336 | border-radius: 3px; 337 | color:#FFFFFF; 338 | } 339 | .ajax-file-upload-percent { 340 | position: absolute; 341 | display: inline-block; 342 | top: 3px; 343 | left: 48% 344 | } 345 | .ajax-file-upload 346 | { 347 | background:#0171b1; 348 | border: none; 349 | -moz-border-radius: 5px; 350 | -webkit-border-radius: 5px; 351 | -khtml-border-radius: 5px; 352 | border-radius: 5px; 353 | color: #ffffff; 354 | display: inline-block; 355 | padding: 7px 25px; 356 | } 357 | .ajax-file-upload:hover { 358 | background: #0D6292; 359 | cursor: pointer; 360 | } 361 | .img-wrap { 362 | padding: 10px; 363 | border: 1px solid #cccccc; 364 | background: #ffffff; 365 | margin-bottom: 20px; 366 | margin-right: 20px; 367 | -moz-border-radius: 3px; 368 | -webkit-border-radius: 3px; 369 | -khtml-border-radius: 3px; 370 | border-radius: 3px; 371 | float: left; 372 | } 373 | .admin-preview-thumbnail { 374 | float: left; 375 | width: 50px; 376 | margin-right: 10px; 377 | margin-bottom: 10px; 378 | } 379 | #largeImage 380 | { 381 | position: absolute; 382 | padding: 8px; 383 | background-color: #e3e3e3; 384 | border: 1px solid #bfbfbf; 385 | } 386 | .img-responsive, 387 | .thumbnail a>img, 388 | .thumbnail>img { 389 | display: block; 390 | max-width: 100%; 391 | height: auto 392 | } 393 | .news-form-control { 394 | display: block; 395 | width: 96%; 396 | height: 30px; 397 | padding: 5px 0px 5px 10px; 398 | font-size: 14px; 399 | line-height: 1.52857143; 400 | color: #3a3f51; 401 | background-color: #fff; 402 | background-image: none; 403 | border: 1px solid #dde6e9; 404 | border-radius: 4px; 405 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 406 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 407 | -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 408 | -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 409 | transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 410 | } 411 | .news-form-control-mce { 412 | min-height: 350px; 413 | height: auto; 414 | overflow: auto; 415 | } 416 | .form-field { 417 | border:1px solid #aaaaaa; 418 | -moz-border-radius: 2px; 419 | -webkit-border-radius: 2px; 420 | -khtml-border-radius: 2px; 421 | border-radius: 2px; 422 | height:28px; 423 | min-width:200px; 424 | font-size:14px; 425 | } 426 | fieldset { 427 | padding: 0; 428 | margin: 0; 429 | border: 0; 430 | min-width: 0; 431 | } 432 | ol, ul { 433 | margin-top: 0; 434 | margin-bottom: 10.5px; 435 | padding: 0; 436 | } 437 | label { 438 | display: inline-block; 439 | max-width: 100%; 440 | font-weight: 700; 441 | } 442 | form#main fieldset { 443 | border: none; 444 | margin-bottom: 25px; 445 | } 446 | form#main fieldset:last-of-type { 447 | margin-bottom: 0; 448 | } 449 | form#main legend { 450 | font-size: 16px; 451 | font-weight: bold; 452 | padding-bottom: 10px; 453 | } 454 | form#main fieldset { 455 | border: none; 456 | margin-bottom: 25px; 457 | } 458 | form#main fieldset:last-of-type { 459 | margin-bottom: 0; 460 | } 461 | form#main legend { 462 | font-size: 16px; 463 | font-weight: bold; 464 | padding-bottom: 10px; 465 | } 466 | form#main ol li { 467 | list-style: none; 468 | } 469 | 470 | @media (min-width: 768px) { 471 | form#main { 472 | -moz-border-radius: 5px; 473 | -webkit-border-radius: 5px; 474 | } 475 | form#main ol li 476 | { 477 | background: #f4f4f4; 478 | border-color: #cccccc; 479 | border-style: solid; 480 | border-width: 1px; 481 | line-height: 30px; 482 | list-style: none; 483 | padding: 5px 10px; 484 | margin-bottom: 5px; 485 | -moz-border-radius: 5px; 486 | -webkit-border-radius: 5px; 487 | border-radius: 5px; 488 | } 489 | form#main ol ol li 490 | { 491 | background: none; 492 | border: none; 493 | float: left; 494 | } 495 | form#main label { 496 | float: left; 497 | width: 30%; 498 | } 499 | form#main input:not([type=radio]):not([type=checkbox]), 500 | form#main select, 501 | form#main textarea { 502 | width: 65%; 503 | } 504 | 505 | form#main input[type=radio] 506 | { 507 | float: left; 508 | margin-right: 5px; 509 | } 510 | } 511 | 512 | 513 | h3 { 514 | border-bottom: none !important; 515 | text-transform: none !important; 516 | } 517 | .nicEdit-panelContain, 518 | .nicEdit-pane 519 | { 520 | color: #000; 521 | } 522 | .autoheight { 523 | height: auto !important; 524 | } 525 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/news/admin_news.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.table-wrap').removeClass('table-wrap'); 3 | $('.news-btn, [href="?m=news&p=admin_news&page=permissions"], .underline-link').addClass('btn').addClass('btn-primary').addClass('btn-sm'); 4 | $('#description').addClass('form-control'); 5 | 6 | $(window).load(function () { 7 | $('.nicEdit-main').css('outline', 'none').parent('div').addClass('form-control').addClass('autoheight').css('padding', '2px'); 8 | }); 9 | 10 | create_button('.news-row [href$="&page=permissions"]', 'btn-danger'); 11 | create_button('.news-row [href$="&page=settings"]', 'btn-warning'); 12 | create_button('.news-row [href$="&page=add"]', 'btn-success'); 13 | 14 | /* *** Replace UL / LI with Table *** */ 15 | var ul = $(".main ol"); 16 | $(ul).each(function(){ 17 | var li = $(this).find("li"); 18 | var tul = $(this); 19 | $(li).each(function(){ 20 | $(this).replaceWith(''); 21 | }); 22 | $(tul).replaceWith('
'+$(this).parent('td').html()+'
'+$(this).html()+'
'+$(this).html()+'
'+$(tul).html()+'
'); 23 | }); 24 | 25 | $('[href^="home.php?m=news&p=admin_news&page=edit&id="]').each(function(){ 26 | $(this).replaceWith(''); 27 | }); 28 | 29 | $('img[src="modules/news/images/cancel.gif"]').parent('a').each(function(){ 30 | $(this).replaceWith(''+$(this).find('img').attr('alt')+''); 31 | }); 32 | 33 | $('.success').removeClass('success').addClass('label').addClass('label-success'); 34 | $('.failure').removeClass('failure').addClass('label').addClass('label-danger'); 35 | 36 | $('.nicEdit-main').addClass('form-control'); 37 | 38 | $('.main [href^="home.php?m=news&p=admin_news&page=edit&id="]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 39 | }); 40 | 41 | 42 | function create_button(elem, clss){ 43 | $(elem).each(function(){ 44 | $(this).replaceWith(''+$(this).text()+''); 45 | }); 46 | 47 | } 48 | 49 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/news/news.css: -------------------------------------------------------------------------------- 1 | .panel { 2 | margin-bottom: 21px; 3 | background-color: #fff; 4 | border: 1px solid transparent; 5 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); 6 | box-shadow: 0 1px 1px rgba(0, 0, 0, .05) 7 | } 8 | .panel-body { 9 | padding: 15px 10 | } 11 | .panel-heading { 12 | padding: 10px 15px; 13 | border-bottom: 1px solid transparent; 14 | } 15 | .panel-title { 16 | color: #fff !important; 17 | border-bottom: none; 18 | padding-bottom: 0px; 19 | } 20 | .panel-default { 21 | border-color: #cccccc 22 | } 23 | .panel-default>.panel-heading { 24 | color: #444; 25 | background-color: #fff; 26 | border-color: #cfdbe2 27 | } 28 | .pull-right { 29 | float: right!important 30 | } 31 | .pull-left { 32 | float: left!important 33 | } 34 | .searchmod { 35 | padding: 5px; 36 | border: 1px solid #ccc; 37 | -webkit-border-radius: 5px; 38 | border-radius: 5px; 39 | } 40 | .news-btn { 41 | display: inline-block; 42 | margin-bottom: 0; 43 | font-weight: bold; 44 | text-align: center; 45 | vertical-align: middle; 46 | touch-action: manipulation; 47 | cursor: pointer; 48 | background-image: none; 49 | border: 1px solid transparent; 50 | white-space: nowrap; 51 | padding: 6px 16px; 52 | font-size: 14px; 53 | line-height: 1.52857143; 54 | border-radius: 4px; 55 | -webkit-user-select: none; 56 | -moz-user-select: none; 57 | -ms-user-select: none; 58 | user-select: none 59 | } 60 | .news-btn.active.focus, 61 | .news-btn.active:focus, 62 | .news-btn.focus, 63 | .news-btn:active.focus, 64 | .news-btn:active:focus, 65 | .news-btn:focus { 66 | outline: dotted thin; 67 | outline: -webkit-focus-ring-color auto 5px; 68 | outline-offset: -2px 69 | } 70 | .news-btn.focus, 71 | .news-btn:focus, 72 | .news-btn:hover { 73 | text-decoration: none 74 | } 75 | .news-btn.active, 76 | .news-btn:active { 77 | outline: 0; 78 | background-image: none; 79 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 80 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) 81 | } 82 | .news-btn-default { 83 | background-color: #fff; 84 | border-color: #ccc 85 | } 86 | .news-btn-default.active, 87 | .news-btn-default.active.focus, 88 | .news-btn-default.active:focus, 89 | .news-btn-default.active:hover, 90 | .news-btn-default.focus, 91 | .news-btn-default:active, 92 | .news-btn-default:active.focus, 93 | .news-btn-default:active:focus, 94 | .news-btn-default:active:hover, 95 | .news-btn-default:focus, 96 | .news-btn-default:hover, 97 | .open>.dropdown-toggle.news-btn-default, 98 | .open>.dropdown-toggle.news-btn-default.focus, 99 | .open>.dropdown-toggle.news-btn-default:focus, 100 | .open>.dropdown-toggle.news-btn-default:hover { 101 | background-color: #f5f5f5; 102 | border-color: #eaeaea 103 | } 104 | .news-btn-block { 105 | display: block; 106 | width: 100% 107 | } 108 | .news-btn-block+.news-btn-block { 109 | margin-top: 5px 110 | } 111 | .img-bottom { 112 | text-align: center; /* center horizontally */ 113 | vertical-align: middle; /* center vertically */ 114 | } 115 | .final-image { 116 | padding-top: 10px; 117 | max-width:100%; 118 | -moz-border-radius: 3px; 119 | -webkit-border-radius: 3px; 120 | border-radius: 3px; 121 | } 122 | .img-responsive, 123 | .thumbnail a>img, 124 | .thumbnail>img { 125 | display: block; 126 | max-width: 100%; 127 | height: auto; 128 | } 129 | .thumbnail-detail { 130 | padding: 5px; 131 | } 132 | .news-row { 133 | width: 100%; 134 | } 135 | .news-auto { 136 | width: auto; 137 | overflow:hidden; 138 | padding: 5px 0px; 139 | } 140 | .news-half { 141 | width: 50%; 142 | } 143 | .news-one-third { 144 | width: 33%; 145 | margin: 0px 0px 15px 15px; 146 | } 147 | .news-img { 148 | max-width: 250px; 149 | padding: 5px 20px 20px 5px; 150 | } 151 | .clearfix:after, 152 | .clearfix:before, 153 | .news-row:after, 154 | .news-row:before { 155 | content: " "; 156 | display: table; 157 | clear: both; 158 | } 159 | .panel-body:after, 160 | .news-row:after { 161 | clear: both; 162 | } 163 | 164 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/news/news.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.news-btn').addClass('btn').addClass('btn-primary').addClass('btn-sm'); 3 | 4 | $('.pagination b').parent('a').parent('li').addClass('active'); 5 | 6 | $('h3 > .failure').parent('h3').each(function(){ 7 | var thtml = $(this).html(); 8 | $(thtml).appendTo('.main'); 9 | $(this).remove(); 10 | }); 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/rcon/rcon.css: -------------------------------------------------------------------------------- 1 | .main > form > table:first-of-type { 2 | margin-bottom: 0px; 3 | margin-top: 5px; 4 | } 5 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/register/form.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | $(window).load(function () { 4 | if ($('.g-recaptcha').length > 0) { 5 | var recaptcha_pubkey = $('.g-recaptcha').attr('data-sitekey'); 6 | var recaptcha = "
"; 7 | }else{ 8 | var recaptcha = ""; 9 | } 10 | var title = $('.main h2').text(); 11 | var user = $('[name="loginForm"] label[for="login_name"]').text().replace(':', ''); 12 | var pass = $('[name="loginForm"] label[for="users_passwd"]').text().replace(':', ''); 13 | var vpass = $('[name="loginForm"] label[for="users_cpasswd"]').text().replace(':', ''); 14 | var fname = $('[name="loginForm"] label[for="users_fname"]').text().replace(':', ''); 15 | var lname = $('[name="loginForm"] label[for="users_lname"]').text().replace(':', ''); 16 | var email = $('[name="loginForm"] label[for="users_email"]').text().replace(':', ''); 17 | 18 | var sbtn = $('input[type="submit"]').val(); 19 | var rval = $('input[name="users_comment"]').val(); 20 | var errout = ""; 21 | 22 | if($('.main > table').length > 0) 23 | { 24 | var errt = []; 25 | $(".main > table tr").each(function () 26 | { 27 | var tdtxt = $(this).find('td').text(); 28 | if(!tdtxt.includes('
  • ")+'
  • '; 38 | } 39 | 40 | var new_form = '\ 41 | '; 56 | 57 | $('.main').empty().html(new_form); 58 | }); 59 | 60 | }); 61 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/server/arrange_ports.css: -------------------------------------------------------------------------------- 1 | [name="home_cfg_id"] { 2 | margin-top: 20px; 3 | } 4 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/server/arrange_ports.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href^="?m=server&p=edit&rhost_id"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | 4 | 5 | $('[name="delete_range"]').removeClass('btn-primary').addClass('btn-danger'); 6 | }); 7 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/server/edit.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href="?m=server"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('.main [href$="&delete&y=y"]').addClass('btn').addClass('btn-sm').addClass('btn-danger'); 4 | 5 | $('[name="remove_ip"]').removeClass('btn-primary').addClass('btn-danger'); 6 | }); 7 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/server/firewall.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href="?m=server"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | $('input[name="reset_firewall"]').removeClass('btn-primary').addClass('btn-danger'); 4 | 5 | $('.main [href$="ch_fw_status=disable"]').addClass('btn').addClass('btn-sm').addClass('btn-danger'); 6 | $('.main [href$="ch_fw_status=enable"]').addClass('btn').addClass('btn-sm').addClass('btn-success'); 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/server/log.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('.main [href="?m=server"]').addClass('btn').addClass('btn-sm').addClass('btn-primary'); 3 | }); 4 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/server/server.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('#servermonitor [href$="&delete"]').addClass('btn').addClass('btn-xs').addClass('btn-danger'); 3 | $('#servermonitor [href$="&edit"]').addClass('btn').addClass('btn-xs').addClass('btn-primary'); 4 | $('#servermonitor [href^="?m=server&p=reboot"]').addClass('btn').addClass('btn-xs').addClass('btn-warning'); 5 | $('#servermonitor [href^="?m=server&p=restart"]').addClass('btn').addClass('btn-xs').addClass('btn-warning'); 6 | $('#servermonitor [href^="?m=server&p=log"], #servermonitor [href^="?m=server&p=firewall"]').addClass('btn').addClass('btn-xs').addClass('btn-primary'); 7 | 8 | $('#servermonitor .success').addClass('label').addClass('label-success').removeClass('success'); 9 | $('#servermonitor .failure').addClass('label').addClass('label-danger').removeClass('failure'); 10 | 11 | $('#servermonitor img[src="images/magnifglass.png"]').each(function(){ 12 | $(this).replaceWith(''); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/settings/themes.css: -------------------------------------------------------------------------------- 1 | td { 2 | vertical-align: middle !important; 3 | } 4 | -------------------------------------------------------------------------------- /themes/SimpleBootstrap/modules/settings/themes.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | $.ajaxSetup({ cache: false }); 4 | 5 | $('form[action="?m=settings&p=themes"] tr:nth-child(4),form[action="?m=settings&p=themes"] tr:nth-child(5)').addClass('hide'); 6 | $('form[action="?m=settings&p=themes"]').attr('enctype','multipart/form-data'); 7 | 8 | $.ajax({ 9 | type: "POST", 10 | url: "themes/SimpleBootstrap/conf/sbs.conf", 11 | contentType: "application/json; charset=utf-8", 12 | dataType: "json", 13 | beforeSend: function( xhr ) { 14 | xhr.overrideMimeType('application/json'); 15 | }, 16 | success: function(json) { 17 | 18 | //console.log(JSON.stringify(json)); 19 | 20 | var theme_styles = {'Light':'light', 'Dark':'dark'} 21 | var add_row = ''; 34 | for (var key in theme_background) { 35 | if(theme_background[key]==json['background']){ 36 | add_row += ''; 37 | }else{ 38 | add_row += ''; 39 | } 40 | } 41 | add_row += ''; 42 | $('form[action="?m=settings&p=themes"] tr:last').after(add_row); 43 | 44 | var paces = {'Center Bar':'center-bar', 'Corner Indicator':'corner-indicator', 'Flash':'flash', 'Loading Bar':'loading-bar'}; 45 | var add_row = '\ 68 | \ 69 | \ 70 | \ 71 |
    '; 72 | $('form[action="?m=settings&p=themes"] tr:last').after(''+upload_input+''); 73 | 74 | var dashboard_rows = {'Default':'default', 'Full size Rows':'full_rows', 'Remove First Row (moved Objects into this Row will be hidden)':'remove_one', 'Remove First & Second Row (moved Objects into this Rows will be hidden)':'remove_one_two', 'Remove First & Third Row (moved Objects into this Rows will be hidden)':'remove_one_three'} 75 | var add_row = '