[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14761] styling
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [14761] styling |
Date: |
Mon, 22 Feb 2016 08:50:44 +0000 |
Revision: 14761
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14761
Author: sigurdne
Date: 2016-02-22 08:50:42 +0000 (Mon, 22 Feb 2016)
Log Message:
-----------
styling
Modified Paths:
--------------
trunk/property/inc/soap_client/bra5/soap.php
Modified: trunk/property/inc/soap_client/bra5/soap.php
===================================================================
--- trunk/property/inc/soap_client/bra5/soap.php 2016-02-21 19:53:27 UTC
(rev 14760)
+++ trunk/property/inc/soap_client/bra5/soap.php 2016-02-22 08:50:42 UTC
(rev 14761)
@@ -189,10 +189,27 @@
// _debug_array($bra5ServiceSearch->getResult());die();
$_result =
$bra5ServiceSearch->getResult()->getsearchAndGetDocumentsResult()->getExtendedDocument()->getsearchAndGetDocumentsResult()->ExtendedDocument;
}
+ $css = file_get_contents(PHPGW_SERVER_ROOT .
"/phpgwapi/templates/pure/css/pure-min.css");
+ $css .= file_get_contents(PHPGW_SERVER_ROOT .
"/phpgwapi/templates/pure/css/pure-extension.css");
- $html = <<<HTML
- <table>
+ $header = <<<HTML
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <style TYPE="text/css">
+ <!--{$css}-->
+ </style>
+ </head>
+ <body>
+ <div class="pure-form pure-form-aligned">
HTML;
+
+ $footer = <<<HTML
+ </div>
+ </body>
+</html>
+HTML;
$bra5ServiceLogout = new Bra5ServiceLogout();
$bra5ServiceLogout->Logout(new Bra5StructLogout($secKey));
@@ -216,10 +233,14 @@
'BrukerID',
'Team'
);
+ $content = <<<HTML
+ <table class="pure-table pure-table-bordered">
+ <thead>
+HTML;
- $html .='<th>';
- $html .='Last ned';
- $html . '</th>';
+ $content .='<th>';
+ $content .='Last ned';
+ $content . '</th>';
$location_id = phpgw::get_var('location_id', 'int');
$section = phpgw::get_var('section', 'string');
@@ -236,14 +257,15 @@
{
continue;
}
- $html .='<th>';
- $html .=$attribute->Name;
- $html . '</th>';
+ $content .='<th>';
+ $content .=$attribute->Name;
+ $content . '</th>';
}
+ $content .='</thead>';
foreach ($_result as $document)
{
- $attributes = $document->getAttributes()->Attribute;
+// $attributes = $document->getAttributes()->Attribute;
}
$case_array = array();
@@ -308,13 +330,13 @@
//_debug_array($case_array);
foreach ($case_array as $case)
{
- $html .= implode('', $case);
+ $content .= implode('', $case);
}
- $html .=<<<HTML
+ $content .=<<<HTML
</table>
HTML;
- echo $html;
+ echo $header . $content . $footer;
$GLOBALS['phpgw']->common->phpgw_exit();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14761] styling,
Sigurd Nes <=