Commit 3015027a authored by Naomi Guyer's avatar Naomi Guyer Committed by Aaron Wells
Browse files

Admin (bootstrap)

Bug 1465107: Use Bootstrap CSS Framework

Change-Id: Iaac575babb46a09eb246ac76b9a406124c800ab8
parent ecff21a9
......@@ -75,6 +75,8 @@ $smarty->assign('opened', param_alphanumext('open', ''));
$smarty->assign('TERTIARYMENU', $webservice_menu);
$smarty->assign('PAGEHEADING', $heading);
$smarty->assign('INLINEJAVASCRIPT', $inlinejs);
$smarty->assign('PAGEICON', 'fa fa-puzzle-piece');
$smarty->assign('pagedescription', get_string('webservicesconfigdesc', 'auth.webservice'));
$smarty->display('auth:webservice:configform.tpl');
......
......@@ -138,6 +138,7 @@ safe_require('auth', 'webservice');
PluginAuthWebservice::menu_items($smarty, 'webservice/oauthconfig');
$smarty->assign('form', $form);
$smarty->assign('PAGEHEADING', TITLE);
$smarty->assign('PAGEICON', 'fa fa-puzzle-piece');
$smarty->display('form.tpl');
function webservice_main_submit(Pieform $form, $values) {
......@@ -254,7 +255,7 @@ function webservice_server_edit_form($dbserver, $sopts, $iopts) {
);
$form = array(
'renderer' => 'table',
'renderer' => 'div',
'type' => 'div',
'id' => 'maintable',
'name' => 'tokenconfig',
......@@ -475,7 +476,7 @@ function webservice_server_list_form($sopts, $iopts) {
);
$form = array(
'renderer' => 'table',
'renderer' => 'div',
'type' => 'div',
'id' => 'maintable',
'name' => 'maincontainer',
......
......@@ -130,7 +130,7 @@ $elements = array(
);
$form = array(
'renderer' => 'table',
'renderer' => 'div',
'type' => 'div',
'id' => 'maintable',
'elements' => $elements,
......
......@@ -164,7 +164,7 @@ $elements = array(
);
$form = array(
'renderer' => 'table',
'renderer' => 'div',
'type' => 'div',
'id' => 'maintable',
'name' => 'tokenconfig',
......
......@@ -172,7 +172,7 @@ $elements = array(
);
$form = array(
'renderer' => 'table',
'renderer' => 'div',
'type' => 'div',
'id' => 'maintable',
'name' => 'tokenconfig',
......
......@@ -149,6 +149,7 @@ $smarty->assign('sortby', $searchurl['sortby']);
$smarty->assign('sortdir', $searchurl['sortdir']);
$smarty->assign('form', $form);
$smarty->assign('PAGEHEADING', TITLE);
$smarty->assign('PAGEICON', 'fa fa-puzzle-piece');
$smarty->display('auth:webservice:webservicelogs.tpl');
function logsearchform_submit(Pieform $form, $values) {
......
......@@ -429,4 +429,5 @@ safe_require('auth', 'webservice');
$smarty->assign('form', $form);
$smarty->assign('PAGEHEADING', TITLE);
$smarty->assign('PAGEICON', 'fa fa-puzzle-piece');
$smarty->display('form.tpl');
......@@ -111,7 +111,7 @@ else if ($_SERVER['PATH_INFO'] == '/authorize') {
// XXX user must be logged in
// display what is accessing and ask the user to confirm
$form = array(
'renderer' => 'table',
'renderer' => 'div',
'type' => 'div',
'id' => 'maintable',
'name' => 'authorise',
......@@ -151,7 +151,7 @@ else if ($_SERVER['PATH_INFO'] == '/oob') {
$verifier = $SESSION->get('oauh_verifier');
$SESSION->set('oauh_verifier', null);
$form = array(
'renderer' => 'table',
'renderer' => 'div',
'type' => 'div',
'id' => 'maintable',
'name' => 'authorise',
......
......@@ -177,6 +177,7 @@ safe_require('auth', 'webservice');
$smarty->assign('form', $form);
$heading = get_string('testclient', 'auth.webservice');
$smarty->assign('PAGEHEADING', $heading);
$smarty->assign('PAGEICON', 'fa fa-puzzle-piece');
// Check that webservices is enabled
$smarty->assign('disabled', (get_config('webservice_enabled') ? false : true));
$smarty->assign('disabledprotocols', (empty($elements['protocol']['options']) ? get_config('wwwroot') . 'webservice/admin/index.php?open=activate_webservices_protos' : false));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment