Przeglądaj źródła

proper meeting data using template of go

master
Patrick Peng Sun 8 lat temu
rodzic
commit
a08d350740
4 zmienionych plików z 10 dodań i 10 usunięć
  1. BIN
      spa/assets/img/meetingdefault.jpg
  2. +2
    -2
      spa/assets/js/spa.js
  3. +7
    -7
      spa/editmeeting.html
  4. +1
    -1
      spa/pinegrow.json

BIN
spa/assets/img/meetingdefault.jpg Wyświetl plik

Before After
Width: 800  |  Height: 400  |  Size: 50KB

+ 2
- 2
spa/assets/js/spa.js Wyświetl plik

$(document).ready(function() { $(document).ready(function() {
$('.datepicker').pickadate({ $('.datepicker').pickadate({
format: 'mm/dd/yyyy',
selectMonths: true, // Creates a dropdown to control month
format: 'mm/dd/yyyy',
selectMonths: true, // Creates a dropdown to control month
}); });


$('.timepicker').pickatime({ $('.timepicker').pickatime({

+ 7
- 7
spa/editmeeting.html Wyświetl plik

<div class="row valign center"> <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> </div>
<form method="post" enctype="multipart/form-data" action="http://192.168.1.39:65500/dumprequest" class="Iagree">
<form method="post" enctype="multipart/form-data" class="Iagree">
<div class="row"> <div class="row">
<div class="input-field col s12"> <div class="input-field col s12">
<i class="mdi-action-loyalty small prefix"></i> <i class="mdi-action-loyalty small prefix"></i>
</div> </div>
</div> </div>
<div class="col s12 valign center"> <div class="col s12 valign center">
<div class="previewrapper hide">
<img id="preview" class="uploadpreview" src="data:image/jpeg;base64," alt="" />
<div class="previewrapper">
<img id="preview" class="uploadpreview" src="{{.CoverCacheURL}}" alt="" />
<img src="assets/img/close512x512.png" class="removepreview" height="48" width="48" /> <img src="assets/img/close512x512.png" class="removepreview" height="48" width="48" />
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="input-field col s12 m6"> <div class="input-field col s12 m6">
<i class="small prefix mdi-action-today"></i> <i class="small prefix mdi-action-today"></i>
<input name="startdate" id="startdate" type="text" class="datepicker">
<input name="startdate" id="startdate" type="text" class="datepicker" value="{{.StartDate}}">
<label for="startdate"> 活动日期 </label> <label for="startdate"> 活动日期 </label>
</div> </div>
<div class="input-field col s6 m3"> <div class="input-field col s6 m3">
<i class="small prefix mdi-action-query-builder"></i> <i class="small prefix mdi-action-query-builder"></i>
<input name="starthour" id="starthour" type="text" class="timepicker" value="10:30">
<input name="starthour" id="starthour" type="text" class="timepicker" value="{{.StartHour}}">
<label for="starthour"> 开始时间(23:59) </label> <label for="starthour"> 开始时间(23:59) </label>
</div> </div>
<div class="input-field col s6 m3"> <div class="input-field col s6 m3">
<i class="small prefix mdi-av-timer"></i> <i class="small prefix mdi-av-timer"></i>
<input name="duration" id="duration" type="text" class="timepicker" value="01:30">
<input name="duration" id="duration" type="text" class="timepicker" value="{{.DurationHour}}">
<label for="duration"> 持续时间(01:30) </label> <label for="duration"> 持续时间(01:30) </label>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="input-field col s12"> <div class="input-field col s12">
<i class="small prefix mdi-maps-place"></i> <i class="small prefix mdi-maps-place"></i>
<input name="venue" id="venue" type="text" class="validate">
<input name="venue" id="venue" type="text" class="validate" value="{{.Venue}}">
<label for="venue"> 举办地点/场所 </label> <label for="venue"> 举办地点/场所 </label>
</div> </div>
<div class="col s12 m12 l12"> <div class="col s12 m12 l12">

+ 1
- 1
spa/pinegrow.json Wyświetl plik

{"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},"editmeeting.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"}
{"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},"editmeeting.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},"403.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},"400.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},"500.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}},"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"}

Ładowanie…
Anuluj
Zapisz