Skip to content

Commit

Permalink
Merge branch 'master' of github.com:vaslabs/pi-web-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
vaslabs committed Apr 3, 2016
2 parents 26db8b5 + b3d470d commit 9b54f16
Show file tree
Hide file tree
Showing 102 changed files with 1,574 additions and 7,745 deletions.
24 changes: 24 additions & 0 deletions etc/pi-web-agent/conf/apache2.4-appliance.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,30 @@ Alias /css/ "/usr/libexec/pi-web-agent/css/"
Allow from all
</Directory>

Alias /js/ "/usr/libexec/pi-web-agent/js/"
<Directory "/usr/libexec/pi-web-agent/js">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /font/ "/usr/libexec/pi-web-agent/font/"
<Directory "/usr/libexec/pi-web-agent/font">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /fonts/ "/usr/libexec/pi-web-agent/fonts/"
<Directory "/usr/libexec/pi-web-agent/fonts">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /images/ "/usr/libexec/pi-web-agent/images/"

<Directory "/usr/libexec/pi-web-agent/images/">
Expand Down
21 changes: 21 additions & 0 deletions usr/libexec/pi-web-agent/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014-2016 Materialize

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
65 changes: 65 additions & 0 deletions usr/libexec/pi-web-agent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
![alt tag](https://raw.github.com/dogfalo/materialize/master/images/materialize.gif)
===========

[![Travis CI](https://travis-ci.org/Dogfalo/materialize.svg?branch=master)](https://travis-ci.org/Dogfalo/materialize)[![Dependency Status](https://david-dm.org/Dogfalo/materialize.svg)](https://david-dm.org/Dogfalo/materialize)[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/Dogfalo/materialize?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[Materialize](http://materializecss.com/), a CSS Framework based on material design

### Current Version : v0.97.5

## Sass Requirements:
- Ruby Sass 3.3+, LibSass 0.6+

## Supported Browsers:
Chrome 35+, Firefox 31+, Safari 7+, IE 10+

## Changelog
- v0.97.5 (Dec 21, 2015)
- Fixed Meteor package crash
- v0.97.4 (Dec 20, 2015)
- Added Jasmine testing with Travis CI
- Select bugfixes
- Grid Offset bugfix
- Dropdown overflow bugfix
- Range slider error bugfix
- v0.97.3 (Nov 15, 2015)
- Meteor font issues fixed
- Select rendering issue fixed
- Added Push and Pull to grid
- Dynamic accordion appends fixed
- v0.97.2 (Nov 8, 2015)
- Image support inside select
- Optgroup supported in select
- Multiple select added
- Card styling fixes
- Breadcrumbs added
- Scrollable tabs
- Tooltips and dropdowns position themselves more intelligently inside the window
- FAB menu is click-toggleable
- Horizontal FAB support added
- v0.97.1 (Sep 13, 2015)
- Added new range slider with uses noUiSlider to provide powerful options
- Added CSS for Chips
- Toasts support adding of html elements
- Fixed select destroy/creation bug
- Bugfixes for dropdown, badges, collections, scrollfire
- Added default preloader color variable
- File input now supports multiple files and dynamically loaded elements
- v0.97.0 (June 21, 2015)
- **Documentation changed to use Official Google Icon web font**
- **Input errors added**
- Flicker on Firefox on dropdowns fixed
- Pagination made more responsive
- Modal now prevents scrolling
- Modal animation added
- Support for multiple modals added
- Programmatic control of FAB to open/close added
- Programmatic control of slider to play/pause added
- Plus many more bug fixes


## Contributing
[Please read CONTRIBUTING.md for more information](CONTRIBUTING.md)

## Testing
We use Jasmine as our testing framework and we're trying to write a robust test suite for our components. If you want to help, [here's a starting guide on how to write tests in Jasmine](https://docs.google.com/document/d/1dVM6qGt_b_y9RRhr9X7oZfFydaJIEqB9CT7yekv-4XE/edit?usp=sharing)
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
sys.path.append(os.environ['MY_HOME']+'/cgi-bin/api')
sys.path.append(os.environ['MY_HOME']+'/cgi-bin/')
sys.path.append(os.environ['MY_HOME']+'/cgi-bin/chrome')
sys.path.append(os.environ['MY_HOME']+'/etc/config')
from framework import *
from view import *
from cernvm import Response
import cgi
import cgitb
from subprocess import Popen, PIPE
Expand All @@ -33,9 +33,7 @@ def main():
elif form['action'].value == 'uninstall' :
output, errorcode = uninstallPackage(pName)

response = Response(0)

response.buildResponse(errorcode)
composeXMLDocument(response.xml)
return '{message:"ok"}'

if __name__ == '__main__':
main()

This file was deleted.

10 changes: 0 additions & 10 deletions usr/libexec/pi-web-agent/css/224039d3f18f143fb58298d60104d575.js

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions usr/libexec/pi-web-agent/css/b644ddde18b5aa6bb3a76e5c468f0b60.js

This file was deleted.

Loading

0 comments on commit 9b54f16

Please sign in to comment.