view_standard_page

NAML documentation   Watch a video
   Usages of this macro
... in view_standard_page.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<override_macro name="view_standard_page">
    <n.set_app_rows_per_page
Macro
Parameters: rows_per_page
 rows_per_page="[n.forum_topics_per_page
Macro
/]"/>
    <n.app_html
Macro
Requires: servlet
Parameters: head, body
>
        <head>
            <n.app_title
Macro
 />
            <n.standard_table_stylesheet
Macro
/>
        </head>
        <body>
            
            <n.topics_action_link
Macro
Requires: node_page, servlet
Parameters: only_if_has_subapps
 only_if_has_subapps="true"/>
            <n.people_action_link
Macro
Requires: node_page
/>
            <n.options_action_menu
Macro
Requires: node_page
/>
 
            <n.app_child_pagination
Macro
Requires: node_page, servlet
Parameters: margin
 margin=".8em .3em .5em 0"/>
            <n.standard_table
Macro
Parameters: columns
.standard_table_columns
Macro
Requires: app_namespace
 />
            <n.app_child_pagination
Macro
Requires: node_page, servlet
Parameters: margin
 margin=".8em .3em .5em 0"/>
            <n.forum_footer
Macro
/>
        </body>
    </n.app_html>
</override_macro>
Overrides default macro
... in ads_manual_1.naml
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<override_macro name="view_standard_page">
    <n.set_app_rows_per_page rows_per_page="[n.forum_topics_per_page/]"/>
    <n.app_html>
        <head>
            <n.app_title />
            <n.standard_table_stylesheet/>
                        <n.auto_ads/>
        </head>
        <body>
            <div class="ad-responsive-top" style="margin-top:10px;margin-bottom:10px;text-align:center">
                <n.ad_responsive_top/>
            </div>
            <n.new_topic_action_link/>
            <n.topics_action_link only_if_has_subapps="true"/>
            <n.people_action_link/>
            <n.options_action_menu/>
 
            <n.app_child_pagination margin=".8em .3em .5em 0"/>
            <n.standard_table.standard_table_columns />
            <n.app_child_pagination margin=".8em .3em .5em 0"/>
            <n.forum_footer/>
                        <script>
                            var nbl_showAds = !(window.nbl_canHideAds && window.localStorage && localStorage.nbl_noAds);
                            if(nbl_showAds) {
                                (adsbygoogle = window.adsbygoogle || []).push({});
                            }
                        </script>
        </body>
    </n.app_html>
</override_macro>
Overrides default macro
... in view_standard.naml
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<macro name="view_standard_page">
    <n.set_app_rows_per_page rows_per_page="[n.forum_topics_per_page/]"/>
    <n.app_html>
        <head>
            <n.app_title />
            <n.standard_table_stylesheet/>
        </head>
        <body>
            <n.new_topic_action_link/>
            <n.topics_action_link only_if_has_subapps="true"/>
            <n.people_action_link/>
            <n.options_action_menu/>
 
            <n.app_child_pagination margin=".8em .3em .5em 0"/>
            <n.standard_table.standard_table_columns />
            <n.app_child_pagination margin=".8em .3em .5em 0"/>
            <n.forum_footer/>
        </body>
    </n.app_html>
</macro>