MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / csssnippets

Method csssnippets

web/pgadmin/browser/collection.py:141–160  ·  view source on GitHub ↗

Returns a snippet of css to include in the page

(self)

Source from the content-addressed store, hash-verified

139
140 @property
141 def csssnippets(self):
142 """
143 Returns a snippet of css to include in the page
144 """
145 snippets = [
146 render_template(
147 self._COLLECTION_CSS,
148 node_type=self.node_type
149 ),
150 render_template(
151 self._NODE_CSS,
152 node_type=self.node_type,
153 _=gettext
154 )
155 ]
156
157 for submodule in self.submodules:
158 snippets.extend(submodule.csssnippets)
159
160 return snippets
161
162 @property
163 def collection_label(self):

Callers

nothing calls this directly

Calls 1

extendMethod · 0.80

Tested by

no test coverage detected