| @@ -72,41 +72,42 @@ var menu = []byte(` | |||
| "name":"即将举办的活动", | |||
| "key":"EVENTS_UPCOMING" | |||
| }] | |||
| }, | |||
| { | |||
| "name":"职业发展", | |||
| "sub_button":[ | |||
| { | |||
| "type":"click", | |||
| "name":"澳洲工作机会", | |||
| "key": "CAREERDEV_JOBS" | |||
| }, | |||
| { | |||
| "type":"click", | |||
| "name":"融入澳洲社区", | |||
| "key": "CAREERDEV_INDUSTRY" | |||
| }, | |||
| { | |||
| "type":"click", | |||
| "name":"OutReach Program", | |||
| "key": "CAREERDEV_OUTREACH" | |||
| }, | |||
| { | |||
| "type":"click", | |||
| "name":"母校/国内纽带", | |||
| "key": "CAREERDEV_HIT" | |||
| }, | |||
| { | |||
| "type":"click", | |||
| "name":"校友互助信息", | |||
| "key":"CAREERDEV_HELP" | |||
| }] | |||
| } | |||
| } | |||
| ] | |||
| } | |||
| `) | |||
| // , | |||
| // { | |||
| // "name":"职业发展", | |||
| // "sub_button":[ | |||
| // { | |||
| // "type":"click", | |||
| // "name":"澳洲工作机会", | |||
| // "key": "CAREERDEV_JOBS" | |||
| // }, | |||
| // { | |||
| // "type":"click", | |||
| // "name":"融入澳洲社区", | |||
| // "key": "CAREERDEV_INDUSTRY" | |||
| // }, | |||
| // { | |||
| // "type":"click", | |||
| // "name":"OutReach Program", | |||
| // "key": "CAREERDEV_OUTREACH" | |||
| // }, | |||
| // { | |||
| // "type":"click", | |||
| // "name":"母校/国内纽带", | |||
| // "key": "CAREERDEV_HIT" | |||
| // }, | |||
| // { | |||
| // "type":"click", | |||
| // "name":"校友互助信息", | |||
| // "key":"CAREERDEV_HELP" | |||
| // }] | |||
| // } | |||
| //CreateCustomMenu bulid a menu for wechat windows | |||
| // 3 main manu max (< 4 mandarin words) | |||
| // 5 sub items max (< 7 mandarin words) | |||
| @@ -33,4 +33,33 @@ function closeWechatBrowser(){ | |||
| $(document).on("WeixinJSBridgeReady", function(){ | |||
| WeixinJSBridge.call('closeWindow'); | |||
| }); | |||
| } | |||
| } | |||
| $(function() { | |||
| console.log("ready"); | |||
| $('.datepicker').pickadate({ | |||
| format: 'mm/dd/yyyy', | |||
| selectMonths: true, // Creates a dropdown to control month | |||
| }); | |||
| $('.timepicker').pickatime({ | |||
| default: 'now', // Set default time | |||
| fromnow: 0, // set default time to * milliseconds from now (using with default = 'now') | |||
| twelvehour: false, // Use AM/PM or 24-hour format | |||
| donetext: 'OK', // text for done-button | |||
| cleartext: 'Clear', // text for clear-button | |||
| canceltext: 'Cancel', // Text for cancel-button | |||
| autoclose: false, // automatic close timepicker | |||
| ampmclickable: true, // make AM PM clickable | |||
| aftershow: function(){} //Function for after opening timepicker | |||
| }); | |||
| }); | |||
| $("form").submit(function(event){ | |||
| if ( $(this).find("input.Iagree").is(":checked") == false) { | |||
| alert("发起活动之前,请选择同意主办方须知"); | |||
| event.preventDefault(); | |||
| } | |||
| }); | |||
| @@ -0,0 +1,21 @@ | |||
| The MIT License (MIT) | |||
| Copyright (c) 2014-2017 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. | |||
| @@ -0,0 +1,43 @@ | |||
|  | |||
| =========== | |||
| [](https://travis-ci.org/Dogfalo/materialize) | |||
| [](https://badge.fury.io/js/materialize-css) | |||
| [](https://david-dm.org/Dogfalo/materialize) | |||
| [](https://david-dm.org/Dogfalo/materialize#info=devDependencies) | |||
| [](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.99.0 | |||
| ## Sass Requirements: | |||
| - Ruby Sass 3.3+, LibSass 0.6+ | |||
| ## Supported Browsers: | |||
| Chrome 35+, Firefox 31+, Safari 7+, IE 10+ | |||
| ## Quickstart: | |||
| Read the [Getting started page](http://materializecss.com/getting-started.html) for more information about the framework, templates and how to use materialize can be found on the [materializecss website](http://materializecss.com) | |||
| - [Download the latest release](https://github.com/Dogfalo/materialize/releases/latest) directly from GitHub | |||
| - Clone the repo: `git clone https://github.com/Dogfalo/materialize.git` | |||
| - Include the files via [cdnjs](https://cdnjs.com/libraries/materialize). More [here](http://materializecss.com/getting-started.html) | |||
| - Install with [npm](https://www.npmjs.com): `npm install materialize-css` | |||
| - Install with [Bower](https://bower.io): `bower install materialize` | |||
| ## Compiling Files | |||
| - `npm install` | |||
| - `grunt monitor`, this will compile .scss, .js., .jade files. | |||
| ## Changelog | |||
| For changelogs, check out [the Releases section of materialize](https://github.com/Dogfalo/materialize/releases) or the [CHANGELOG.md](CHANGELOG.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) | |||
| ## Contributing | |||
| [Please read CONTRIBUTING.md for more information](CONTRIBUTING.md) | |||
| ## Translation | |||
| If you want to help us translate the documentation into other languages, please send us an email at materializeframework@gmail.com telling us which language team you want to join. We use [Transifex](https://www.transifex.com) as our localization platform and we will send you an invite there. | |||
| @@ -13,6 +13,7 @@ | |||
| <title>发起新活动</title> | |||
| <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |||
| <!-- Materialize core CSS --> | |||
| <link href="materialize.0.97.5/css/materialize.css" rel="stylesheet"> | |||
| <link href="materialize/css/materialize.css" rel="stylesheet"> | |||
| <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> | |||
| <!--[if lt IE 9]> | |||
| @@ -23,9 +24,9 @@ | |||
| </head> | |||
| <body> | |||
| <div class="row valign center"> | |||
| <h3 class="flow-text truncate accent-1 waves-effect">校友会活动信息</h3> | |||
| <h3 class="flow-text truncate accent-1 waves-effect">发起校友会活动</h3> | |||
| </div> | |||
| <form method="post" enctype="multipart/form-data"> | |||
| <form method="post" enctype="multipart/form-data" action="http://192.168.1.39:65500/dumprequest" class="Iagree"> | |||
| <div class="row"> | |||
| <div class="input-field col s12"> | |||
| <i class="mdi-action-loyalty small prefix"></i> | |||
| @@ -36,7 +37,7 @@ | |||
| <div class="row"> | |||
| <div class="input-field col s12"> | |||
| <i class="mdi-action-list small prefix"></i> | |||
| <textarea id="description" class="materialize-textarea"></textarea> | |||
| <textarea id="description" name="description" class="materialize-textarea"></textarea> | |||
| <label for="description"> | |||
| 活动描述 200字左右 | |||
| </label> | |||
| @@ -46,7 +47,7 @@ | |||
| <div class="col s12 "> | |||
| <div class="file-field input-field"> | |||
| <div class="btn"> | |||
| <span>封面图片</span> | |||
| <span>封面图片(选填)</span> | |||
| <input type="file" class="uploadimg" id="cover" name="cover" prev> | |||
| </div> | |||
| <div class="file-path-wrapper"> | |||
| @@ -63,8 +64,62 @@ | |||
| </div> | |||
| <div class="row"> | |||
| </div> | |||
| <input type="submit" class="btn waves-effect waves-light orange fullwidth" value="发起活动"> | |||
| <div class="row"> | |||
| <div class="input-field col s12 m6"> | |||
| <i class="small prefix mdi-action-today"></i> | |||
| <input name="startdate" id="startdate" type="text" class="datepicker"> | |||
| <label for="startdate"> 活动日期 </label> | |||
| </div> | |||
| <div class="input-field col s6 m3"> | |||
| <i class="small prefix mdi-action-query-builder"></i> | |||
| <input name="starthour" id="starthour" type="text" class="timepicker"> | |||
| <label for="starthour"> 开始时间(23:59) </label> | |||
| </div> | |||
| <div class="input-field col s6 m3"> | |||
| <i class="small prefix mdi-av-timer"></i> | |||
| <input name="duration" id="duration" type="text" class="timepicker"> | |||
| <label for="duration"> 持续时间(01:30) </label> | |||
| </div> | |||
| </div> | |||
| <div class="row"> | |||
| <div class="input-field col s12"> | |||
| <i class="small prefix mdi-maps-place"></i> | |||
| <input name="venue" id="venue" type="text" class="validate"> | |||
| <label for="venue"> 举办地点/场所 </label> | |||
| </div> | |||
| <div class="col s12 m12 l12"> | |||
| <b>主办方须知</b> | |||
| <p>活动内容将上报校友会组站机构,审核通过后。校友会全体在册人员将收到你的活动邀请,自行选择参加或拒绝。</p> | |||
| <p>主办者将收到具体的人数更新,以及本次活动签到用的二维码。</p> | |||
| <p>所有当天参加活动的校友,通过公众号扫码即可签到</p> | |||
| <p class="valign right"></p> | |||
| </div> | |||
| </div> | |||
| <div class="row"> | |||
| <div class="col s6 "> | |||
| <div class="switch"> | |||
| <label> | |||
| <input type="checkbox" class="Iagree" name="agree"> | |||
| <span class="lever"></span>我同意 | |||
| </label> | |||
| </div> | |||
| </div> | |||
| <div class="col s6"> | |||
| <input type="submit" class="btn waves-effect waves-light orange fullwidth" value="发起活动"> | |||
| </div> | |||
| </div> | |||
| </form> | |||
| <footer class="page-footer white"> | |||
| <div class="container"> | |||
| <div class="row footerfill"> | |||
| </div> | |||
| </div> | |||
| <div class="footer-copyright"> | |||
| <div class="container">© 2010-2017 Copyright Biukop | |||
| <a class="grey-text text-lighten-4 right" href="#!"></a> | |||
| </div> | |||
| </div> | |||
| </footer> | |||
| <!-- Materialize core JavaScript --> | |||
| <!-- Placed at the end of the document so the pages load faster --> | |||
| <script src="assets/js/jquery.min.js"></script> | |||
| @@ -1 +1 @@ | |||
| {"files":{"edit.html":{"frameworks":["spa","pg.insight.events","pg.code-validator","pg.asset.manager","pg.project.items","mat0.97.5","pg.html","pg.components"],"last_page_width":896},"404.html":{"frameworks":["spa","pg.insight.events","pg.code-validator","pg.asset.manager","pg.project.items","mat0.97.5","pg.html","pg.components"],"last_page_width":1024},"livecast.html":{"frameworks":["spa","pg.insight.events","pg.code-validator","pg.project.items","pg.asset.manager","mat0.97.5","pg.html","pg.components"],"last_page_width":1024},"newEvents.html":{"frameworks":["spa","pg.insight.events","pg.code-validator","pg.project.items","pg.asset.manager","mat0.97.5","pg.html","pg.components"],"last_page_width":1024},"newevent.html":{"frameworks":["spa","userlib7784","pg.insight.events","pg.code-validator","pg.asset.manager","pg.project.items","mat0.97.5","pg.html","pg.components"],"last_page_width":1024}},"breakpoints":["28.875em","33.875em","35.875em","38.875em","40.125em","46.75em","360px","390px","420px","450px","480px","510px","540px","570px","601px","630px","660px","690px","720px","750px","780px","810px","840px","870px","900px","930px","960px","993px","1200px"],"frameworks":["spa","userlib7784","pg.insight.events","pg.code-validator","pg.asset.manager","pg.project.items","mat0.97.5","pg.html","pg.components"],"template_framework_id":"materialize"} | |||
| {"files":{"edit.html":{"frameworks":["spa","pg.insight.events","pg.code-validator","pg.asset.manager","pg.project.items","mat0.97.5","pg.html","pg.components"],"last_page_width":896},"404.html":{"frameworks":["spa","pg.insight.events","pg.code-validator","pg.asset.manager","pg.project.items","mat0.97.5","pg.html","pg.components"],"last_page_width":1024},"livecast.html":{"frameworks":["spa","pg.insight.events","pg.code-validator","pg.project.items","pg.asset.manager","mat0.97.5","pg.html","pg.components"],"last_page_width":1024},"newEvents.html":{"frameworks":["spa","pg.insight.events","pg.code-validator","pg.project.items","pg.asset.manager","mat0.97.5","pg.html","pg.components"],"last_page_width":1024},"newevent.html":{"frameworks":["spa","pg.insight.events","pg.asset.manager","pg.code-validator","pg.project.items","mat0.97.5","pg.html","pg.components"],"last_page_width":1024}},"breakpoints":["28.875em","33.875em","35.875em","38.875em","40.125em","46.75em","360px","390px","420px","450px","480px","510px","540px","570px","601px","630px","660px","690px","720px","750px","780px","810px","840px","870px","900px","930px","960px","993px","1200px"],"frameworks":["spa","pg.insight.events","pg.asset.manager","pg.code-validator","pg.project.items","mat0.97.5","pg.html","pg.components"],"template_framework_id":"materialize"} | |||