Commit c27beed1 authored by jan.koester's avatar jan.koester
Browse files

mobile search release

parent 0d1afde3
Loading
Loading
Loading
Loading
+107 −36
Original line number Diff line number Diff line
@@ -5,14 +5,85 @@
    <meta name="author" content="Jan Koester">
    <meta name="robots" content="all" />
    <meta charset="utf-8">
       <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="${prefix}/theme/public/reset.css">
    <link rel="stylesheet" href="${prefix}/theme/public/mstyle.css">
    <link rel="icon" type="image/x-icon" href="${prefix}/theme/public/favicon.ico">
    </head>
    <body>
    <div id="header">
        <img id="menunav" alt="nav" src="${prefix}/theme/public/start.webp" srcset="${prefix}/theme/public/start_small.webp 8 w,start 48 w" size="50vw" />
    <div id="menunav">
    <ul>
        <li>
        <svg
        width="48"
        height="48"
        viewBox="0 0 12.7 12.7"
        version="1.1"
        id="svg5"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        xmlns="http://www.w3.org/2000/svg"
        xmlns:svg="http://www.w3.org/2000/svg">
        <defs id="defs2">
            <linearGradient id="linearGradient799">
                <stop
                style="stop-color:#b2b2b2;stop-opacity:1;"
                offset="0"
                id="stop797"
                />
            </linearGradient>
    <linearGradient
    xlink:href="#linearGradient799"
    id="linearGradient801"
    x1="14.186104"
    y1="121.67753"
    x2="195.50539"
    y2="121.67753"
    gradientUnits="userSpaceOnUse"
    gradientTransform="matrix(1.0330639,0,0,0.99987297,-3.4472755,0.01545695)" />
</defs>
<g
    id="layer1"
    transform="matrix(0.06380028,0,0,0.07361519,-0.35623634,-2.58322)">
    <rect
    style="fill:none;fill-opacity:1;stroke:url(#linearGradient801);stroke-width:3.5;stroke-linejoin:round;stroke-dasharray:none"
    id="rect111"
    width="187.31439"
    height="162.62489"
    x="11.207876"
    y="40.365086" />
    <rect
    style="fill:#b2b2b2;fill-opacity:1;stroke:#b1b1b1;stroke-width:3.5;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
    id="rect962"
    width="161.06856"
    height="3.4071507"
    x="22.840359"
    y="72.404007" />
            <rect
            style="fill:#b2b2b2;fill-opacity:1;stroke:#b1b1b1;stroke-width:3.5;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
            id="rect962-3"
            width="161.06856"
            height="3.4071507"
            x="23.476486"
            y="117.72447" />
            <rect
            style="fill:#b2b2b2;fill-opacity:1;stroke:#b1b1b1;stroke-width:3.5;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
            id="rect962-6"
            width="161.06856"
            height="3.4071507"
            x="23.403488"
            y="160.75395" />
        </g>
        </svg>
            </li>
            <li>

            </li>
        </ul>
        </div>
        <!-- Navbar-->
        <div id="headnav" >
        </div>
    </div>
    <div id="main">
        <!-- content -->
@@ -22,8 +93,8 @@
    <div id="footer">
        <span id="copyrigt" > (c) Jan Koester 2021 </span>
        <br/>
         <span id="footernav">
         </span>
        <div id="footernav">
        </div>
    </div>
    <script>
        document.addEventListener('DOMContentLoaded',function() {
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ void blogi::Blogi::searchPage(libhttppp::HttpRequest* curreq, const int tid, con

    libhtmlpp::HtmlString search,out;

    search << "<ul>";
    search << "<ul id=\"searchresult\" >";

    for(SearchRet::Data *cdat=sdat.getfirstData(); cdat; cdat=cdat->nextData()){
        search << "<li>"