mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 21:56:13 +00:00
cleaned up formatting and added custom.css
This commit is contained in:
parent
31a6e62cf5
commit
9dd168220e
11 changed files with 116 additions and 99 deletions
|
@ -44,13 +44,13 @@ class Helpers{
|
||||||
foreach ( $variables[$template] as $key => $value ){
|
foreach ( $variables[$template] as $key => $value ){
|
||||||
$smarty -> assign( $key, $value );
|
$smarty -> assign( $key, $value );
|
||||||
}
|
}
|
||||||
if($vars['permission'] == 1){
|
if( $vars['permission'] == 1 ){
|
||||||
$inherited = "layout_admin.tpl";
|
$inherited = "layout_admin.tpl";
|
||||||
}else{
|
}else{
|
||||||
$inherited = "layout_user.tpl";
|
$inherited = "layout_user.tpl";
|
||||||
}
|
}
|
||||||
//extends:' . $inherited .'|register.tpl
|
// extends:' . $inherited .'|register.tpl
|
||||||
$smarty -> display( $template.'.tpl' );
|
$smarty -> display( $template . '.tpl' );
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function create_folders(){
|
static public function create_folders(){
|
||||||
|
|
|
@ -6,6 +6,5 @@ class Sql{
|
||||||
echo "tst";
|
echo "tst";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -230,4 +230,3 @@ class Users{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
// Base include file for library functions for AMS
|
// Base include file for library functions for AMS
|
||||||
// ***********************************************
|
// ***********************************************
|
||||||
function __autoload( $className ){
|
function __autoload( $className ){
|
||||||
require_once 'autoload/' . strtolower ($className) . '.php';
|
require_once 'autoload/' . strtolower ( $className ) . '.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
17
code/ryzom/tools/server/ryzom_ams/www/html/css/custom.css
Normal file
17
code/ryzom/tools/server/ryzom_ams/www/html/css/custom.css
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
.login-header
|
||||||
|
{
|
||||||
|
height:190px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand img
|
||||||
|
{
|
||||||
|
height:100%;
|
||||||
|
margin-bottom:-18px;
|
||||||
|
margin-top:-15px;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#for-is-ajax
|
||||||
|
{
|
||||||
|
display:none;
|
||||||
|
}
|
|
@ -17,7 +17,7 @@ if ( isset( $_GET["page"] ) ){
|
||||||
$page = $_GET["page"];
|
$page = $_GET["page"];
|
||||||
}
|
}
|
||||||
|
|
||||||
//temporary set permission to 1 which = admin mode
|
// temporary set permission to 1 which = admin mode
|
||||||
$return = array('permission' => 1, 'no_visible_elements' => 'TRUE');
|
$return = array( 'permission' => 1, 'no_visible_elements' => 'TRUE' );
|
||||||
|
|
||||||
helpers :: loadTemplate( $page , $return );
|
helpers :: loadTemplate( $page , $return );
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
//themes, change CSS with JS
|
//themes, change CSS with JS
|
||||||
//default theme(CSS) is cerulean, change it if needed
|
//default theme(CSS) is cerulean, change it if needed
|
||||||
var current_theme = $.cookie('current_theme')==null ? 'spacelab' :$.cookie('current_theme');
|
var current_theme = $.cookie('current_theme')==null ? 'cerulean' :$.cookie('current_theme');
|
||||||
switch_theme(current_theme);
|
switch_theme(current_theme);
|
||||||
|
|
||||||
$('#themes a[data-value="'+current_theme+'"]').find('i').addClass('icon-ok');
|
$('#themes a[data-value="'+current_theme+'"]').find('i').addClass('icon-ok');
|
||||||
|
|
|
@ -52,6 +52,8 @@
|
||||||
<!-- The fav icon -->
|
<!-- The fav icon -->
|
||||||
<!--<link rel="shortcut icon" href="img/favicon.ico">-->
|
<!--<link rel="shortcut icon" href="img/favicon.ico">-->
|
||||||
|
|
||||||
|
<!--custom css file-->
|
||||||
|
<link href="css/custom.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue