resourceContentManage.html 2.73 KB
<div class="pageheader">
    <div class="media">
        <div class="pageicon pull-left">
            <i class="fa fa-th-list"></i>
        </div>
        <div class="media-body">
            <ul class="breadcrumb">
                <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
                <li><a href="/resource/index/index">资源管理</a></li>
                <li>资源内容管理</li>
            </ul>

            <div>
                <div style="width: 30%;float: left;">
                    <h4>资源内容管理</h4>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="contentpanel" id="content-list">

</div>

<script type="text/template" id="content-template">
    <div id="base-form">
        <div class="source-content" id="source-m">
            <!-- left -->
            <div class="content-left" id="contentLeft">
                <h4 class="title" data-type="title" style="text-align: center">[[resource.name]]</h4>
                <ul class="add-box showContain ui-sortable" id="add-content">
                </ul>
                <nav>
                    <em><i></i></em>
                    <ul class="contents">

                    </ul>
                    <input type="button" name="sub-btn" value="保存" style="float: right; margin:10px;">
                </nav>
            </div>
            <input type="hidden" name="r_id" value="630">
        </div>
    </div>
</script>

<script type="text/template" id="text-template">
    <div id="text-baseFrom">
        <textarea id="myArea" style="width: 100%;max-width: 100%;height: 200px;max-height: 500px; border: 1px solid #000;">[[data.text]]</textarea>
    </div>
</script>

<script type="text/template" id="singleImage-template">
    <div id="singleImage-baseFrom">

    </div>
</script>

<script type="text/template" id="titleImage-template">
    <div class="panel-body" id="titleImage-baseFrom">
        <div class="form-group">
            <label class="col-sm-3 control-label">标题:</label>
            <div class="col-sm-9">
                <input type="hidden" value="[[platformId]]", id="platformId" />
                <input type="text" name="platform_name" class="form-control" value="[[platformName]]" id="platformName" placeholder="请填写平台名称" required="required">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">更多名称</label>
            <div class="col-sm-9">
                <input type="text" name="platform_flag" value="[[platformFlag]]" id="platformFlag" class="form-control">
            </div>
        </div>

        <div class="form-group">
        </div><!-- form-group -->
        <input type="file" src="[[content]]" />
    </div>
</script>