src/ztfy/myams/__init__.py
changeset 20 7ff249908910
parent 0 8a19e25e39e4
child 67 c402a9efda6a
equal deleted inserted replaced
19:dc18d0700e39 20:7ff249908910
    34 library = Library('ztfy.myams', 'resources')
    34 library = Library('ztfy.myams', 'resources')
    35 
    35 
    36 bootstrap_css = Resource(library, 'css/ext/bootstrap-3.1.1.css',
    36 bootstrap_css = Resource(library, 'css/ext/bootstrap-3.1.1.css',
    37                          minified='css/ext/bootstrap-3.1.1.min.css')
    37                          minified='css/ext/bootstrap-3.1.1.min.css')
    38 bootstrap_modal_css = Resource(library, 'css/ext/bootstrap-modal.css',
    38 bootstrap_modal_css = Resource(library, 'css/ext/bootstrap-modal.css',
       
    39                                minified='css/ext/bootstrap-modal.min.css',
    39                                depends=[bootstrap_css, ])
    40                                depends=[bootstrap_css, ])
    40 
    41 
    41 awesomefonts_css = Resource(library, 'css/ext/font-awesome-4.0.3.css',
    42 awesomefonts_css = Resource(library, 'css/ext/font-awesome-4.0.3.css',
    42                             minified='css/ext/font-awesome-4.0.3.min.css',
    43                             minified='css/ext/font-awesome-4.0.3.min.css',
    43                             depends=[bootstrap_css, ])
    44                             depends=[bootstrap_css, ])
    44 
    45 
    45 myams_css = Resource(library, 'css/myams.css',
    46 myams_css = Resource(library, 'css/myams.css',
       
    47                      minified='css/myams.min.css',
    46                      depends=[bootstrap_modal_css, awesomefonts_css])
    48                      depends=[bootstrap_modal_css, awesomefonts_css])
    47 
    49 
    48 jquery = Resource(library, 'js/ext/jquery-2.1.0.js',
    50 jquery = Resource(library, 'js/ext/jquery-2.1.0.js',
    49                   minified='js/ext/jquery-2.1.0.min.js',
    51                   minified='js/ext/jquery-2.1.0.min.js',
    50                   bottom=True)
    52                   bottom=True)
    67                      minified='js/ext/bootstrap-3.1.1.min.js',
    69                      minified='js/ext/bootstrap-3.1.1.min.js',
    68                      depends=[jquery, jquery_ui, bootstrap_css, bootstrap_modal_css],
    70                      depends=[jquery, jquery_ui, bootstrap_css, bootstrap_modal_css],
    69                      bottom=True)
    71                      bottom=True)
    70 
    72 
    71 myams = Resource(library, 'js/myams.js',
    73 myams = Resource(library, 'js/myams.js',
    72                  depends=[bootstrap,
    74                  minified='js/myams.min.js',
    73                           myams_css],
    75                  depends=[bootstrap, myams_css],
    74                  bottom=True)
    76                  bottom=True)