File size: 859 Bytes
c1a5b70
0ec8914
 
 
c1a5b70
0ec8914
c1a5b70
 
 
0ec8914
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! A module that handles the engines tab for setting page view in the `websurfx` frontend.

use maud::{html, Markup};

/// A functions that handles the html code for the cookies tab for the settings page for the search page.
///
/// # Returns
///
/// It returns the compiled html markup code for the cookies tab.
pub fn cookies() -> Markup {
    html!(
        div class="cookies tab"{
           h1{"Cookies"}
           p class="description"{
               "This is the cookies are saved on your system and it contains the preferences
               you chose in the settings page"
           }
           input type="text" name="cookie_field" value="" readonly;
           p class="description"{
               "The cookies stored are not used by us for any malicious intend or for
               tracking you in any way."
           }
        }
    )
}